KNSoft.NDK 1.0.3-alpha

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.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package KNSoft.NDK --version 1.0.3-alpha                
NuGet\Install-Package KNSoft.NDK -Version 1.0.3-alpha                
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.0.3-alpha" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KNSoft.NDK --version 1.0.3-alpha                
#r "nuget: KNSoft.NDK, 1.0.3-alpha"                
#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.
// Install KNSoft.NDK as a Cake Addin
#addin nuget:?package=KNSoft.NDK&version=1.0.3-alpha&prerelease

// Install KNSoft.NDK as a Cake Tool
#tool nuget:?package=KNSoft.NDK&version=1.0.3-alpha&prerelease                

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 and some specifications development.

Feature

  • Windows NT
    • Undocumented type definitions, e.g. PEB, TEB, LDR_*, ...
    • Undocumented API declarations, e.g. Nt/Zw*, Ldr*, ...
    • Definitions in public sources but not in Windows SDK, e.g. winsta.h, KUSER_SHARED_DATA, ...
    • 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), ...
  • Specifications
    • SMBIOS
    • CPUID
    • MSVC
  • Kits
    • 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 compiled 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
_KNSOFT_NDK_NO_EXTENSION_MSTOOLCHAIN Microsoft Tool Chain Specification
_KNSOFT_NDK_NO_INLINE Use inline implementation instead of function call

Compatibility

PR Welcome GitHub Actions Workflow Status

KNSoft.NDK always keep up with trends:

  • Keep up the latest Windows NT and specifications
  • Build with the latest Visual Studio (MSVC) and SDK, targets to x86, x64 and ARM64 platforms

[!CAUTION] In alpha stage, do not use on production environment.

License

GitHub License

KNSoft.NDK is licensed under the MPL-2.0 license.

The content from the following public sources were used:

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

And public projects:

KNSoft.NDK also uses 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.2-beta 38 9/29/2024
1.2.1-beta 51 9/23/2024
1.2.0-beta 49 9/19/2024
1.1.0-beta 105 8/9/2024