共用方式為


NdisWriteRegisterUchar (Compact 2013)

3/26/2014

The network adapter driver calls this function to write a UCHAR to a memory-mapped device register.

Syntax

VOID NdisWriteRegisterUchar(
  PUCHAR Register,
  UCHAR 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 UCHAR that this function transfers to the 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
NdisWriteRegisterUlong
NdisWriteRegisterUshort