Previous Next

NdisRawWritePortUshort

NdisRawWritePortUshort writes a USHORT value to an I/O port on the NIC.

VOID
  NdisRawWritePortUshort(
    IN ULONG_PTR  Port,
    IN USHORT  Data
    );

Parameters

Port
Specifies the I/O port. This address falls in a range that was mapped during initialization with NdisMRegisterIoPortRange.
Data
Specifies the USHORT to be written.

Headers

Declared in Ndis.h. Include Ndis.h.

Comments

NdisRawWritePortUshort runs faster than NdisImmediateWritePortUshort because it need not map a bus-relative I/O port address onto a host-dependent logical port address at every call.

Callers of NdisRawWritePortUshort can run at any IRQL.

See Also

MiniportInitialize, NdisMRegisterIoPortRange, NdisRawReadPortUshort, NdisRawWritePortBufferUshort, NdisRawWritePortUchar, NdisRawWritePortUlong