Partager via


NdisReadPortUshort (Windows Embedded CE 6.0)

1/6/2010

The NIC driver calls this function to read a USHORT from its NIC's I/O port.

Syntax

VOID NdisReadPortUshort(
  NDIS_HANDLE NdisAdapterHandle,
  ULONG Port,
  PUSHORT Data 
);

Parameters

  • NdisAdapterHandle
    [in] Specifies the handle that the NDIS interface library associates with the network interface card.
  • Port
    [in] Specifies the I/O port.
  • Data
    [out] Points to the caller-supplied variable in which this function returns the USHORT read from Port.

Return Value

Returns the USHORT value read from Port.

Requirements

Header ndis.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NDIS Library Functions
NdisRawReadPortUshort
NdisWritePortUshort