Partager via


NdisRawReadPortUlong (Compact 2013)

3/26/2014

This function reads a ULONG value from a given I/O port on the network adapter.

Syntax

VOID NdisRawReadPortUlong(
    ULONG Port,
  PULONG 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
    [out] Pointer to a caller-supplied variable in which this function returns a ULONG value that is read in from the port.

Return Value

None.

Remarks

NdisRawReadPortUlong 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
NdisRawReadPortBufferUlong
NdisRawReadPortUchar
NdisRawReadPortUshort
NdisRawWritePortUlong