NdisReadPortBufferUlong

VOID
    NdisReadPortBufferUlong(
        IN NDIS_HANDLE NdisAdapterHandle,
        IN ULONG Port,
        OUT PULONG Buffer,
        IN ULONG Length
        );

NdisReadPortBufferUlong is called by the NIC driver to read a specified number of ULONGs from its NIC into a buffer.

Parameters

NdisAdapterHandle
Specifies the handle that the NDIS interface library associates with the network interface card.
Port
Specifies the I/O port.
Buffer
Points to the caller-supplied buffer in which this function writes the ULONG values read from Port.
Length
Specifies the number of pieces of data to read from Port to Buffer.

Comments

NdisReadPortBufferUlong reads sequentially each ULONG from the port. It determines how the host accesses the I/O port and processes the read request accordingly.

Callers of NdisReadPortBufferUlong can be running at any IRQL.

See Also

NdisRawReadPortBufferUlong, NdisReadPortUlong, NdisWritePortBufferUlong