Edit

Share via


ReadRaw16

ReadRaw16 performs a raw read operation on a volatile SHORT value without any memory ordering or atomicity semantics.

Syntax

SHORT ReadRaw16(
  SHORT const volatile *Source
);

Parameters

Source

[in] A pointer to the volatile SHORT variable to read from.

Return value

Returns the SHORT value read from the specified memory ___location.

Remarks

The ReadRaw16 function performs a raw memory read operation on a 16-bit value without compiler optimization barriers or synchronization guarantees. It's useful on strongly-ordered architectures where precise control over memory access is required.

Requirements

Requirement Value
Header wdm.h
IRQL Any level

See also

WriteRaw16

ReadRaw