Edit

Share via


ReadRaw

ReadRaw performs a raw read operation on a volatile LONG value without any memory ordering semantics.

Syntax

LONG ReadRaw(
  LONG const volatile *Source
);

Parameters

Source

[in] A pointer to a volatile LONG value to read from.

Return value

Returns the LONG value read from the specified memory location.

Remarks

The ReadRaw function executes a plain read from memory without providing any ordering, fencing, or atomicity guarantees. Use this function only when you knowingly manage synchronization elsewhere or when interacting with hardware where the raw access is required.

Requirements

Requirement Value
Header wdm.h
IRQL Any level

See also

WriteRaw