次の方法で共有


NdisReadPortBufferUlong (Compact 2013)

3/26/2014

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

Syntax

VOID
  NdisReadPortBufferUlong(
    IN NDIS_HANDLE  NdisAdapterHandle,
    IN ULONG  Port,
    OUT PULONG  Buffer,
    IN ULONG  Length
    );

Parameters

  • NdisAdapterHandle
    Specifies the handle that the NDIS interface library associates with the network adapter.
  • Port
    Specifies the I/O port.
  • Buffer
    Pointer to the caller-supplied buffer in which this function writes the ULONG values that are read from Port.
  • Length
    Specifies the number of pieces of data to read from Port to Buffer.

Return Value

None

Remarks

NdisReadPortBufferUlong reads sequentially each ULONG 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
NdisRawReadPortBufferUlong
NdisReadPortUlong
NdisWritePortBufferUlong