NdisRawReadPortUlong

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

At a Glance

Header file: Ndis.h
Windows CE versions: 2.0 and later

Syntax

VOID NdisRawReadPortUlong( IN ULONG Port, OUT PULONG Data );

Parameters

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

Remarks

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

A driver that calls this function can run at any IRQL.

See Also

NdisMRegisterIoPortRange, NdisRawREadPortBufferUlong, NdisRawReadPortUchar, NdisRawReadPortUshort, NdisRawWritePortUlong