ReactOS 0.4.15-dev-8146-gdc0ed6d
zwfuncs.h
Go to the documentation of this file.
1/******************************************************************************
2 * ZwXxx Functions *
3 ******************************************************************************/
4
6
7/* Constants */
8#define NtCurrentProcess() ( (HANDLE)(LONG_PTR) -1 )
9#define ZwCurrentProcess() NtCurrentProcess()
10#define NtCurrentThread() ( (HANDLE)(LONG_PTR) -2 )
11#define ZwCurrentThread() NtCurrentThread()
13
20 _Out_ PLUID Luid);
21
26ZwTerminateProcess(
29
34ZwOpenProcess(
41
46ZwQueryEaFile(
56
61ZwSetEaFile(
66
71ZwDuplicateToken(
72 _In_ HANDLE ExistingTokenHandle,
79
80#if (NTDDI_VERSION >= NTDDI_WIN2K)
82
89
98
102NTAPI
103ZwCreateFile(
115);
116
120NTAPI
121ZwCreateKey(
129
133NTAPI
134ZwCreateSection(
135 _Out_ PHANDLE SectionHandle,
142
146NTAPI
147ZwDeleteKey(
149
153NTAPI
157
163NTAPI
164ZwEnumerateKey(
171
177NTAPI
178ZwEnumerateValueKey(
182 _Out_writes_bytes_opt_(Length) PVOID KeyValueInformation,
185
189NTAPI
190ZwFlushKey(
192
196NTAPI
197ZwLoadDriver(
198 _In_ PUNICODE_STRING DriverServiceName);
199
203NTAPI
206
210NTAPI
211ZwMapViewOfSection(
212 _In_ HANDLE SectionHandle,
222
226NTAPI
234
238NTAPI
239ZwOpenKey(
243
247NTAPI
249 _Out_ PHANDLE SectionHandle,
252
256NTAPI
258 _Out_ PHANDLE LinkHandle,
261
265NTAPI
266ZwQueryInformationFile(
272
278NTAPI
279ZwQueryKey(
282 _Out_writes_bytes_opt_(Length) PVOID KeyInformation,
285
289NTAPI
290ZwQuerySymbolicLinkObject(
291 _In_ HANDLE LinkHandle,
294
300NTAPI
301ZwQueryValueKey(
305 _Out_writes_bytes_opt_(Length) PVOID KeyValueInformation,
308
312NTAPI
313ZwReadFile(
323
327NTAPI
328ZwSetInformationFile(
334
338NTAPI
339ZwSetValueKey(
346
350NTAPI
352 _In_ PUNICODE_STRING DriverServiceName);
353
357NTAPI
358ZwUnmapViewOfSection(
361
365NTAPI
366ZwWriteFile(
376
380NTAPI
384
386$if (_NTDDK_)
387
390NTAPI
391ZwCancelTimer(
392 _In_ HANDLE TimerHandle,
394
398NTAPI
399ZwCreateTimer(
400 _Out_ PHANDLE TimerHandle,
404
407NTAPI
408ZwOpenTimer(
409 _Out_ PHANDLE TimerHandle,
412
416NTAPI
417ZwSetInformationThread(
418 _In_ HANDLE ThreadHandle,
422
425NTAPI
426ZwSetTimer(
427 _In_ HANDLE TimerHandle,
434
438NTAPI
441
445NTAPI
446ZwPowerInformation(
447 _In_ POWER_INFORMATION_LEVEL PowerInformationLevel,
452
456NTAPI
460 _Out_writes_bytes_(Length) PVOID FsInformation,
463
467NTAPI
479
481$if (_NTIFS_)
482
486NTAPI
487ZwQueryObject(
493
497NTAPI
498ZwNotifyChangeKey(
509
513NTAPI
514ZwCreateEvent(
520
524NTAPI
527
531NTAPI
532ZwQueryDirectoryFile(
544
548NTAPI
549ZwSetVolumeInformationFile(
552 _In_reads_bytes_(Length) PVOID FsInformation,
555
559NTAPI
571
575NTAPI
576ZwDuplicateObject(
577 _In_ HANDLE SourceProcessHandle,
584
588NTAPI
593
599NTAPI
600ZwAllocateVirtualMemory(
607
611NTAPI
612ZwFreeVirtualMemory(
617
623NTAPI
624ZwWaitForSingleObject(
628
632NTAPI
636
640NTAPI
641ZwFlushVirtualMemory(
646
650NTAPI
651ZwQueryInformationToken(
657
661NTAPI
662ZwSetSecurityObject(
666
670NTAPI
671ZwQuerySecurityObject(
678#endif /* (NTDDI_VERSION >= NTDDI_WIN2K) */
679
680$if (_NTIFS_)
681#if (NTDDI_VERSION >= NTDDI_WINXP)
682
686NTAPI
692
696NTAPI
698 _In_ HANDLE ThreadHandle,
703
704#endif /* (NTDDI_VERSION >= NTDDI_WINXP) */
707
708#if (NTDDI_VERSION >= NTDDI_WS03)
712NTAPI
717#endif
719
721#if (NTDDI_VERSION >= NTDDI_VISTA)
724
728ZwCreateKeyTransacted(
737
741NTAPI
742ZwOpenKeyTransacted(
747
751NTAPI
752ZwCreateTransactionManager(
759
763NTAPI
764ZwOpenTransactionManager(
771
775NTAPI
776ZwRollforwardTransactionManager(
777 _In_ HANDLE TransactionManagerHandle,
779
783NTAPI
784ZwRecoverTransactionManager(
785 _In_ HANDLE TransactionManagerHandle);
786
790NTAPI
791ZwQueryInformationTransactionManager(
792 _In_ HANDLE TransactionManagerHandle,
797
801NTAPI
802ZwSetInformationTransactionManager(
807
811NTAPI
812ZwEnumerateTransactionObject(
813 _In_opt_ HANDLE RootObjectHandle,
818
822NTAPI
823ZwCreateTransaction(
834
838NTAPI
839ZwOpenTransaction(
845
849NTAPI
850ZwQueryInformationTransaction(
856
860NTAPI
861ZwSetInformationTransaction(
866
870NTAPI
871ZwCommitTransaction(
874
878NTAPI
879ZwRollbackTransaction(
882
886NTAPI
887ZwCreateResourceManager(
895
899NTAPI
900ZwOpenResourceManager(
906
910NTAPI
911ZwRecoverResourceManager(
913
917NTAPI
918ZwGetNotificationResourceManager(
926
930NTAPI
931ZwQueryInformationResourceManager(
937
941NTAPI
942ZwSetInformationResourceManager(
947
951NTAPI
952ZwCreateEnlistment(
953 _Out_ PHANDLE EnlistmentHandle,
961
965NTAPI
966ZwOpenEnlistment(
967 _Out_ PHANDLE EnlistmentHandle,
972
976NTAPI
977ZwQueryInformationEnlistment(
978 _In_ HANDLE EnlistmentHandle,
983
987NTAPI
988ZwSetInformationEnlistment(
989 _In_ HANDLE EnlistmentHandle,
993
997NTAPI
998ZwRecoverEnlistment(
999 _In_ HANDLE EnlistmentHandle,
1001
1005NTAPI
1006ZwPrePrepareEnlistment(
1007 _In_ HANDLE EnlistmentHandle,
1009
1013NTAPI
1014ZwPrepareEnlistment(
1015 _In_ HANDLE EnlistmentHandle,
1017
1021NTAPI
1022ZwCommitEnlistment(
1023 _In_ HANDLE EnlistmentHandle,
1025
1029NTAPI
1030ZwRollbackEnlistment(
1031 _In_ HANDLE EnlistmentHandle,
1033
1037NTAPI
1038ZwPrePrepareComplete(
1039 _In_ HANDLE EnlistmentHandle,
1041
1045NTAPI
1046ZwPrepareComplete(
1047 _In_ HANDLE EnlistmentHandle,
1049
1053NTAPI
1054ZwCommitComplete(
1055 _In_ HANDLE EnlistmentHandle,
1057
1061NTAPI
1062ZwReadOnlyEnlistment(
1063 _In_ HANDLE EnlistmentHandle,
1065
1068NTAPI
1070 _In_ HANDLE EnlistmentHandle,
1072
1075NTAPI
1077 _In_ HANDLE EnlistmentHandle,
1080$if (_NTIFS_)
1081
1085NTAPI
1094 _In_ ULONG Key,
1097
1101NTAPI
1107 _In_ ULONG Key);
1108
1112NTAPI
1123
1127NTAPI
1132 _In_ ULONG Length);
1133
1137NTAPI
1142$if (_WDMDDK_ || _NTIFS_)
1143#endif /* (NTDDI_VERSION >= NTDDI_VISTA) */
1145#if (NTDDI_VERSION >= NTDDI_WIN7)
1146$if (_WDMDDK_)
1147
1151NTAPI
1152ZwOpenKeyEx(
1157
1161NTAPI
1162ZwOpenKeyTransactedEx(
1168
1171NTAPI
1173 _In_ HANDLE MasterKeyHandle,
1175 _In_opt_ OBJECT_ATTRIBUTES SubordinateObjects[],
1185
1188NTAPI
1191 _Inout_ PKEY_VALUE_ENTRY ValueEntries,
1192 _In_ ULONG EntryCount,
1193 _Out_ PVOID ValueBuffer,
1195 _Out_opt_ PULONG RequiredBufferLength);
1196
1200NTAPI
1201ZwRenameKey(
1204
1208NTAPI
1209ZwSetInformationKey(
1211 _In_ __drv_strictTypeMatch(__drv_typeConst) KEY_SET_INFORMATION_CLASS KeySetInformationClass,
1214
1216$if (_NTDDK_)
1217
1220NTAPI
1221ZwSetTimerEx(
1222 _In_ HANDLE TimerHandle,
1227$if (_NTIFS_)
1228
1232NTAPI
1238
1239#if (VER_PRODUCTBUILD >= 2195)
1242NTAPI
1245 _In_ BOOLEAN DisableAllPrivileges,
1246 _In_ PTOKEN_PRIVILEGES NewState,
1250);
1251#endif /* (VER_PRODUCTBUILD >= 2195) */
1252
1255NTAPI
1257 _In_ HANDLE ThreadHandle
1258);
1259
1262NTAPI
1264 _In_ PUNICODE_STRING SubsystemName,
1265 _In_ PVOID HandleId,
1271 _In_ BOOLEAN ObjectCreation,
1275);
1276
1277#if (VER_PRODUCTBUILD >= 2195)
1280NTAPI
1284);
1285#endif /* (VER_PRODUCTBUILD >= 2195) */
1286
1289NTAPI
1292);
1293
1296NTAPI
1298 _In_ PUNICODE_STRING SubsystemName,
1299 _In_ PVOID HandleId,
1301);
1302
1305NTAPI
1307 _Out_ PHANDLE SymbolicLinkHandle,
1311);
1312
1315NTAPI
1319 _In_ ULONG FlushSize
1320);
1321
1324NTAPI
1328);
1329
1330#if (VER_PRODUCTBUILD >= 2195)
1333NTAPI
1335 _In_ POWER_ACTION SystemAction,
1339);
1340#endif /* (VER_PRODUCTBUILD >= 2195) */
1341
1344NTAPI
1346 _In_ POBJECT_ATTRIBUTES KeyObjectAttributes,
1348);
1349
1352NTAPI
1357);
1358
1361NTAPI
1363 _Out_ PHANDLE ThreadHandle,
1367);
1368
1371NTAPI
1373 _In_ HANDLE ThreadHandle,
1377);
1378
1381NTAPI
1384 _In_opt_ PLONG PulseCount
1385);
1386
1389NTAPI
1391 _In_ BOOLEAN UserProfile,
1392 _Out_ PLCID DefaultLocaleId
1393);
1394
1395#if (VER_PRODUCTBUILD >= 2195)
1399NTAPI
1400ZwQueryDirectoryObject(
1408);
1409#endif /* (VER_PRODUCTBUILD >= 2195) */
1410
1413NTAPI
1415 _In_ POBJECT_ATTRIBUTES NewFileObjectAttributes,
1417 _In_ POBJECT_ATTRIBUTES OldFileObjectAttributes
1418);
1419
1422NTAPI
1425 _Out_opt_ PLONG NumberOfWaitingThreads
1426);
1427
1428#if (VER_PRODUCTBUILD >= 2195)
1431NTAPI
1432ZwRestoreKey (
1436);
1437#endif /* (VER_PRODUCTBUILD >= 2195) */
1438
1441NTAPI
1445);
1446
1449NTAPI
1451 _In_ BOOLEAN UserProfile,
1452 _In_ LCID DefaultLocaleId
1453);
1454
1455#if (VER_PRODUCTBUILD >= 2195)
1458NTAPI
1460 _In_ LANGID LanguageId
1461);
1462#endif /* (VER_PRODUCTBUILD >= 2195) */
1463
1466NTAPI
1469 _In_ PROCESSINFOCLASS ProcessInformationClass,
1470 _In_ PVOID ProcessInformation,
1471 _In_ ULONG ProcessInformationLength
1472);
1473
1476NTAPI
1478 _In_ PLARGE_INTEGER NewTime,
1480);
1481
1484NTAPI
1486 _In_ POBJECT_ATTRIBUTES KeyObjectAttributes
1487);
1488
1491NTAPI
1493 _In_ ULONG HandleCount,
1494 _In_ PHANDLE Handles,
1498);
1499
1502NTAPI
1504 VOID
1505);
1506
1508#endif /* (NTDDI_VERSION >= NTDDI_WIN7) */
1509
static HANDLE DirectoryHandle
Definition: ObType.c:48
unsigned char BOOLEAN
static GENERIC_MAPPING GenericMapping
Definition: SeInheritance.c:11
Type
Definition: Type.h:7
TOKEN_TYPE
Definition: asmpp.cpp:29
LONG NTSTATUS
Definition: precomp.h:26
#define NTSYSAPI
Definition: ntoskrnl.h:12
return
Definition: dirsup.c:529
Definition: bufpool.h:45
IN CINT OUT PVOID ObjectInformation
Definition: conport.c:48
#define NULL
Definition: types.h:112
enum _THREADINFOCLASS THREADINFOCLASS
Definition: thread.c:101
#define __drv_freesMem(kind)
Definition: driverspecs.h:272
#define _IRQL_requires_max_(irql)
Definition: driverspecs.h:230
#define __drv_allocatesMem(kind)
Definition: driverspecs.h:257
#define __drv_strictTypeMatch(mode)
Definition: driverspecs.h:330
#define PASSIVE_LEVEL
Definition: env_spec_w32.h:693
#define APC_LEVEL
Definition: env_spec_w32.h:695
#define DISPATCH_LEVEL
Definition: env_spec_w32.h:696
_Inout_ PLIST_ENTRY _In_ PVOID _In_ PSTRING _In_ BOOLEAN _In_ BOOLEAN _In_ ULONG CompletionFilter
Definition: fltkernel.h:2243
_Inout_ PLIST_ENTRY _In_ PVOID _In_ PSTRING _In_ BOOLEAN WatchTree
Definition: fltkernel.h:2241
enum _FILE_INFORMATION_CLASS FILE_INFORMATION_CLASS
Definition: directory.c:44
enum _FSINFOCLASS FS_INFORMATION_CLASS
NTSYSAPI NTSTATUS NTAPI ZwDeleteValueKey(__in IN HANDLE Key, __in IN PUNICODE_STRING ValueName)
ULONG Handle
Definition: gdb_input.c:15
#define _NTIFS_
Definition: ifssupp.h:20
enum _OBJECT_INFORMATION_CLASS OBJECT_INFORMATION_CLASS
enum _PROCESSINFOCLASS PROCESSINFOCLASS
Definition: loader.c:63
VOID(CALLBACK * PTIMER_APC_ROUTINE)(PVOID, ULONG, LONG)
Definition: winternl.h:2018
ULONG NOTIFICATION_MASK
Definition: ktmtypes.h:99
USHORT LANGID
Definition: mui.h:9
static POBJECTS_AND_NAME_A SE_OBJECT_TYPE LPSTR ObjectTypeName
Definition: security.c:79
DWORD SECURITY_INFORMATION
Definition: ms-dtyp.idl:311
#define _Outptr_result_bytebuffer_(size)
Definition: ms_sal.h:472
#define _Out_opt_
Definition: ms_sal.h:346
#define _In_reads_bytes_(size)
Definition: ms_sal.h:321
#define _Inout_
Definition: ms_sal.h:378
#define _Out_writes_bytes_(size)
Definition: ms_sal.h:350
#define _Out_writes_bytes_to_(size, count)
Definition: ms_sal.h:360
#define _Inout_updates_bytes_opt_(size)
Definition: ms_sal.h:400
#define _At_(target, annos)
Definition: ms_sal.h:244
#define _Inout_opt_
Definition: ms_sal.h:379
#define _Must_inspect_result_
Definition: ms_sal.h:558
#define _Inout_updates_bytes_(size)
Definition: ms_sal.h:399
#define _Out_
Definition: ms_sal.h:345
#define _When_(expr, annos)
Definition: ms_sal.h:254
#define _Out_writes_bytes_to_opt_(size, count)
Definition: ms_sal.h:361
#define _In_
Definition: ms_sal.h:308
#define _In_reads_bytes_opt_(size)
Definition: ms_sal.h:322
#define _In_opt_
Definition: ms_sal.h:309
#define _Outptr_result_buffer_(size)
Definition: ms_sal.h:456
#define _Reserved_
Definition: ms_sal.h:295
#define _Out_writes_bytes_opt_(size)
Definition: ms_sal.h:351
_Must_inspect_result_ _Out_ PNDIS_STATUS _In_ NDIS_HANDLE _In_ ULONG _Out_ PNDIS_STRING _Out_ PNDIS_HANDLE KeyHandle
Definition: ndis.h:4715
NTSYSAPI NTSTATUS NTAPI ZwSetEvent(_In_ HANDLE EventHandle, _Out_opt_ PLONG PreviousState)
NTSYSCALLAPI NTSTATUS NTAPI ZwOpenEvent(_Out_ PHANDLE EventHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes)
NTSYSAPI NTSTATUS NTAPI ZwDisplayString(_In_ PUNICODE_STRING DisplayString)
NTSYSAPI NTSTATUS NTAPI ZwSetDefaultUILanguage(LANGID LanguageId)
NTSYSAPI NTSTATUS NTAPI ZwLockFile(_In_ HANDLE FileHandle, _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ PLARGE_INTEGER ByteOffset, _In_ PLARGE_INTEGER Length, _In_ ULONG Key, _In_ BOOLEAN FailImmediatedly, _In_ BOOLEAN ExclusiveLock)
NTSYSAPI NTSTATUS NTAPI ZwUnloadDriver(_In_ PUNICODE_STRING DriverServiceName)
NTSYSAPI NTSTATUS NTAPI ZwQueryFullAttributesFile(_In_ POBJECT_ATTRIBUTES ObjectAttributes, _Out_ PFILE_NETWORK_OPEN_INFORMATION FileInformation)
NTSYSAPI NTSTATUS NTAPI ZwSetQuotaInformationFile(_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ PVOID Buffer, _In_ ULONG BufferLength)
NTSYSAPI NTSTATUS NTAPI ZwCancelIoFile(_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock)
NTSYSAPI NTSTATUS NTAPI ZwOpenFile(_Out_ PHANDLE FileHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ ULONG ShareAccess, _In_ ULONG OpenOptions)
NTSYSAPI NTSTATUS NTAPI ZwDeleteFile(_In_ POBJECT_ATTRIBUTES ObjectAttributes)
NTSYSAPI NTSTATUS NTAPI ZwUnlockFile(_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ PLARGE_INTEGER ByteOffset, _In_ PLARGE_INTEGER Length, _In_opt_ ULONG Key)
NTSYSAPI NTSTATUS NTAPI ZwQueryQuotaInformationFile(_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _Out_ PVOID Buffer, _In_ ULONG Length, _In_ BOOLEAN ReturnSingleEntry, _In_opt_ PVOID SidList, _In_ ULONG SidListLength, _In_opt_ PSID StartSid, _In_ BOOLEAN RestartScan)
NTSYSAPI NTSTATUS NTAPI ZwOpenSection(_Out_ PHANDLE SectionHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes)
NTSYSAPI NTSTATUS NTAPI ZwOpenSymbolicLinkObject(_Out_ PHANDLE SymbolicLinkHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes)
NTSYSAPI NTSTATUS NTAPI ZwOpenDirectoryObject(_Out_ PHANDLE FileHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes)
NTSYSAPI NTSTATUS NTAPI ZwClose(_In_ HANDLE Handle)
NTSYSAPI NTSTATUS NTAPI ZwMakeTemporaryObject(_In_ HANDLE Handle)
NTSYSAPI NTSTATUS NTAPI ZwCreateDirectoryObject(_Out_ PHANDLE DirectoryHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes)
NTSYSAPI NTSTATUS NTAPI ZwInitiatePowerAction(_In_ POWER_ACTION SystemAction, _In_ SYSTEM_POWER_STATE MinSystemState, _In_ ULONG Flags, _In_ BOOLEAN Asynchronous)
NTSYSAPI NTSTATUS NTAPI ZwOpenThreadTokenEx(_In_ HANDLE ThreadHandle, _In_ ACCESS_MASK DesiredAccess, _In_ BOOLEAN OpenAsSelf, _In_ ULONG HandleAttributes, _Out_ PHANDLE TokenHandle)
_Must_inspect_result_ NTSYSAPI NTSTATUS NTAPI ZwAdjustPrivilegesToken(_In_ HANDLE TokenHandle, _In_ BOOLEAN DisableAllPrivileges, _In_opt_ PTOKEN_PRIVILEGES NewState, _In_ ULONG BufferLength, _Out_writes_bytes_to_opt_(BufferLength, *ReturnLength) PTOKEN_PRIVILEGES PreviousState, _When_(PreviousState !=NULL, _Out_) PULONG ReturnLength)
NTSYSAPI NTSTATUS NTAPI ZwOpenProcessTokenEx(_In_ HANDLE ProcessHandle, _In_ ACCESS_MASK DesiredAccess, _In_ ULONG HandleAttributes, _Out_ PHANDLE TokenHandle)
NTSYSAPI NTSTATUS NTAPI ZwSetInformationToken(_In_ HANDLE TokenHandle, _In_ TOKEN_INFORMATION_CLASS TokenInformationClass, _Out_ PVOID TokenInformation, _In_ ULONG TokenInformationLength)
NTSYSAPI NTSTATUS NTAPI ZwAllocateLocallyUniqueId(_Out_ LUID *LocallyUniqueId)
int Count
Definition: noreturn.cpp:7
enum _KEY_SET_INFORMATION_CLASS KEY_SET_INFORMATION_CLASS
ULONG ACCESS_MASK
Definition: nt_native.h:40
ACCESS_MASK * PACCESS_MASK
Definition: nt_native.h:41
enum _SECTION_INHERIT SECTION_INHERIT
enum _KEY_VALUE_INFORMATION_CLASS KEY_VALUE_INFORMATION_CLASS
Definition: reg.c:135
enum _KEY_INFORMATION_CLASS KEY_INFORMATION_CLASS
VOID(* PIO_APC_ROUTINE)(IN PVOID ApcContext, IN PIO_STATUS_BLOCK IoStatusBlock, IN ULONG Reserved)
Definition: nt_native.h:877
* PLCID
Definition: ntbasedef.h:509
#define NTSYSCALLAPI
Definition: ntbasedef.h:204
#define _NTDDK_
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:102
enum _TIMER_TYPE TIMER_TYPE
enum _EVENT_TYPE EVENT_TYPE
enum _WAIT_TYPE WAIT_TYPE
NTSYSAPI NTSTATUS NTAPI ZwDeviceIoControlFile(IN HANDLE DeviceHandle, IN HANDLE Event OPTIONAL, IN PIO_APC_ROUTINE UserApcRoutine OPTIONAL, IN PVOID UserApcContext OPTIONAL, OUT PIO_STATUS_BLOCK IoStatusBlock, IN ULONG IoControlCode, IN PVOID InputBuffer, IN ULONG InputBufferSize, OUT PVOID OutputBuffer, IN ULONG OutputBufferSize)
NTSYSAPI NTSTATUS NTAPI ZwFsControlFile(IN HANDLE DeviceHandle, IN HANDLE Event OPTIONAL, IN PIO_APC_ROUTINE ApcRoutine OPTIONAL, IN PVOID ApcContext OPTIONAL, OUT PIO_STATUS_BLOCK IoStatusBlock, IN ULONG IoControlCode, IN PVOID InputBuffer, IN ULONG InputBufferSize, OUT PVOID OutputBuffer, IN ULONG OutputBufferSize)
NTSYSAPI NTSTATUS NTAPI ZwQueryVolumeInformationFile(IN HANDLE FileHandle, OUT PIO_STATUS_BLOCK IoStatusBlock, OUT PVOID FsInformation, IN ULONG Length, IN FS_INFORMATION_CLASS FsInformationClass)
_In_ SYSTEM_POWER_STATE MinSystemState
Definition: ntpoapi.h:303
POWER_ACTION
Definition: ntpoapi.h:122
enum _POWER_INFORMATION_LEVEL POWER_INFORMATION_LEVEL
enum _SYSTEM_POWER_STATE SYSTEM_POWER_STATE
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:455
enum _RESOURCEMANAGER_INFORMATION_CLASS RESOURCEMANAGER_INFORMATION_CLASS
enum _KTMOBJECT_TYPE KTMOBJECT_TYPE
enum _TRANSACTIONMANAGER_INFORMATION_CLASS TRANSACTIONMANAGER_INFORMATION_CLASS
enum _ENLISTMENT_INFORMATION_CLASS ENLISTMENT_INFORMATION_CLASS
enum _TRANSACTION_INFORMATION_CLASS TRANSACTION_INFORMATION_CLASS
long LONG
Definition: pedump.c:60
static PCWSTR TargetName
Definition: ping.c:67
DWORD LCID
Definition: nls.h:13
WaitType
Definition: shlextdbg.cpp:386
#define __kernel_entry
Definition: specstrings.h:355
Definition: nt_native.h:1172
ULONG_PTR * PSIZE_T
Definition: typedefs.h:80
uint32_t * PULONG
Definition: typedefs.h:59
unsigned char * PBOOLEAN
Definition: typedefs.h:53
#define NTAPI
Definition: typedefs.h:36
ULONG_PTR SIZE_T
Definition: typedefs.h:80
uint32_t ULONG_PTR
Definition: typedefs.h:65
int32_t * PLONG
Definition: typedefs.h:58
uint32_t ULONG
Definition: typedefs.h:59
_In_ WDFCOLLECTION _In_ ULONG Index
_In_ PWDFDEVICE_INIT _In_ PWDF_FILEOBJECT_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES FileObjectAttributes
Definition: wdfdevice.h:3400
_In_ WDF_POWER_DEVICE_STATE PreviousState
Definition: wdfdevice.h:829
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG _Out_ PULONG ResultLength
Definition: wdfdevice.h:3776
_Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG _In_ ACCESS_MASK DesiredAccess
Definition: wdfdevice.h:2658
_In_ PWDFDEVICE_INIT _In_ PWDF_REMOVE_LOCK_OPTIONS Options
Definition: wdfdevice.h:3534
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG BufferLength
Definition: wdfdevice.h:3771
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
Definition: wdfdevice.h:2433
_In_ WDFDPC _In_ BOOLEAN Wait
Definition: wdfdpc.h:170
_In_ WDFREQUEST _In_ size_t _In_ size_t _In_ ULONG IoControlCode
Definition: wdfio.h:325
_In_ WDFREQUEST _In_ size_t OutputBufferLength
Definition: wdfio.h:320
_In_ WDFREQUEST _In_ size_t _In_ size_t InputBufferLength
Definition: wdfio.h:322
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR OutputBuffer
Definition: wdfiotarget.h:863
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR InputBuffer
Definition: wdfiotarget.h:953
_In_ WDFMEMORY _Out_opt_ size_t * BufferSize
Definition: wdfmemory.h:254
_Must_inspect_result_ _In_opt_ WDFKEY _In_ PCUNICODE_STRING _In_ ACCESS_MASK _In_ ULONG _Out_opt_ PULONG CreateDisposition
Definition: wdfregistry.h:120
_Must_inspect_result_ _In_opt_ WDFKEY _In_ PCUNICODE_STRING _In_ ACCESS_MASK _In_ ULONG CreateOptions
Definition: wdfregistry.h:118
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING ValueName
Definition: wdfregistry.h:243
_In_ WDFTIMER _In_ LONGLONG DueTime
Definition: wdftimer.h:190
#define _WDMDDK_
Definition: wdm.template.h:26
_In_ USHORT _In_ ULONG _In_ PSOCKADDR _In_ PSOCKADDR _Reserved_ ULONG _In_opt_ PVOID _In_opt_ const WSK_CLIENT_CONNECTION_DISPATCH _In_opt_ PEPROCESS _In_opt_ PETHREAD _In_opt_ PSECURITY_DESCRIPTOR SecurityDescriptor
Definition: wsk.h:191
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
_In_ PVOID _Out_opt_ PULONG_PTR _Outptr_opt_ PCUNICODE_STRING * ObjectName
Definition: cmfuncs.h:64
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Out_ PIO_STATUS_BLOCK _In_opt_ PLARGE_INTEGER _In_ ULONG _In_ ULONG _In_ ULONG _In_ ULONG _In_opt_ PVOID EaBuffer
Definition: iofuncs.h:845
enum _TIMER_SET_INFORMATION_CLASS TIMER_SET_INFORMATION_CLASS
ret QuadPart
Definition: rtlfuncs.h:3089
_In_opt_ PVOID _In_opt_ PUNICODE_STRING _In_ PSECURITY_DESCRIPTOR _In_ PACCESS_STATE _In_ BOOLEAN _In_ BOOLEAN _In_ KPROCESSOR_MODE _In_opt_ GUID _Out_ PBOOLEAN GenerateOnClose
Definition: sefuncs.h:422
_In_ PSECURITY_SUBJECT_CONTEXT _In_ BOOLEAN _In_ ACCESS_MASK _In_ ACCESS_MASK _Outptr_opt_ PPRIVILEGE_SET _In_ PGENERIC_MAPPING _In_ KPROCESSOR_MODE _Out_ PACCESS_MASK _Out_ PNTSTATUS AccessStatus
Definition: sefuncs.h:21
_In_ PSECURITY_SUBJECT_CONTEXT _In_ BOOLEAN _In_ ACCESS_MASK _In_ ACCESS_MASK _Outptr_opt_ PPRIVILEGE_SET _In_ PGENERIC_MAPPING _In_ KPROCESSOR_MODE _Out_ PACCESS_MASK GrantedAccess
Definition: sefuncs.h:20
enum _TOKEN_INFORMATION_CLASS TOKEN_INFORMATION_CLASS
NTSYSAPI NTSTATUS NTAPI ZwSetSystemTime(_In_ PLARGE_INTEGER NewTime, _Out_opt_ PLARGE_INTEGER OldTime)
_In_ TRANSACTIONMANAGER_INFORMATION_CLASS _In_ PVOID TransactionManagerInformation
Definition: zwfuncs.h:805
NTSYSAPI NTSTATUS NTAPI ZwSaveKey(_In_ HANDLE KeyHandle, _In_ HANDLE FileHandle)
_In_ OBJECT_INFORMATION_CLASS ObjectInformationClass
Definition: zwfuncs.h:489
NTSYSAPI NTSTATUS NTAPI ZwResetEvent(_In_ HANDLE EventHandle, _Out_opt_ PLONG NumberOfWaitingThreads)
_In_ HANDLE _Outptr_result_bytebuffer_ ViewSize PVOID _In_ ULONG_PTR _In_ SIZE_T _Inout_opt_ PLARGE_INTEGER _Inout_ PSIZE_T _In_ SECTION_INHERIT InheritDisposition
Definition: zwfuncs.h:219
_Out_ PIO_STATUS_BLOCK _In_ ULONG _In_ BOOLEAN _In_ ULONG _In_opt_ PULONG _In_ BOOLEAN RestartScan
Definition: zwfuncs.h:55
_In_ OBJECT_INFORMATION_CLASS _In_ ULONG _Out_opt_ PULONG ReturnLength
Definition: zwfuncs.h:492
_In_ TOKEN_INFORMATION_CLASS TokenInformationClass
Definition: zwfuncs.h:653
_In_ TRANSACTIONMANAGER_INFORMATION_CLASS TransactionManagerInformationClass
Definition: zwfuncs.h:793
_In_ PLARGE_INTEGER _In_opt_ PTIMER_APC_ROUTINE _In_opt_ PVOID _In_ BOOLEAN ResumeTimer
Definition: zwfuncs.h:431
_In_ NTSTATUS ExitStatus
Definition: zwfuncs.h:28
NTSYSAPI NTSTATUS NTAPI ZwPulseEvent(_In_ HANDLE EventHandle, _In_opt_ PLONG PulseCount)
NTSYSAPI NTSTATUS NTAPI ZwOpenProcessToken(_In_ HANDLE ProcessHandle, _In_ ACCESS_MASK DesiredAccess, _Out_ PHANDLE TokenHandle)
_Out_ PIO_STATUS_BLOCK IoStatusBlock
Definition: zwfuncs.h:48
_In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_ EVENT_TYPE EventType
Definition: zwfuncs.h:518
NTSYSCALLAPI NTSTATUS NTAPI ZwRollbackComplete(_In_ HANDLE EnlistmentHandle, _In_opt_ PLARGE_INTEGER TmVirtualClock)
_In_ BOOLEAN _In_opt_ PLARGE_INTEGER Timeout
Definition: zwfuncs.h:627
_Out_ PIO_STATUS_BLOCK _In_ ULONG _In_ FS_INFORMATION_CLASS FsInformationClass
Definition: zwfuncs.h:462
_In_ ACCESS_MASK _In_ HANDLE RmHandle
Definition: zwfuncs.h:969
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID _Out_ PIO_STATUS_BLOCK _In_ ULONG _In_ BOOLEAN _In_ ULONG _In_ BOOLEAN Asynchronous
Definition: zwfuncs.h:508
_Out_ PFILE_NETWORK_OPEN_INFORMATION FileInformation
Definition: zwfuncs.h:383
_In_ TRANSACTION_INFORMATION_CLASS _In_ PVOID TransactionInformation
Definition: zwfuncs.h:864
_Inout_ PUNICODE_STRING LinkTarget
Definition: zwfuncs.h:292
_In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_opt_ LPGUID _In_opt_ HANDLE TmHandle
Definition: zwfuncs.h:828
_In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_ BOOLEAN _In_ TOKEN_TYPE _Out_ PHANDLE NewTokenHandle
Definition: zwfuncs.h:77
_In_ BOOLEAN Alertable
Definition: zwfuncs.h:626
_In_ TRANSACTIONMANAGER_INFORMATION_CLASS _In_ ULONG TransactionManagerInformationLength
Definition: zwfuncs.h:795
NTSYSAPI NTSTATUS NTAPI ZwFlushBuffersFile(_In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock)
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _In_opt_ PCLIENT_ID ClientId
Definition: zwfuncs.h:38
_In_ HANDLE SourceHandle
Definition: zwfuncs.h:578
_In_ ACCESS_MASK _In_ ULONG _Out_ PHANDLE TokenHandle
Definition: zwfuncs.h:691
_In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_opt_ LPGUID _In_opt_ HANDLE _In_opt_ ULONG _In_opt_ ULONG _In_opt_ ULONG IsolationFlags
Definition: zwfuncs.h:831
$if(_WDMDDK_) $endif(_WDMDDK_) $if(_NTDDK_) _IRQL_requires_max_(PASSIVE_LEVEL) NTSYSAPI NTSTATUS NTAPI ZwAllocateLocallyUniqueId(_Out_ PLUID Luid)
Definition: ke.h:1
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID _Out_ PIO_STATUS_BLOCK _In_ ULONG NotifyFilter
Definition: zwfuncs.h:504
NTSYSAPI NTSTATUS NTAPI ZwYieldExecution(VOID)
_In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_ TIMER_TYPE TimerType
Definition: zwfuncs.h:403
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Out_ PIO_STATUS_BLOCK _In_opt_ PLARGE_INTEGER AllocationSize
Definition: zwfuncs.h:108
_In_ PLARGE_INTEGER _In_opt_ PTIMER_APC_ROUTINE _In_opt_ PVOID TimerContext
Definition: zwfuncs.h:430
_Out_ PIO_STATUS_BLOCK _In_ ULONG _In_ BOOLEAN _In_ ULONG _In_opt_ PULONG EaIndex
Definition: zwfuncs.h:54
NTSYSAPI NTSTATUS NTAPI ZwQueryMultipleValueKey(_In_ HANDLE KeyHandle, _Inout_ PKEY_VALUE_ENTRY ValueEntries, _In_ ULONG EntryCount, _Out_ PVOID ValueBuffer, _Inout_ PULONG BufferLength, _Out_opt_ PULONG RequiredBufferLength)
_In_ THREADINFOCLASS _In_ ULONG ThreadInformationLength
Definition: zwfuncs.h:421
NTSYSAPI NTSTATUS NTAPI ZwWaitForMultipleObjects(_In_ ULONG HandleCount, _In_ PHANDLE Handles, _In_ WAIT_TYPE WaitType, _In_ BOOLEAN Alertable, _In_opt_ PLARGE_INTEGER Timeout)
_In_ ACCESS_MASK _In_ HANDLE ResourceManagerHandle
Definition: zwfuncs.h:955
NTSYSAPI NTSTATUS NTAPI ZwOpenThread(_Out_ PHANDLE ThreadHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes, _In_ PCLIENT_ID ClientId)
_In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_opt_ PLARGE_INTEGER MaximumSize
Definition: zwfuncs.h:138
_Out_ PIO_STATUS_BLOCK _In_ ULONG _In_ BOOLEAN ReturnSingleEntry
Definition: zwfuncs.h:51
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID _Out_ PIO_STATUS_BLOCK _In_ ULONG FsControlCode
Definition: zwfuncs.h:566
$endif(_NTDDK_) $if(_NTIFS_) _IRQL_requires_max_(PASSIVE_LEVEL) NTSYSAPI NTSTATUS NTAPI ZwQueryEaFile(_In_ HANDLE FileHandle
Definition: iofuncs.h:2494
_In_ HANDLE _In_opt_ HANDLE _Out_opt_ PHANDLE TargetHandle
Definition: zwfuncs.h:580
_In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_opt_ PLARGE_INTEGER _In_ ULONG _In_ ULONG _In_opt_ HANDLE FileHandle
Definition: zwfuncs.h:141
NTSYSAPI NTSTATUS NTAPI ZwSetInformationProcess(_In_ HANDLE ProcessHandle, _In_ PROCESSINFOCLASS ProcessInformationClass, _In_ PVOID ProcessInformation, _In_ ULONG ProcessInformationLength)
_In_ ULONG _In_ KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass
Definition: zwfuncs.h:181
NTSYSAPI NTSTATUS NTAPI ZwReplaceKey(_In_ POBJECT_ATTRIBUTES NewFileObjectAttributes, _In_ HANDLE KeyHandle, _In_ POBJECT_ATTRIBUTES OldFileObjectAttributes)
_In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_opt_ PLARGE_INTEGER _In_ ULONG SectionPageProtection
Definition: zwfuncs.h:139
_In_ HANDLE _Outptr_result_bytebuffer_ ViewSize PVOID _In_ ULONG_PTR _In_ SIZE_T _Inout_opt_ PLARGE_INTEGER _Inout_ PSIZE_T ViewSize
Definition: zwfuncs.h:218
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID ApcContext
Definition: zwfuncs.h:317
NTSYSAPI NTSTATUS NTAPI ZwCreateSymbolicLinkObject(_Out_ PHANDLE SymbolicLinkHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes, _In_ PUNICODE_STRING TargetName)
_In_ HANDLE ProcessHandle
Definition: zwfuncs.h:213
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Reserved_ ULONG _In_opt_ PUNICODE_STRING _In_ ULONG _Out_opt_ PULONG Disposition
Definition: zwfuncs.h:128
_In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_ EVENT_TYPE _In_ BOOLEAN InitialState
Definition: zwfuncs.h:519
_In_ TRANSACTION_INFORMATION_CLASS TransactionInformationClass
Definition: zwfuncs.h:852
_In_ ENLISTMENT_INFORMATION_CLASS _In_ ULONG EnlistmentInformationLength
Definition: zwfuncs.h:981
_In_ HANDLE _Outptr_result_bytebuffer_ ViewSize PVOID _In_ ULONG_PTR ZeroBits
Definition: zwfuncs.h:215
_In_ PLARGE_INTEGER _In_opt_ PTIMER_APC_ROUTINE TimerApcRoutine
Definition: zwfuncs.h:429
_In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_ BOOLEAN EffectiveOnly
Definition: zwfuncs.h:75
NTSYSAPI NTSTATUS NTAPI ZwNotifyChangeMultipleKeys(_In_ HANDLE MasterKeyHandle, _In_opt_ ULONG Count, _In_opt_ OBJECT_ATTRIBUTES SubordinateObjects[], _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ ULONG CompletionFilter, _In_ BOOLEAN WatchTree, _Out_opt_ PVOID Buffer, _In_ ULONG BufferSize, _In_ BOOLEAN Asynchronous)
_In_ TIMER_SET_INFORMATION_CLASS _In_ ULONG TimerSetInformationLength
Definition: zwfuncs.h:1225
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Reserved_ ULONG TitleIndex
Definition: zwfuncs.h:125
_In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_opt_ PLARGE_INTEGER _In_ ULONG _In_ ULONG AllocationAttributes
Definition: zwfuncs.h:140
_In_ RESOURCEMANAGER_INFORMATION_CLASS ResourceManagerInformationClass
Definition: zwfuncs.h:933
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Out_ PIO_STATUS_BLOCK _In_ ULONG _In_ ULONG OpenOptions
Definition: zwfuncs.h:233
_Out_ PIO_STATUS_BLOCK _In_ ULONG _In_ BOOLEAN _In_ ULONG _In_opt_ PSID StartSid
Definition: zwfuncs.h:1121
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID _Out_ PIO_STATUS_BLOCK _In_ PLARGE_INTEGER _In_ PLARGE_INTEGER _In_ ULONG _In_ BOOLEAN FailImmediately
Definition: zwfuncs.h:1095
_In_ PUNICODE_STRING _In_opt_ ULONG _In_ ULONG _In_ ULONG DataSize
Definition: zwfuncs.h:345
_In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_opt_ LPGUID _In_opt_ HANDLE _In_opt_ ULONG _In_opt_ ULONG _In_opt_ ULONG _In_opt_ PLARGE_INTEGER _In_opt_ PUNICODE_STRING Description
Definition: zwfuncs.h:833
_In_ HANDLE _Outptr_result_bytebuffer_ ViewSize PVOID _In_ ULONG_PTR _In_ SIZE_T _Inout_opt_ PLARGE_INTEGER _Inout_ PSIZE_T _In_ SECTION_INHERIT _In_ ULONG AllocationType
Definition: zwfuncs.h:220
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Reserved_ ULONG _In_opt_ PUNICODE_STRING _In_ ULONG _In_ HANDLE TransactionHandle
Definition: zwfuncs.h:735
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE ApcRoutine
Definition: zwfuncs.h:316
_In_ PLARGE_INTEGER _In_opt_ PTIMER_APC_ROUTINE _In_opt_ PVOID _In_ BOOLEAN _In_opt_ LONG Period
Definition: zwfuncs.h:432
_In_ _In_ ULONG KeySetInformationLength
Definition: zwfuncs.h:1213
_In_ ACCESS_MASK _In_ HANDLE _In_ HANDLE _In_opt_ POBJECT_ATTRIBUTES _In_opt_ ULONG _In_ NOTIFICATION_MASK _In_opt_ PVOID EnlistmentKey
Definition: zwfuncs.h:960
NTSYSAPI NTSTATUS NTAPI ZwUnloadKey(_In_ POBJECT_ATTRIBUTES KeyObjectAttributes)
_In_ RESOURCEMANAGER_INFORMATION_CLASS _In_ ULONG ResourceManagerInformationLength
Definition: zwfuncs.h:935
_In_ ULONG _In_ KEY_INFORMATION_CLASS KeyInformationClass
Definition: zwfuncs.h:167
_Out_ PTRANSACTION_NOTIFICATION _In_ ULONG NotificationLength
Definition: zwfuncs.h:921
_In_ ACCESS_MASK _In_ BOOLEAN OpenAsSelf
Definition: zwfuncs.h:700
_In_ KTMOBJECT_TYPE QueryType
Definition: zwfuncs.h:814
_In_ HANDLE _Outptr_result_bytebuffer_ ViewSize PVOID _In_ ULONG_PTR _In_ SIZE_T _Inout_opt_ PLARGE_INTEGER SectionOffset
Definition: zwfuncs.h:217
_Post_satisfies_(return< 0)) _When_(Length > 0
_In_ THREADINFOCLASS ThreadInformationClass
Definition: zwfuncs.h:419
_In_ HANDLE _In_opt_ HANDLE _Out_opt_ PHANDLE _In_ ACCESS_MASK _In_ ULONG HandleAttributes
Definition: zwfuncs.h:582
NTSYSAPI NTSTATUS NTAPI ZwAlertThread(_In_ HANDLE ThreadHandle)
_In_ TIMER_SET_INFORMATION_CLASS TimerSetInformationClass
Definition: zwfuncs.h:1223
_In_ TOKEN_INFORMATION_CLASS _In_ ULONG TokenInformationLength
Definition: zwfuncs.h:1237
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID _Out_ PIO_STATUS_BLOCK _In_ PLARGE_INTEGER _In_ PLARGE_INTEGER _In_ ULONG _In_ BOOLEAN _In_ BOOLEAN ExclusiveLock
Definition: zwfuncs.h:1096
_In_ SECURITY_INFORMATION SecurityInformation
Definition: zwfuncs.h:664
_In_opt_ PLARGE_INTEGER TmVirtualClock
Definition: zwfuncs.h:778
_In_ ACCESS_MASK _In_ HANDLE _In_ HANDLE _In_opt_ POBJECT_ATTRIBUTES _In_opt_ ULONG _In_ NOTIFICATION_MASK NotificationMask
Definition: zwfuncs.h:959
NTSYSAPI NTSTATUS NTAPI ZwAccessCheckAndAuditAlarm(_In_ PUNICODE_STRING SubsystemName, _In_ PVOID HandleId, _In_ PUNICODE_STRING ObjectTypeName, _In_ PUNICODE_STRING ObjectName, _In_ PSECURITY_DESCRIPTOR SecurityDescriptor, _In_ ACCESS_MASK DesiredAccess, _In_ PGENERIC_MAPPING GenericMapping, _In_ BOOLEAN ObjectCreation, _Out_ PACCESS_MASK GrantedAccess, _Out_ PBOOLEAN AccessStatus, _Out_ PBOOLEAN GenerateOnClose)
NTSYSCALLAPI NTSTATUS NTAPI ZwSinglePhaseReject(_In_ HANDLE EnlistmentHandle, _In_opt_ PLARGE_INTEGER TmVirtualClock)
_In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_opt_ PUNICODE_STRING LogFileName
Definition: zwfuncs.h:756
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Out_ PIO_STATUS_BLOCK _In_opt_ PLARGE_INTEGER _In_ ULONG FileAttributes
Definition: zwfuncs.h:109
_Inout_ PUNICODE_STRING _Out_opt_ PULONG ReturnedLength
Definition: zwfuncs.h:293
_In_ HANDLE _Outptr_result_bytebuffer_ ViewSize PVOID _In_ ULONG_PTR _In_ SIZE_T CommitSize
Definition: zwfuncs.h:216
NTSYSAPI NTSTATUS NTAPI ZwFlushInstructionCache(_In_ HANDLE ProcessHandle, _In_opt_ PVOID BaseAddress, _In_ ULONG FlushSize)
_Out_ PIO_STATUS_BLOCK _In_ ULONG _In_ BOOLEAN _In_ ULONG SidListLength
Definition: zwfuncs.h:1120
_In_ ACCESS_MASK _In_ HANDLE _In_ LPGUID EnlistmentGuid
Definition: zwfuncs.h:970
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID _Out_ PIO_STATUS_BLOCK _In_ ULONG _In_opt_ PLARGE_INTEGER ByteOffset
Definition: zwfuncs.h:321
_In_ PUNICODE_STRING NewName
Definition: zwfuncs.h:1203
_In_ ENLISTMENT_INFORMATION_CLASS EnlistmentInformationClass
Definition: zwfuncs.h:979
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Out_ PIO_STATUS_BLOCK _In_opt_ PLARGE_INTEGER _In_ ULONG _In_ ULONG _In_ ULONG _In_ ULONG _In_ ULONG EaLength
Definition: zwfuncs.h:115
_In_ ACCESS_MASK _In_ HANDLE _In_opt_ LPGUID ResourceManagerGuid
Definition: zwfuncs.h:891
_In_ TRANSACTION_INFORMATION_CLASS _In_ ULONG TransactionInformationLength
Definition: zwfuncs.h:854
_Out_ PIO_STATUS_BLOCK _In_ ULONG _In_ FILE_INFORMATION_CLASS FileInformationClass
Definition: zwfuncs.h:271
NTSYSAPI NTSTATUS NTAPI ZwCloseObjectAuditAlarm(_In_ PUNICODE_STRING SubsystemName, _In_ PVOID HandleId, _In_ BOOLEAN GenerateOnClose)
_Out_ PTRANSACTION_NOTIFICATION _In_ ULONG _In_ PLARGE_INTEGER _Out_opt_ PULONG _In_ ULONG _In_opt_ ULONG_PTR AsynchronousContext
Definition: zwfuncs.h:925
_Inout_ _Inout_ PSIZE_T RegionSize
Definition: zwfuncs.h:615
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID _Out_ PIO_STATUS_BLOCK _In_ ULONG _In_ BOOLEAN WatchSubtree
Definition: zwfuncs.h:505
_In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_opt_ PUNICODE_STRING _In_opt_ LPGUID TmIdentity
Definition: zwfuncs.h:769
_Out_ PIO_STATUS_BLOCK _In_ ULONG _In_ BOOLEAN _In_ ULONG EaListLength
Definition: zwfuncs.h:53
_In_ KTMOBJECT_TYPE _In_ ULONG ObjectCursorLength
Definition: zwfuncs.h:816
NTSYSAPI NTSTATUS NTAPI ZwClearEvent(_In_ HANDLE EventHandle)
_Out_opt_ PBOOLEAN CurrentState
Definition: zwfuncs.h:393
NTSYSAPI NTSTATUS NTAPI ZwQueryDefaultLocale(_In_ BOOLEAN UserProfile, _Out_ PLCID DefaultLocaleId)
NTSYSAPI NTSTATUS NTAPI ZwSetDefaultLocale(_In_ BOOLEAN UserProfile, _In_ LCID DefaultLocaleId)
NTSYSAPI NTSTATUS NTAPI ZwOpenThreadToken(_In_ HANDLE ThreadHandle, _In_ ACCESS_MASK DesiredAccess, _In_ BOOLEAN OpenAsSelf, _Out_ PHANDLE TokenHandle)
_In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_ BOOLEAN _In_ TOKEN_TYPE TokenType
Definition: zwfuncs.h:76
_In_opt_ HANDLE EventHandle
Definition: zwfuncs.h:500
_In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_opt_ PUNICODE_STRING _In_opt_ ULONG _In_opt_ ULONG CommitStrength
Definition: zwfuncs.h:758
_In_ HANDLE _Outptr_result_bytebuffer_ ViewSize PVOID _In_ ULONG_PTR _In_ SIZE_T _Inout_opt_ PLARGE_INTEGER _Inout_ PSIZE_T _In_ SECTION_INHERIT _In_ ULONG _In_ ULONG Protect
Definition: zwfuncs.h:221
_In_ HANDLE _In_opt_ HANDLE TargetProcessHandle
Definition: zwfuncs.h:579
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES ObjectAttributes
Definition: zwfuncs.h:37
_In_ OBJECT_INFORMATION_CLASS _In_ ULONG ObjectInformationLength
Definition: zwfuncs.h:491
NTSYSAPI NTSTATUS NTAPI ZwLoadKey(_In_ POBJECT_ATTRIBUTES KeyObjectAttributes, _In_ POBJECT_ATTRIBUTES FileObjectAttributes)
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Out_ PIO_STATUS_BLOCK _In_opt_ PLARGE_INTEGER _In_ ULONG _In_ ULONG ShareAccess
Definition: zwfuncs.h:110
_In_ HANDLE _Outptr_result_bytebuffer_ ViewSize PVOID * BaseAddress
Definition: zwfuncs.h:214
_In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_opt_ LPGUID _In_opt_ HANDLE _In_opt_ ULONG _In_opt_ ULONG IsolationLevel
Definition: zwfuncs.h:830
_Out_ PTRANSACTION_NOTIFICATION TransactionNotification
Definition: zwfuncs.h:920
_Inout_ _Inout_ PSIZE_T _In_ ULONG FreeType
Definition: zwfuncs.h:616
_In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_opt_ LPGUID Uow
Definition: zwfuncs.h:827