Share via


NdisRawReadPortBufferUchar (Windows Embedded CE 6.0)

1/6/2010

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 NIC's port. The caller must allocate a buffer at least sizeof(Length).
  • Length
    [in] Specifies how many bytes to transfer from the NIC.

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
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NDIS Library Functions
NdisMRegisterIoPortRange
NdisRawReadPortBufferUlong
NdisRawReadPortBufferUshort
NdisRawReadPortUchar
NdisRawWritePortBufferUchar