Previous Next

RtlRetrieveUlong

The RtlRetrieveUlong routine retrieves a ULONG value from the source address, avoiding alignment faults. The destination address is assumed to be aligned.

VOID 
  RtlRetrieveUlong(
    IN OUT PULONG  DestinationAddress,
    IN PULONG  SourceAddress
    );

Parameters

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

Return Value

None

Headers

Declared in wdm.h and ntddk.h. Include wdm.h or ntddk.h.

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