Previous Next

NdisRawReadPortBufferUchar

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

VOID
  NdisRawReadPortBufferUchar(
    IN ULONG_PTR  Port,
    OUT PUCHAR  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 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.

Headers

Declared in Ndis.h. Include Ndis.h.

Comments

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

Callers of NdisRawReadPortBufferUchar can run at any IRQL.

See Also

MiniportInitialize, NdisMRegisterIoPortRange, NdisRawReadPortBufferUlong, NdisRawReadPortBufferUshort, NdisRawReadPortUchar, NdisRawWritePortBufferUchar