diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-03 14:42:18 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-03 14:42:18 +0100 |
commit | d5dc79255d6a57b89c4dd4e47abc5cb6d624322a (patch) | |
tree | 724bfa6b72f196d49e490fa0fbb1c2732813941d | |
parent | api: constify pool argument (diff) | |
download | wintun-d5dc79255d6a57b89c4dd4e47abc5cb6d624322a.tar.xz wintun-d5dc79255d6a57b89c4dd4e47abc5cb6d624322a.zip |
wintun: use proper import type for undocumented functions
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | undocumented.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/undocumented.h b/undocumented.h index 624174e..a3b3926 100644 --- a/undocumented.h +++ b/undocumented.h @@ -31,11 +31,16 @@ typedef struct _SYSTEM_HANDLE_INFORMATION_EX SYSTEM_HANDLE_TABLE_ENTRY_INFO_EX Handles[ANYSIZE_ARRAY]; } SYSTEM_HANDLE_INFORMATION_EX, *PSYSTEM_HANDLE_INFORMATION_EX; -extern NTSTATUS +NTSYSAPI +NTSTATUS +NTAPI ZwQuerySystemInformation( SYSTEM_INFORMATION_CLASS SystemInformationClass, PVOID SystemInformation, ULONG SystemInformationLength, ULONG *ReturnLength); -extern NTSTATUS ZwYieldExecution(VOID); +NTSYSAPI +NTSTATUS +NTAPI +ZwYieldExecution(VOID); |