ReadRaw - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

LONG ReadRaw(
  LONG const volatile *Source
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-readraw~r1)

Description

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

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.

See also

WriteRaw