Bagikan melalui


NdisReadPortUlong (NDIS 5.1) function

Note   NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.

NdisReadPortUlong is called by the NIC driver to read a ULONG from its NIC's I/O port.

Syntax

VOID NdisReadPortUlong(
  _In_  NDIS_HANDLE NdisAdapterHandle,
  _In_  ULONG       Port,
  _Out_ PULONG      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]
    Pointer to the caller-supplied variable in which this function returns the ULONG read from Port.

Return value

None

Requirements

Target platform

Desktop

Version

See NdisReadPortUlong.

Header

Ndis.h (include Ndis.h)

IRQL

Any level

See also

NdisRawReadPortUlong

NdisReadPortBufferUlong

NdisWritePortUlong

 

 

Send comments about this topic to Microsoft