KNSoft.NDK 1.2.34-beta

This is a prerelease version of KNSoft.NDK.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package KNSoft.NDK --version 1.2.34-beta
                    
NuGet\Install-Package KNSoft.NDK -Version 1.2.34-beta
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="KNSoft.NDK" Version="1.2.34-beta" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="KNSoft.NDK" Version="1.2.34-beta" />
                    
Directory.Packages.props
<PackageReference Include="KNSoft.NDK" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add KNSoft.NDK --version 1.2.34-beta
                    
#r "nuget: KNSoft.NDK, 1.2.34-beta"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package KNSoft.NDK@1.2.34-beta
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=KNSoft.NDK&version=1.2.34-beta&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=KNSoft.NDK&version=1.2.34-beta&prerelease
                    
Install as a Cake Tool
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
    • Unit Test Framework
    • Safe string functions
    • Command-line parsing functions

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.

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 project(s):

And public sources were lawfully used:

And KNSoft/Precomp4C to generate DLL import libraries.

There are no supported framework assets in this package.

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.37-beta 116 8/27/2025
1.2.36-beta 95 8/15/2025
1.2.35-beta 220 8/7/2025
1.2.34-beta 461 7/24/2025
1.2.33-beta 129 7/18/2025
1.2.32-beta 154 7/4/2025
1.2.31-beta 146 6/24/2025
1.2.30-beta 90 6/6/2025
1.2.29-beta 149 5/21/2025
1.2.28-beta 423 5/15/2025
1.2.27-beta 234 5/14/2025
1.2.26-beta 141 5/6/2025
1.2.25-beta 147 5/5/2025
1.2.24-beta 157 4/21/2025
1.2.23-beta 114 4/4/2025
1.2.22-beta 163 3/29/2025
1.2.21-beta 107 2/7/2025
1.2.20-beta 121 1/3/2025
1.2.19-beta 120 12/26/2024
1.2.18-beta 532 12/25/2024
1.2.17-beta 140 12/13/2024
1.2.16-beta 97 12/10/2024
1.2.15-beta 109 12/8/2024
1.2.14-beta 112 12/4/2024
1.2.13-beta 103 12/2/2024
1.2.12-beta 95 12/1/2024
1.2.11-beta 112 11/27/2024
1.2.10-beta 115 11/24/2024
1.2.9-beta 131 11/18/2024
1.2.8-beta 133 11/10/2024
1.2.7-beta 106 11/6/2024
1.2.4-beta 227 10/9/2024
1.2.3-beta 95 10/3/2024
1.2.2-beta 100 9/29/2024
1.2.1-beta 108 9/23/2024
1.2.0-beta 110 9/19/2024
1.1.0-beta 789 8/9/2024