NdisReadPortBufferUchar

VOID
NdisReadPortBufferUchar(
IN NDIS_HANDLE NdisAdapterHandle,
IN ULONG Port,
OUT PUCHAR Buffer,
IN ULONG Length
);

NdisReadPortBufferUchar is called by the NIC driver to read a specified number of UCHARs 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 UCHAR values read from Port.

Length

Specifies the number of pieces of data to read from Port to Buffer.

Comments

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

Callers of NdisReadPortBufferUchar can be running at any IRQL.

See Also

NdisRawReadPortBufferUchar, NdisReadPortUchar, NdisWritePortBufferUchar