PHNT 1.1.0
dotnet add package PHNT --version 1.1.0
NuGet\Install-Package PHNT -Version 1.1.0
<PackageReference Include="PHNT" Version="1.1.0" />
paket add PHNT --version 1.1.0
#r "nuget: PHNT, 1.1.0"
// Install PHNT as a Cake Addin #addin nuget:?package=PHNT&version=1.1.0 // Install PHNT as a Cake Tool #tool nuget:?package=PHNT&version=1.1.0
执行NuGet打包.ps1
以生成nupkg。nuget\PHNT.nuspec
可以编辑程序包元数据。此项目发布在NuGet,GitHub上只有源码标签发布。
This collection of Native API header files has been maintained since 2009 for the System Informer project, and is the most up-to-date set of Native API definitions that we know of. We have gathered these definitions from official Microsoft header files and symbol files, as well as a lot of reverse engineering and guessing. See phnt.h
for more information.
Usage
First make sure that your program is using the latest Windows SDK.
These header files are designed to be used by user-mode programs. Instead of #include <windows.h>
, place
#include <phnt_windows.h>
#include <phnt.h>
at the top of your program. The first line provides access to the Win32 API as well as the NTSTATUS
values. The second line provides access to the entire Native API. By default, only definitions present in Windows XP are included into your program. To change this, use one of the following:
#define PHNT_VERSION PHNT_WINXP // Windows XP
#define PHNT_VERSION PHNT_WS03 // Windows Server 2003
#define PHNT_VERSION PHNT_VISTA // Windows Vista
#define PHNT_VERSION PHNT_WIN7 // Windows 7
#define PHNT_VERSION PHNT_WIN8 // Windows 8
#define PHNT_VERSION PHNT_WINBLUE // Windows 8.1
#define PHNT_VERSION PHNT_THRESHOLD // Windows 10
#define PHNT_VERSION PHNT_WIN11 // Windows 11
Product | Versions Compatible and additional computed target framework versions. |
---|---|
native | native is compatible. |
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.
支持 Windows SDK 26100