From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Platform:Windows" |
|---|
| claim | "DRIVER_OBJECT on 32-bit x86: DriverUnload at +0x34 and the MajorFunction array at +0x38" |
|---|
| scope | | level | "platform" |
|---|
| applies_to | "Platform:Windows/Kernel drivers" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "DRIVER_OBJECT" |
|---|
| abi | "ilp32" |
|---|
| size | "0xA8" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 2 |
|---|
| type | "int16_t" |
|---|
| name | "Type" |
|---|
|
| offset | "0x2" |
|---|
| size | 2 |
|---|
| type | "int16_t" |
|---|
| name | "Size" |
|---|
|
| offset | "0x4" |
|---|
| size | 4 |
|---|
| type | "DEVICE_OBJECT *" |
|---|
| name | "DeviceObject" |
|---|
|
| offset | "0x8" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "Flags" |
|---|
|
| offset | "0xC" |
|---|
| size | 4 |
|---|
| type | "void *" |
|---|
| name | "DriverStart" |
|---|
|
| offset | "0x10" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "DriverSize" |
|---|
|
| offset | "0x14" |
|---|
| size | 4 |
|---|
| type | "void *" |
|---|
| name | "DriverSection" |
|---|
|
| offset | "0x18" |
|---|
| size | 4 |
|---|
| type | "void *" |
|---|
| name | "DriverExtension" |
|---|
|
| offset | "0x1C" |
|---|
| size | 8 |
|---|
| type | "UNICODE_STRING" |
|---|
| name | "DriverName" |
|---|
|
| offset | "0x24" |
|---|
| size | 4 |
|---|
| type | "UNICODE_STRING *" |
|---|
| name | "HardwareDatabase" |
|---|
|
| offset | "0x28" |
|---|
| size | 4 |
|---|
| type | "void *" |
|---|
| name | "FastIoDispatch" |
|---|
|
| offset | "0x2C" |
|---|
| size | 4 |
|---|
| type | "void *" |
|---|
| name | "DriverInit" |
|---|
|
| offset | "0x30" |
|---|
| size | 4 |
|---|
| type | "void *" |
|---|
| name | "DriverStartIo" |
|---|
|
| offset | "0x34" |
|---|
| size | 4 |
|---|
| type | "void *" |
|---|
| name | "DriverUnload" |
|---|
|
| offset | "0x38" |
|---|
| size | 112 |
|---|
| type | "void *[28]" |
|---|
| name | "MajorFunction" |
|---|
| notes | "slot N at 0x38 + 4*N" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "field order; 32-bit offsets computed" |
|---|
| repo | "https://github.com/mingw-w64/mingw-w64" |
|---|
| commit | "63ebe6cdb3ec4d5c586b7f0f0c03dd502e44c296" |
|---|
| path | "mingw-w64-headers/ddk/include/ddk/wdm.h" |
|---|
| lines | "5899-5915" |
|---|
|
|
|---|
| confidence | "medium" |
|---|
| related | |
|---|
| key | "DRIVER_OBJECT x86" |
|---|
| topic | "Platform:Windows/Kernel drivers" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T13:47:23.376Z" |
|---|
| verifications | |
|---|