NdisRawReadPortBufferUchar macro

NdisRawReadPortBufferUchar reads a specified number of bytes into a caller-supplied buffer.

Syntax

void NdisRawReadPortBufferUchar(
   Port,
   Buffer,
   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 bytes will be transferred from the NIC's port. The caller must allocate a buffer at least sizeof( Length ).

Length

Specifies how many bytes to transfer from the NIC.

Return Value

None

Remarks

NdisRawReadPortBufferUchar reads each byte, one at a time, from the given I/O port into the given buffer.

Requirements

   
Windows version Supported for NDIS 6.0 and NDIS 5.1 drivers (see NdisRawReadPortBufferUchar (NDIS 5.1)) in Windows Vista. Supported for NDIS 5.1 drivers (see NdisRawReadPortBufferUchar (NDIS 5.1)) in Windows XP.
Target Platform Universal
Header ndis.h (include Ndis.h)
IRQL Any level

See Also

MiniportInitializeEx

NdisMRegisterIoPortRange

NdisRawReadPortBufferUlong

NdisRawReadPortBufferUshort

NdisRawReadPortUchar

NdisRawWritePortBufferUchar