KNSoft.NDK
1.2.2-beta
See the version list below for details.
dotnet add package KNSoft.NDK --version 1.2.2-beta
NuGet\Install-Package KNSoft.NDK -Version 1.2.2-beta
<PackageReference Include="KNSoft.NDK" Version="1.2.2-beta" />
paket add KNSoft.NDK --version 1.2.2-beta
#r "nuget: KNSoft.NDK, 1.2.2-beta"
// Install KNSoft.NDK as a Cake Addin #addin nuget:?package=KNSoft.NDK&version=1.2.2-beta&prerelease // Install KNSoft.NDK as a Cake Tool #tool nuget:?package=KNSoft.NDK&version=1.2.2-beta&prerelease
English (en-US) | 简体中文 (zh-CN) |
---|
<br>
KNSoft.NDK
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)
, ...
- Undocumented API declarations and type definitions, e.g.
- Packages
- SMBIOS Specification
- CPUID Specification
- Unit Test Framework
- StrSafe.h (different from
strsafe.h
in Windows SDK)
Usage
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:
- Specifications
- Ntdll Hash API (
(A_SHA/MD4/MD5)(Init/Update/Final)
)- Ntdll.Hash.h
- KNSoft.NDK.Ntdll.Hash.lib (Generated from KNSoft.NDK.Ntdll.Hash.xml)
- Windows API import library addendum
- KNSoft.NDK.WinAPI.lib (Generated from KNSoft.NDK.WinAPI.xml)
- Unit Test Framework
- Safe string functions (different from
strsafe.h
in Windows SDK)
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
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
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:
- phnt (from winsiderss/systeminformer, commit 6a626538) - MIT
KNSoft.NDK also uses KNSoft/Precomp4C to generate DLL import libraries.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.2.17-beta | 69 | 12/13/2024 |
1.2.16-beta | 42 | 12/10/2024 |
1.2.15-beta | 53 | 12/8/2024 |
1.2.14-beta | 63 | 12/4/2024 |
1.2.13-beta | 60 | 12/2/2024 |
1.2.12-beta | 45 | 12/1/2024 |
1.2.11-beta | 60 | 11/27/2024 |
1.2.10-beta | 64 | 11/24/2024 |
1.2.9-beta | 87 | 11/18/2024 |
1.2.8-beta | 89 | 11/10/2024 |
1.2.7-beta | 66 | 11/6/2024 |
1.2.4-beta | 180 | 10/9/2024 |
1.2.3-beta | 56 | 10/3/2024 |
1.2.2-beta | 58 | 9/29/2024 |
1.2.1-beta | 67 | 9/23/2024 |
1.2.0-beta | 69 | 9/19/2024 |
1.1.0-beta | 120 | 8/9/2024 |