Partager via


NdisRawReadPortBufferUchar (Compact 2013)

3/26/2014

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

Syntax

VOID NdisRawReadPortBufferUchar(
    ULONG Port,
  PUCHAR Buffer,
  ULONG Length
);

Parameters

  • Port
    [in] Specifies the I/O port. This address falls in a range that was mapped during initialization with the NdisMRegisterIoPortRange function.
  • Buffer
    [out] Pointer to a caller-allocated buffer, in resident memory, into which the bytes are transferred from the network adapter's port. The caller must allocate a buffer at least sizeof(Length).
  • Length
    [in] Specifies how many bytes to transfer from the network adapter.

Return Value

None.

Remarks

This function reads each byte, one at a time, from the specified I/O port into the specified buffer.

Requirements

Header

ndis.h

See Also

Reference

NDIS I/O Port Raw Interface
MiniportInitializeEx
NdisMRegisterIoPortRange
NdisMRegisterIoPortRange
NdisRawReadPortBufferUlong
NdisRawReadPortBufferUshort
NdisRawReadPortUchar
NdisRawWritePortBufferUchar