diff options
Diffstat (limited to '')
-rw-r--r-- | driver/undocumented.h (renamed from undocumented.h) | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/undocumented.h b/driver/undocumented.h index cf85823..c642361 100644 --- a/undocumented.h +++ b/driver/undocumented.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0 * - * Copyright (C) 2018-2019 WireGuard LLC. All Rights Reserved. + * Copyright (C) 2018-2021 WireGuard LLC. All Rights Reserved. */ #pragma once @@ -31,11 +31,23 @@ 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); + +NTSTATUS +NTAPI +SeSddlSecurityDescriptorFromSDDL( + const PUNICODE_STRING SecurityDescriptorString, + BOOLEAN SuppliedByDefaultMechanism, + PSECURITY_DESCRIPTOR *SecurityDescriptor); |