次の方法で共有


NdisWriteRegisterUlong (Windows Embedded CE 6.0)

1/6/2010

The NIC driver calls NdisWriteRegisterUlong to write a ULONG to a memory-mapped device register.

Syntax

VOID NdisWriteRegisterUlong(
  PULONG Register,
  ULONG Data
);

Parameters

  • Register
    [in] Points to the memory-mapped register. This virtual address must fall within a range returned by an initialization-time call to NdisMMapIoSpace.
  • Data
    [in] Specifies the caller-supplied ULONG that this function transfers to the Register.

Return Value

None.

Remarks

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

Requirements

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

See Also

Reference

NDIS Library Functions
NdisMMapIoSpace
NdisReadRegisterUlong
NdisWriteRegisterUchar
NdisWriteRegisterUshort