Freigeben über


NdisReadPortBufferUchar (Compact 2013)

3/26/2014

This function is called by the miniport driver to read a specified number of UCHARs from a network adapter into a buffer.

Syntax

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

Parameters

  • NdisAdapterHandle
    Specifies the handle that the NDIS interface library associates with the network interface card.
  • Port
    Specifies the I/O port.
  • Buffer
    Pointer 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.

Return Value

None

Remarks

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

Requirements

Header

ndis.h

Library

ndis.dll

See Also

Reference

NDIS I/O Port Interface
NdisRawReadPortBufferUchar
NdisReadPortUchar
NdisWritePortBufferUchar