RtlRetrieveUlong

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.

Parameters

DestinationAddress
Points to a ULONG-aligned location in which to store the ULONG value.
SourceAddress
Points to a location from which to retrieve the ULONG value.

Comments

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.

See Also

RtlStoreUlong