NdisWriteRegisterUshort (Windows CE 5.0)

Send Feedback

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

VOID NdisWriteRegisterUshort(PUSHORTRegister,USHORTData);

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 Values

None.

Remarks

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

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.

See Also

NdisMMapIoSpace | NdisReadRegisterUshort | NdisWriteRegisterUchar | NdisWriteRegisterUlong

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.