NdisWriteRegisterUshort (Compact 2013)

3/26/2014

The network adapter driver calls NdisWriteRegisterUshort to write a USHORT to a memory-mapped device register.

Syntax

VOID NdisWriteRegisterUshort(
  PUSHORT Register,
  USHORT 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 USHORT 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
NdisReadRegisterUshort
NdisWriteRegisterUchar
NdisWriteRegisterUlong