Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
NdisReadRegisterUlong is called by the miniport driver to read a ULONG from a memory-mapped device register.
Syntax
void NdisReadRegisterUlong(
[in] Register,
[out] Data
);
Parameters
[in] Register
Pointer to the memory-mapped register. This virtual address must fall within a range returned by an initialization-time call to NdisMMapIoSpace.
[out] Data
Pointer to the caller-supplied variable in which this function returns the ULONG read from Register .
Return value
None
Remarks
If a driver calls this function, a NIC's device registers must be mapped to noncached memory during driver initialization.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Supported for NDIS 6.0 and NDIS 5.1 drivers (see NdisReadRegisterUlong (NDIS 5.1)) in Windows Vista. Supported for NDIS 5.1 drivers (see NdisReadRegisterUlong (NDIS 5.1)) in Windows XP. |
Target Platform | Universal |
Header | ndis.h (include Ndis.h) |
IRQL | Any level |