VOID
RtlRetrieveUlong(
IN PULONG DestinationAddress,
IN PULONG SourceAddress
);
RtlRetrieveUlong retrieves a ULONG value from the source address, avoiding alignment faults. The destination address is assumed to be aligned.
Callers of RtlRetrieveUlong can be running at any IRQL if the given addresses are in nonpaged pool. Otherwise, the caller must be running at IRQL < DISPATCH_LEVEL.