RtlStoreUlongPtr macro (wdm.h)
The RtlStoreUlongPtr macro stores a specified ULONG_PTR value at a specified memory location, avoiding memory alignment faults.
Syntax
void RtlStoreUlongPtr(
[out] ADDRESS,
[in] VALUE
);
Parameters
[out] ADDRESS
A pointer to a location in which to store the ULONG_PTR value.
[in] VALUE
Specifies the ULONG_PTR value to be stored.
Return value
None
Remarks
RtlStoreUlongPtr avoids memory alignment faults. If the value of Address is not aligned to the storage requirements of a ULONG_PTR, RtlStoreUlongPtr stores the bytes of Value beginning at the memory location (PUCHAR)Address.
RtlStoreUlongPtr runs at any IRQL if Address points to nonpaged pool; otherwise it must run at IRQL <= APC_LEVEL.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 |
Header | wdm.h |
IRQL | Any level (see Remarks) |