From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Platform:Windows" |
|---|
| claim | "WdfDriverGlobals, the first argument of every framework call in a KMDF driver" |
|---|
| scope | | level | "platform" |
|---|
| applies_to | "Platform:Windows/Kernel drivers" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "WDF_DRIVER_GLOBALS" |
|---|
| abi | "win64" |
|---|
| size | "0x38" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 8 |
|---|
| type | "void *" |
|---|
| name | "Driver" |
|---|
| notes | "WDFDRIVER handle" |
|---|
|
| offset | "0x8" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "DriverFlags" |
|---|
|
| offset | "0xC" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "DriverTag" |
|---|
|
| offset | "0x10" |
|---|
| size | 32 |
|---|
| type | "char[32]" |
|---|
| name | "DriverName" |
|---|
| notes | "short ASCII name of the driver" |
|---|
|
| offset | "0x30" |
|---|
| size | 1 |
|---|
| type | "uint8_t" |
|---|
| name | "DisplaceDriverUnload" |
|---|
| notes | "nonzero: the stub inserts itself first in DriverUnload" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "WDF_DRIVER_GLOBALS declaration" |
|---|
| repo | "https://github.com/microsoft/Windows-Driver-Frameworks" |
|---|
| commit | "b6191d9543441329154da32f7ab9bdd97228dd3c" |
|---|
| path | "src/publicinc/wdf/kmdf/1.33/wdfglobals.h" |
|---|
| lines | "53-72" |
|---|
|
|
|---|
| confidence | "medium" |
|---|
| related | |
|---|
| key | "WDF_DRIVER_GLOBALS x64" |
|---|
| topic | "Platform:Windows/Kernel drivers" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T13:47:23.873Z" |
|---|
| verifications | |
|---|