• This repository has been archived on 13/Jan/2024
  • Stars
    star
    132
  • Rank 274,205 (Top 6 %)
  • Language
    C++
  • License
    GNU Lesser Genera...
  • Created about 6 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Windows Driver Kit Extesion Header (Undoc)

Windows Driver Kit Extesion Header

LICENSE LICENSE

Environment

  • C++17
  • Windows 7 or higher
  • Arch: X86, AMD64

Config

  1. #include <wdk\wdk.h>
  2. Call wdk::WdkInitSystem() in DriverEntry
extern"C" 
auto DriverEntry(PDRIVER_OBJECT aDriverObject, PUNICODE_STRING) -> NTSTATUS
{
    auto vStatus = STATUS_SUCCESS;

    for (;;)
    {
        // Just a chestnut(example)

        vStatus = wdk::WdkInitSystem();
        if (!NT_SUCCESS(vStatus))
        {
            break;
        }

        aDriverObject->DriverUnload = DriverUnload;
        break;
    }
    if (!NT_SUCCESS(vStatus))
    {
        DriverUnload(aDriverObject);
    }
    
    return vStatus;
}

Feature

Undocument struct, function and Tips.

E.g

  • ETHREAD
  • EPROCESS
  • Other ...

Thanks and references

Thanks for the support of these projects

MSDN
ReactOS
ProcessHacker
wbenny/pdbex
wbenny/ntdiff
tandasat/HyperPlatform