Previous Next

NdisRawReadPortBufferUlong

NdisRawReadPortBufferUlong reads a specified number of ULONGs into a caller-supplied buffer.

VOID
  NdisRawReadPortBufferUlong(
    IN ULONG_PTR  Port,
    OUT PULONG  Buffer,
    IN ULONG  Length
    );

Parameters

Port
Specifies the I/O port. This address falls in a range that was mapped during initialization with NdisMRegisterIoPortRange.
Buffer
Pointer to a caller-allocated buffer, in resident memory, into which the ULONGs will be transferred from the NIC. The caller must allocate a buffer at least (sizeof(ULONG) * Length).
Length
Specifies how many ULONGs to transfer from the NIC.

Headers

Declared in Ndis.h. Include Ndis.h.

Comments

NdisRawReadPortBufferUlong reads each ULONG value, one at a time, from the given I/O port into the given buffer.

Callers of NdisRawReadPortBufferUlong can run at any IRQL.

See Also

MiniportInitialize, NdisMRegisterIoPortRange, NdisRawReadPortBufferUchar, NdisRawReadPortBufferUshort, NdisRawReadPortUlong, NdisRawWritePortBufferUlong