The NdisRetrieveUlong function retrieves a ULONG value from the source address, avoiding alignment faults.
void NdisRetrieveUlong( Destination, Source );
A pointer to a ULONG-aligned memory location in which to store the value.
A pointer to a memory location from which to retrieve the ULONG value.
The given DestinationAddress is assumed to be aligned on a ULONG boundary.
Callers of NdisRetrieveUlong can be running at any IRQL if the given addresses are in nonpaged pool. Otherwise, callers must be running at IRQL < DISPATCH_LEVEL.
|Minimum supported client||Supported for existing drivers in NDIS 6.0 and later, but new drivers should use RtlRetrieveUlong instead.|
|Header||ndis.h (include Ndis.h)|
|IRQL||See Remarks section|