BYTE_OFFSET macro (wdm.h)

The BYTE_OFFSET macro takes a virtual address and returns the byte offset of that address within the page.

Syntax

void BYTE_OFFSET(
  [in]  Va
);

Parameters

[in] Va

Pointer to the virtual address.

Return value

None

Remarks

BYTE_OFFSET returns the offset portion of the virtual address.

Requirements

Requirement Value
Minimum supported client Windows 2000
Header wdm.h
IRQL Any level