NdisRawWritePortUshort (Compact 2013)

3/26/2014

This function writes a USHORT value to an I/O port on the network adapter.

Syntax

VOID NdisRawWritePortUshort(
    ULONG Port,
  USHORT Data
);

Parameters

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

Return Value

None.

Remarks

NdisRawWritePortUshort runs fast because it do not have to map a bus-relative I/O port address onto a host-dependent logical port address at every call.

Requirements

Header

ndis.h

See Also

Reference

NDIS I/O Port Raw Interface
MiniportInitializeEx
NdisMRegisterIoPortRange
NdisRawReadPortUshort
NdisRawWritePortBufferUshort
NdisRawWritePortUchar
NdisRawWritePortUlong