Skip to content

Commit 4cc8487

Browse files
committed
sync latest
1 parent 48759c9 commit 4cc8487

30 files changed

+2509
-1275
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
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.
1+
This collection of Native API header files has been maintained since 2009 for the Process Hacker project, and is the most up-to-date set of Native API definitions that I know of. I 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.
22

33
## Usage
44

@@ -14,12 +14,12 @@ These header files are designed to be used by user-mode programs. Instead of `#i
1414
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:
1515

1616
```
17-
#define PHNT_VERSION PHNT_WINXP // Windows XP
18-
#define PHNT_VERSION PHNT_WS03 // Windows Server 2003
19-
#define PHNT_VERSION PHNT_VISTA // Windows Vista
20-
#define PHNT_VERSION PHNT_WIN7 // Windows 7
21-
#define PHNT_VERSION PHNT_WIN8 // Windows 8
22-
#define PHNT_VERSION PHNT_WINBLUE // Windows 8.1
23-
#define PHNT_VERSION PHNT_THRESHOLD // Windows 10
24-
#define PHNT_VERSION PHNT_WIN11 // Windows 11
17+
#define PHNT_VERSION PHNT_WINDOWS_XP // Windows XP
18+
#define PHNT_VERSION PHNT_WINDOWS_SERVER_2003 // Windows Server 2003
19+
#define PHNT_VERSION PHNT_WINDOWS_VISTA // Windows Vista
20+
#define PHNT_VERSION PHNT_WINDOWS_7 // Windows 7
21+
#define PHNT_VERSION PHNT_WINDOWS_8 // Windows 8
22+
#define PHNT_VERSION PHNT_WINDOWS_8_1 // Windows 8.1
23+
#define PHNT_VERSION PHNT_WINDOWS_10 // Windows 10
24+
#define PHNT_VERSION PHNT_WINDOWS_11 // Windows 11
2525
```

ntbcd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ BcdExportStore(
231231
_In_ PCUNICODE_STRING BcdFilePath
232232
);
233233

234-
#if (PHNT_VERSION > PHNT_WIN11)
234+
#if (PHNT_VERSION > PHNT_WINDOWS_11)
235235
/**
236236
* Exports the BCD store to a file with additional flags.
237237
*

0 commit comments

Comments
 (0)