VOID
NdisRetrieveUlong(
IN PULONG DestinationAddress,
IN PULONG SourceAddress
);
NdisRetrieveUlong retrieves a ULONG value from the source address, avoiding alignment faults.
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.