Compartilhar via


NdisRawReadPortBufferUshort (Windows CE 5.0)

Send Feedback

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

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 Values

None.

Remarks

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

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.

See Also

NdisMRegisterIoPortRange | NdisRawReadPortBufferUchar | NdisRawReadPortBufferUlong | NdisRawReadPortUshort | NdisRawWritePortUshort

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.