NdisRawReadPortUlong

VOID
    NdisRawReadPortUlong(

        IN ULONG Port,
        OUT PULONG Data
        );

NdisRawReadPortUlong reads a ULONG value from a given I/O port on the NIC.

Parameters

Port
Specifies the I/O port. This address falls in a range that was mapped during initialization with NdisMRegisterIoPortRange.
Data
Points to a caller-supplied variable in which this function returns a ULONG value read in from the port.

Comments

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

Callers of NdisRawReadPortUlong can run at any IRQL.

See Also

MiniportInitialize, NdisMRegisterIoPortRange, NdisRawReadPortBufferUlong, NdisRawReadPortUchar, NdisRawReadPortUshort, NdisRawWritePortUlong