Skip to content

KNSoft.NDK provides native C/C++ definitions and import libraries for Windows NT and some specifications.

License

Notifications You must be signed in to change notification settings

KNSoft/KNSoft.NDK

Repository files navigation

English (en-US) 简体中文 (zh-CN)

KNSoft.NDK

NuGet Downloads GitHub Actions Workflow Status PR Welcome GitHub License

KNSoft.NDK provides native C/C++ definitions and import libraries for Windows NT development.

Feature

  • Windows NT
    • Undocumented API declarations and type definitions, e.g. Nt/Zw*, Ldr*, PEB, TEB, LDR_*, ...
    • Import library for Windows DLL exports, e.g. KERNEL32.dll!CreateProcessInternalW, ntdll.dll!LdrRegisterDllNotification, ...
    • Addendum to Windows SDK
    • Extension macros and definitions, e.g. NtCurrentPeb(), PEB(64/32), TEB(64/32), ...
  • Packages
    • SMBIOS Specification
    • CPUID Specification
    • Unit Test Framework
    • StrSafe.h (different from strsafe.h in Windows SDK)

Usage

NuGet Downloads

TL;DR

Include NDK.h instead of (or BEFORE) Windows.h will do.

#include <KNSoft/NDK/NDK.h>

NuGet package KNSoft.NDK includes all the headers and import libraries.

Details

The following features are NOT enabled by default, reference corresponding headers and libraries on demand:

The following features are enabled by default, can be excluded by defining corresponding macro:

Macro Exclude feature
_KNSOFT_NDK_NO_EXTENSION Addendum or extension macros and definitions

Compatibility

PR Welcome GitHub Actions Workflow Status

KNSoft.NDK always follow up the latest Windows NT and specifications, targets to x86, x64 and ARM64 platforms.

Only support the latest MSVC generation tools and SDKs.

Caution

In beta stage, should be used with caution.

License

GitHub License

KNSoft.NDK is licensed under the MIT license.

The content from the following public sources were lawfully used:

  • Microsoft WDK/DDK/SDK
  • Microsoft Public Symbolic Data
  • Microsoft Learning
  • Microsoft Windows Protocols
  • Windows Internals

And public projects:

KNSoft.NDK also uses KNSoft/Precomp4C to generate DLL import libraries.

About

KNSoft.NDK provides native C/C++ definitions and import libraries for Windows NT and some specifications.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published