modKmOpaque module

Offsets of fields inside kernel structures that Windows keeps opaque.

An opaque structure, such as EPROCESS, has no documented layout: drivers receive a pointer to it and pass that pointer to the kernel’s routines, which read its fields. This module holds the offset of one field, Token, as the package’s author found it for several versions of Windows.

Constants

The Windows versions are those the package’s description of each constant gives. None is declared with a type, so each is an Integer.

Name Value Description
EPROCESS_TOKEN_OFFSET_10 &H0358 Windows 10, from its first release to version 1809.
EPROCESS_TOKEN_OFFSET_1903 &H0360 Windows 10 version 1903 only.
EPROCESS_TOKEN_OFFSET_1909 &H04B8 Windows 10 version 1909 to Windows 11 version 22H2, the last build its author checked.
EPROCESS_TOKEN_OFFSET_7 &H0208 64-bit Windows 7 only.
EPROCESS_TOKEN_OFFSET_7x86 &HF8 32-bit Windows 7 only.

See Also

  • modWDM module – the documented routines a driver calls
  • EPROCESS – Microsoft’s page on the opaque process structure