aboutsummaryrefslogtreecommitdiffstats
path: root/undocumented.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-08-03 20:43:16 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2019-08-04 07:06:50 +0000
commit85a8076d08d75cd939136dc01fde4a18aeb78e70 (patch)
treef44603cba636eaf5b5f5210417389886a4f1ae89 /undocumented.h
parentGetCurrentProcessToken() is Win8+, so open our own token (diff)
downloadwintun-85a8076d08d75cd939136dc01fde4a18aeb78e70.tar.xz
wintun-85a8076d08d75cd939136dc01fde4a18aeb78e70.zip
Spin less and more efficiently
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'undocumented.h')
-rw-r--r--undocumented.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/undocumented.h b/undocumented.h
index c904c7a..cf85823 100644
--- a/undocumented.h
+++ b/undocumented.h
@@ -37,3 +37,5 @@ ZwQuerySystemInformation(
PVOID SystemInformation,
ULONG SystemInformationLength,
ULONG *ReturnLength);
+
+extern NTSTATUS ZwYieldExecution(VOID);