Expand Minimize

BYTE_OFFSET macro

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

Syntax


ULONG BYTE_OFFSET(
  [in]  PVOID Va
);

Parameters

Va [in]

Pointer to the virtual address.

Return value

BYTE_OFFSET returns the offset portion of the virtual address.

Requirements

Version

Available starting with Windows 2000.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

IRQL

Any level

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft