Export (0) Print
Expand All
Expand Minimize

RtlRetrieveUlong macro

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

Syntax


VOID RtlRetrieveUlong(
  [out] PULONG DestinationAddress,
  [in]  PULONG SourceAddress
);

Parameters

DestinationAddress [out]

Pointer to a ULONG-aligned location in which to store the ULONG value.

SourceAddress [in]

Pointer to a location from which to retrieve the ULONG value.

Return value

None

Remarks

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 <= APC_LEVEL.

Requirements

Target platform

Desktop

Version

Available in Windows 2000 and later versions of Windows.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

IRQL

See Remarks section.

See also

RtlStoreUlong

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft