다음을 통해 공유


NdisRawReadPortBufferUshort (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

VOID NdisRawReadPortBufferUshort(
  ULONG Port,
  PUSHORT 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 USHORTs are transferred from the NIC. The caller must allocate a buffer at least (sizeof(USHORT) * Length**)**.
  • Length
    [in] Specifies how many USHORTs to transfer from the NIC.

Return Value

None.

Remarks

This function reads each USHORT value, 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
NdisRawReadPortBufferUchar
NdisRawReadPortBufferUlong
NdisRawReadPortUshort
NdisRawWritePortUshort