RtlRetrieveUshort macro (wdm.h)
The RtlRetrieveUshort macro retrieves a USHORT value from the source address, avoiding alignment faults.
Syntax
void RtlRetrieveUshort(
[out] DEST_ADDRESS,
[in] SRC_ADDRESS
);
Parameters
[out] DEST_ADDRESS
Pointer to a USHORT-aligned location in which to store the value.
[in] SRC_ADDRESS
Pointer to a location from which to retrieve the value.
Return value
None
Remarks
Callers of RtlRetrieveUshort 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
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 |
Header | wdm.h |
IRQL | Any level (see Remarks) |