次の方法で共有


NdisReadRegisterUlong (Compact 2013)

3/26/2014

The network adapter driver calls this function to read a ULONG from a memory-mapped device register.

Syntax

VOID NdisReadRegisterUlong(
  PULONG Register,
  PULONG Data
);

Parameters

  • Register
    [in] Points to the memory-mapped register. This virtual address must fall in a range returned by an initialization-time call to NdisMMapIoSpace.
  • Data
    [out] Points to the caller-supplied variable in which this function returns the ULONG read from Register.

Return Value

None.

Remarks

If a driver calls this function, its network adapter's device registers must be mapped to non-cached memory during driver initialization.

Requirements

Header

ndis.h

See Also

Reference

NDIS Register Access Interface
MiniportInitializeEx
NdisMMapIoSpace
NdisReadRegisterUchar
NdisReadRegisterUshort
NdisWriteRegisterUlong