RtlStoreUshort macro (wdm.h)

The RtlStoreUshort macro stores a USHORT value at a particular address, avoiding alignment faults.

Syntax

void RtlStoreUshort(
  [out]  ADDRESS,
  [in]   VALUE
);

Parameters

[out] ADDRESS

A pointer to a location in which to store the specified USHORT value.

[in] VALUE

Specifies a USHORT value to be stored.

Return value

None

Remarks

The caller can be running at any IRQL if Address points to 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)