// ndis.h
void NdisRetrieveUlong(
Destination,
Source
);
View the official Windows Driver Kit DDI referenceNo description available.
The NdisRetrieveUlong function retrieves a ULONG value from the source address, avoiding alignment faults.
DestinationA pointer to a ULONG-aligned memory location in which to store the value.
SourceA 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.