Expand Minimize

RtlRetrieveUshort macro

The RtlRetrieveUshort macro retrieves a USHORT value from the source address, avoiding alignment faults.

Syntax


VOID RtlRetrieveUshort(
  [out] PUSHORT DestinationAddress,
  [in]  PUSHORT SourceAddress
);

Parameters

DestinationAddress [out]

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

SourceAddress [in]

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

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

Any level (See Remarks section)

See also

RtlStoreUshort

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft