NdisReadRegisterUshort (Windows Embedded CE 6.0)
1/6/2010
The NIC driver calls this function to read a USHORT from a memory-mapped device register.
Syntax
VOID NdisReadRegisterUshort(
PUSHORT Register,
PUSHORT 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
[out] Points to the caller-supplied variable in which this function returns the USHORT read from 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
NdisReadRegisterUchar
NdisReadRegisterUlong
NdisWriteRegisterUshort