ReactOS 0.4.16-dev-329-g9223134
exfuncs.h
Go to the documentation of this file.
1/*++ NDK Version: 0098
2
3Copyright (c) Alex Ionescu. All rights reserved.
4
5Header Name:
6
7 exfuncs.h
8
9Abstract:
10
11 Function definitions for the Executive.
12
13Author:
14
15 Alex Ionescu (alexi@tinykrnl.org) - Updated - 27-Feb-2006
16
17--*/
18
19#ifndef _EXFUNCS_H
20#define _EXFUNCS_H
21
22//
23// Dependencies
24//
25#include <umtypes.h>
26#include <pstypes.h>
27#include <extypes.h>
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
33//
34// Don't include WMI headers just for one define
35//
36#ifndef PEVENT_TRACE_HEADER_DEFINED
37#define PEVENT_TRACE_HEADER_DEFINED
39#endif
40
41#ifndef NTOS_MODE_USER
42//
43// Fast Mutex functions
44//
45VOID
48 _Inout_ PFAST_MUTEX FastMutex
49);
50
51VOID
54 _Inout_ PFAST_MUTEX FastMutex
55);
56
57//
58// Pushlock functions
59//
60VOID
63 _Inout_ PEX_PUSH_LOCK PushLock
64);
65
66VOID
69 _Inout_ PEX_PUSH_LOCK PushLock
70);
71
72VOID
75 _Inout_ PEX_PUSH_LOCK PushLock
76);
77
78VOID
81 _Inout_ PEX_PUSH_LOCK PushLock
82);
83
84VOID
87 _Inout_ PEX_PUSH_LOCK PushLock
88);
89
90VOID
93 _Inout_ PEX_PUSH_LOCK PushLock
94);
95
96VOID
99 _Inout_ PEX_PUSH_LOCK PushLock,
100 _Inout_ PVOID CurrentWaitBlock
101);
102
103//
104// Handle Table Functions
105//
108NTAPI
111 _In_ PEX_ENUM_HANDLE_CALLBACK EnumHandleProcedure,
114);
115
116//
117// HardError Functions
118//
120NTAPI
122 _In_ NTSTATUS ErrorStatus,
123 _In_ ULONG NumberOfParameters,
124 _In_ ULONG UnicodeStringParameterMask,
126 _In_ ULONG ValidResponseOptions,
128);
129
130#endif
131
132//
133// Native Calls
134//
137NTAPI
139 _In_ PWSTR AtomName,
140 _In_ ULONG AtomNameLength,
142);
143
146NTAPI
148 _In_ HANDLE TimerHandle,
150);
151
154NTAPI
157);
158
162NTAPI
169);
170
173NTAPI
175 _Out_ PHANDLE EventPairHandle,
178);
179
183NTAPI
185 _Out_ PHANDLE OutHandle,
189);
190
193NTAPI
195 _Out_ PHANDLE MutantHandle,
199);
200
203NTAPI
205 _Out_ PHANDLE SemaphoreHandle,
208 _In_ LONG InitialCount,
210);
211
214NTAPI
216 _Out_ PHANDLE TimerHandle,
220);
221
224NTAPI
227);
228
231NTAPI
234);
235
238NTAPI
243);
244
247NTAPI
249 _In_ PWSTR AtomName,
250 _In_ ULONG AtomNameLength,
252);
253
256NTAPI
261);
262
266NTAPI
268 _Out_ PHANDLE OutHandle,
271);
272
275NTAPI
277 _Out_ PHANDLE EventPairHandle,
280);
281
284NTAPI
286 _Out_ PHANDLE MutantHandle,
289);
290
293NTAPI
295 _Out_ PHANDLE SemaphoreHandle,
296 _In_ ACCESS_MASK DesiredAcces,
298);
299
302NTAPI
304 _Out_ PHANDLE TimerHandle,
307);
308
311NTAPI
314 _In_opt_ PLONG PulseCount
315);
316
319NTAPI
321 _In_ BOOLEAN UserProfile,
322 _Out_ PLCID DefaultLocaleId
323);
324
327NTAPI
329 LANGID* LanguageId
330);
331
334NTAPI
337 _In_ EVENT_INFORMATION_CLASS EventInformationClass,
338 _Out_ PVOID EventInformation,
339 _In_ ULONG EventInformationLength,
341);
342
345NTAPI
348 _In_ ATOM_INFORMATION_CLASS AtomInformationClass,
349 _Out_ PVOID AtomInformation,
350 _In_ ULONG AtomInformationLength,
352);
353
356NTAPI
358 LANGID* LanguageId
359);
360
363NTAPI
365 _In_ HANDLE MutantHandle,
366 _In_ MUTANT_INFORMATION_CLASS MutantInformationClass,
367 _Out_ PVOID MutantInformation,
370);
371
374NTAPI
376 _In_ HANDLE SemaphoreHandle,
377 _In_ SEMAPHORE_INFORMATION_CLASS SemaphoreInformationClass,
378 _Out_ PVOID SemaphoreInformation,
381);
382
385NTAPI
391);
392
395NTAPI
397 _In_ PUNICODE_STRING VariableName,
398 _In_ LPGUID VendorGuid,
402);
403
407NTAPI
409 _In_ SYSTEM_INFORMATION_CLASS SystemInformationClass,
410 _Out_writes_bytes_to_opt_(SystemInformationLength, *ReturnLength) PVOID SystemInformation,
411 _In_ ULONG SystemInformationLength,
413);
414
417NTAPI
419 _In_ HANDLE TimerHandle,
420 _In_ TIMER_INFORMATION_CLASS TimerInformationClass,
421 _Out_ PVOID TimerInformation,
424);
425
428NTAPI
430 _In_ NTSTATUS ErrorStatus,
431 _In_ ULONG NumberOfParameters,
432 _In_ ULONG UnicodeStringParameterMask,
434 _In_ ULONG ValidResponseOptions,
436);
437
440NTAPI
442 _In_ HANDLE MutantHandle,
443 _In_opt_ PLONG ReleaseCount
444);
445
449NTAPI
455);
456
459NTAPI
461 _In_ HANDLE SemaphoreHandle,
462 _In_ LONG ReleaseCount,
463 _Out_opt_ PLONG PreviousCount
464);
465
468NTAPI
471 _Out_opt_ PLONG NumberOfWaitingThreads
472);
473
476NTAPI
478 _In_ BOOLEAN UserProfile,
479 _In_ LCID DefaultLocaleId
480);
481
484NTAPI
486 LANGID LanguageId
487);
488
491NTAPI
493 _In_ HANDLE PortHandle
494);
495
498NTAPI
502);
503
506NTAPI
509);
510
513NTAPI
515 _In_ HANDLE EventPairHandle
516);
517
520NTAPI
522 _In_ HANDLE EventPairHandle
523);
524
527NTAPI
529 _In_ HANDLE EventPair
530);
531
534NTAPI
536 _In_ HANDLE EventPair
537);
538
541NTAPI
543 _In_ PUNICODE_STRING VariableName,
545);
546
549NTAPI
551 _In_ PUNICODE_STRING VariableName,
552 _In_ LPGUID VendorGuid,
556);
557
561NTAPI
563 _In_ SYSTEM_INFORMATION_CLASS SystemInformationClass,
564 _In_reads_bytes_(SystemInformationLength) PVOID SystemInformation,
565 _In_ ULONG SystemInformationLength
566);
567
570NTAPI
572 _In_ HANDLE TimerHandle,
576 _In_ BOOLEAN WakeTimer,
579);
580
583NTAPI
585 _In_ PUCHAR UuidSeed
586);
587
590NTAPI
593);
594
598NTAPI
601 _In_ PVOID Key,
604);
605
608NTAPI
610 _In_ HANDLE EventPairHandle
611);
612
615NTAPI
617 _In_ HANDLE EventPairHandle
618);
619
622NTAPI
624 _In_ ULONG TraceHandle,
626 _In_ ULONG TraceHeaderLength,
627 _In_ PEVENT_TRACE_HEADER TraceHeader
628);
629
632NTAPI
634 _In_ PWSTR AtomName,
635 _In_ ULONG AtomNameLength,
637);
638
639#ifdef NTOS_MODE_USER
642NTAPI
643ZwCancelTimer(
644 _In_ HANDLE TimerHandle,
646);
647#endif
648
651NTAPI
654);
655
659NTAPI
660ZwCreateEvent(
666);
667
670NTAPI
672 _Out_ PHANDLE EventPairHandle,
675);
676
680NTAPI
681ZwCreateKeyedEvent(
682 _Out_ PHANDLE OutHandle,
686);
687
690NTAPI
692 _Out_ PHANDLE MutantHandle,
696);
697
700NTAPI
702 _Out_ PHANDLE SemaphoreHandle,
705 _In_ LONG InitialCount,
707);
708
709#ifdef NTOS_MODE_USER
712NTAPI
713ZwCreateTimer(
714 _Out_ PHANDLE TimerHandle,
718);
719#endif
720
723NTAPI
726);
727
730NTAPI
733);
734
737NTAPI
739 _In_ PWSTR AtomName,
740 _In_ ULONG AtomNameLength,
742);
743
746NTAPI
751);
752
755NTAPI
757 _Out_ PHANDLE EventPairHandle,
760);
761
764NTAPI
766 _Out_ PHANDLE MutantHandle,
769);
770
773NTAPI
775 _Out_ PHANDLE SemaphoreHandle,
776 _In_ ACCESS_MASK DesiredAcces,
778);
779
780#ifdef NTOS_MODE_USER
783NTAPI
784ZwOpenTimer(
785 _Out_ PHANDLE TimerHandle,
788);
789#endif
790
793NTAPI
796 _In_opt_ PLONG PulseCount
797);
798
801NTAPI
803 _In_ BOOLEAN UserProfile,
804 _Out_ PLCID DefaultLocaleId
805);
806
809NTAPI
811 LANGID* LanguageId
812);
813
816NTAPI
819 _In_ EVENT_INFORMATION_CLASS EventInformationClass,
820 _Out_ PVOID EventInformation,
821 _In_ ULONG EventInformationLength,
823);
824
827NTAPI
830 _In_ ATOM_INFORMATION_CLASS AtomInformationClass,
831 _Out_ PVOID AtomInformation,
832 _In_ ULONG AtomInformationLength,
834);
835
838NTAPI
840 LANGID* LanguageId
841);
842
845NTAPI
847 _In_ HANDLE MutantHandle,
848 _In_ MUTANT_INFORMATION_CLASS MutantInformationClass,
849 _Out_ PVOID MutantInformation,
852);
853
856NTAPI
858 _In_ HANDLE SemaphoreHandle,
859 _In_ SEMAPHORE_INFORMATION_CLASS SemaphoreInformationClass,
860 _Out_ PVOID SemaphoreInformation,
863);
864
867NTAPI
873);
874
877NTAPI
879 _In_ SYSTEM_INFORMATION_CLASS SystemInformationClass,
880 _Out_writes_bytes_to_opt_(SystemInformationLength, *ReturnLength) PVOID SystemInformation,
881 _In_ ULONG SystemInformationLength,
883);
884
887NTAPI
889 _In_ HANDLE TimerHandle,
890 _In_ TIMER_INFORMATION_CLASS TimerInformationClass,
891 _Out_ PVOID TimerInformation,
894);
895
898NTAPI
900 _In_ NTSTATUS ErrorStatus,
901 _In_ ULONG NumberOfParameters,
902 _In_ ULONG UnicodeStringParameterMask,
904 _In_ ULONG ValidResponseOptions,
906);
907
910NTAPI
912 _In_ HANDLE MutantHandle,
913 _In_opt_ PLONG ReleaseCount
914);
915
918NTAPI
920 _In_ HANDLE SemaphoreHandle,
921 _In_ LONG ReleaseCount,
922 _Out_opt_ PLONG PreviousCount
923);
924
927NTAPI
930 _Out_opt_ PLONG NumberOfWaitingThreads
931);
932
935NTAPI
937 _In_ BOOLEAN UserProfile,
938 _In_ LCID DefaultLocaleId
939);
940
943NTAPI
945 LANGID LanguageId
946);
947
950NTAPI
952 _In_ HANDLE PortHandle
953);
954
957NTAPI
961);
962
965NTAPI
967 _In_ HANDLE EventPairHandle
968);
969
972NTAPI
974 _In_ HANDLE EventPairHandle
975);
976
979NTAPI
981 _In_ HANDLE EventPair
982);
983
986NTAPI
988 _In_ HANDLE EventPair
989);
990
993NTAPI
995 _In_ PUNICODE_STRING VariableName,
997);
998
1001NTAPI
1003 _In_ SYSTEM_INFORMATION_CLASS SystemInformationClass,
1004 _In_reads_bytes_(SystemInformationLength) PVOID SystemInformation,
1005 _In_ ULONG SystemInformationLength
1006);
1007
1008#ifdef NTOS_MODE_USER
1011NTAPI
1012ZwSetTimer(
1013 _In_ HANDLE TimerHandle,
1017 _In_ BOOLEAN WakeTimer,
1020);
1021#endif
1022
1025NTAPI
1027 _In_ PUCHAR UuidSeed
1028);
1029
1032NTAPI
1035);
1036
1039NTAPI
1041 _In_ HANDLE EventPairHandle
1042);
1043
1046NTAPI
1048 _In_ HANDLE EventPairHandle
1049);
1050
1053NTAPI
1055 _In_ ULONG TraceHandle,
1057 _In_ ULONG TraceHeaderLength,
1058 _In_ PEVENT_TRACE_HEADER TraceHeader
1059);
1060
1061#ifdef __cplusplus
1062}
1063#endif
1064
1065#endif
unsigned char BOOLEAN
LONG NTSTATUS
Definition: precomp.h:26
VOID DisplayString(LPWSTR Msg)
Definition: misc.c:211
#define NTSYSAPI
Definition: ntoskrnl.h:12
Definition: bufpool.h:45
_Out_ RTL_ATOM * Atom
Definition: class.h:54
#define _IRQL_requires_max_(irql)
Definition: driverspecs.h:230
IN CINT OUT PVOID IN ULONG OUT PULONG ReturnLength
Definition: dumpinfo.c:43
#define PASSIVE_LEVEL
Definition: env_spec_w32.h:693
enum _SYSTEM_INFORMATION_CLASS SYSTEM_INFORMATION_CLASS
_In_ FILTER_INFORMATION_CLASS InformationClass
Definition: fltkernel.h:1713
ULONG Handle
Definition: gdb_input.c:15
static XMS_HANDLE HandleTable[XMS_MAX_HANDLES]
Definition: himem.c:83
NTSYSAPI NTSTATUS WINAPI NtCreateKeyedEvent(HANDLE *, ACCESS_MASK, const OBJECT_ATTRIBUTES *, ULONG)
NTSYSAPI NTSTATUS WINAPI NtOpenKeyedEvent(HANDLE *, ACCESS_MASK, const OBJECT_ATTRIBUTES *)
NTSYSAPI NTSTATUS WINAPI NtWaitForKeyedEvent(HANDLE, const void *, BOOLEAN, const LARGE_INTEGER *)
NTSYSAPI NTSTATUS WINAPI NtReleaseKeyedEvent(HANDLE, const void *, BOOLEAN, const LARGE_INTEGER *)
VOID(CALLBACK * PTIMER_APC_ROUTINE)(PVOID, ULONG, LONG)
Definition: winternl.h:2018
USHORT LANGID
Definition: mui.h:9
unsigned short RTL_ATOM
Definition: atom.c:42
unsigned short * PRTL_ATOM
Definition: atom.c:42
VOID FASTCALL ExEnterCriticalRegionAndAcquireFastMutexUnsafe(_Inout_ PFAST_MUTEX FastMutex)
VOID FASTCALL ExfAcquirePushLockShared(_Inout_ PEX_PUSH_LOCK PushLock)
_In_ PVOID _In_ BOOLEAN _In_opt_ PLARGE_INTEGER Timeout
Definition: exfuncs.h:455
NTSYSCALLAPI NTSTATUS NTAPI NtDisplayString(_In_ PUNICODE_STRING DisplayString)
NTSYSCALLAPI NTSTATUS NTAPI NtQueryDefaultUILanguage(LANGID *LanguageId)
NTSYSCALLAPI NTSTATUS NTAPI NtResetEvent(_In_ HANDLE EventHandle, _Out_opt_ PLONG NumberOfWaitingThreads)
NTSYSAPI NTSTATUS NTAPI ZwResetEvent(_In_ HANDLE EventHandle, _Out_opt_ PLONG NumberOfWaitingThreads)
NTSYSAPI NTSTATUS NTAPI ZwQueryMutant(_In_ HANDLE MutantHandle, _In_ MUTANT_INFORMATION_CLASS MutantInformationClass, _Out_ PVOID MutantInformation, _In_ ULONG Length, _Out_ PULONG ResultLength)
NTSYSCALLAPI NTSTATUS NTAPI NtWaitLowEventPair(_In_ HANDLE EventPairHandle)
NTSYSAPI NTSTATUS NTAPI ZwWaitHighEventPair(_In_ HANDLE EventPairHandle)
NTSYSAPI NTSTATUS NTAPI ZwPulseEvent(_In_ HANDLE EventHandle, _In_opt_ PLONG PulseCount)
NTSYSCALLAPI NTSTATUS NTAPI NtQuerySystemEnvironmentValueEx(_In_ PUNICODE_STRING VariableName, _In_ LPGUID VendorGuid, _Out_opt_ PVOID Value, _Inout_ PULONG ReturnLength, _Out_opt_ PULONG Attributes)
Definition: sysinfo.c:567
_In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_ EVENT_TYPE EventType
Definition: exfuncs.h:167
NTSYSCALLAPI NTSTATUS NTAPI NtSetDefaultUILanguage(LANGID LanguageId)
NTSYSAPI NTSTATUS NTAPI ZwSetSystemInformation(_In_ SYSTEM_INFORMATION_CLASS SystemInformationClass, _In_reads_bytes_(SystemInformationLength) PVOID SystemInformation, _In_ ULONG SystemInformationLength)
NTSYSAPI NTSTATUS NTAPI ZwRaiseHardError(_In_ NTSTATUS ErrorStatus, _In_ ULONG NumberOfParameters, _In_ ULONG UnicodeStringParameterMask, _In_ PULONG_PTR Parameters, _In_ ULONG ValidResponseOptions, _Out_ PULONG Response)
NTSYSCALLAPI NTSTATUS NTAPI NtSetSystemEnvironmentValueEx(_In_ PUNICODE_STRING VariableName, _In_ LPGUID VendorGuid, _In_reads_bytes_opt_(ValueLength) PVOID Value, _In_ ULONG ValueLength, _In_ ULONG Attributes)
Definition: sysinfo.c:580
NTSYSAPI NTSTATUS NTAPI ZwSetUuidSeed(_In_ PUCHAR UuidSeed)
NTSYSCALLAPI NTSTATUS NTAPI NtQueryTimer(_In_ HANDLE TimerHandle, _In_ TIMER_INFORMATION_CLASS TimerInformationClass, _Out_ PVOID TimerInformation, _In_ ULONG Length, _Out_ PULONG ResultLength)
NTSYSAPI NTSTATUS NTAPI ZwQuerySystemInformation(_In_ SYSTEM_INFORMATION_CLASS SystemInformationClass, _Out_writes_bytes_to_opt_(SystemInformationLength, *ReturnLength) PVOID SystemInformation, _In_ ULONG SystemInformationLength, _Out_opt_ PULONG ReturnLength)
NTSYSAPI NTSTATUS NTAPI ZwQueryInstallUILanguage(LANGID *LanguageId)
NTSYSCALLAPI NTSTATUS NTAPI NtSetEventBoostPriority(_In_ HANDLE EventHandle)
NTSYSCALLAPI NTSTATUS NTAPI NtOpenTimer(_Out_ PHANDLE TimerHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes)
NTSYSCALLAPI NTSTATUS NTAPI NtSetLowEventPair(_In_ HANDLE EventPair)
NTSYSAPI NTSTATUS NTAPI ZwAddAtom(_In_ PWSTR AtomName, _In_ ULONG AtomNameLength, _Inout_ PRTL_ATOM Atom)
NTSYSAPI NTSTATUS NTAPI ZwQueryDefaultUILanguage(LANGID *LanguageId)
NTSYSCALLAPI NTSTATUS NTAPI NtSetHighWaitLowEventPair(_In_ HANDLE EventPairHandle)
NTSYSAPI NTSTATUS NTAPI ZwFindAtom(_In_ PWSTR AtomName, _In_ ULONG AtomNameLength, _Out_opt_ PRTL_ATOM Atom)
NTSYSCALLAPI NTSTATUS NTAPI NtSetHighEventPair(_In_ HANDLE EventPairHandle)
NTSYSCALLAPI NTSTATUS NTAPI NtQueryDefaultLocale(_In_ BOOLEAN UserProfile, _Out_ PLCID DefaultLocaleId)
NTSYSCALLAPI NTSTATUS NTAPI NtSetLowWaitHighEventPair(_In_ HANDLE EventPair)
NTSYSCALLAPI NTSTATUS NTAPI NtSetSystemEnvironmentValue(_In_ PUNICODE_STRING VariableName, _In_ PUNICODE_STRING Value)
NTSYSCALLAPI NTSTATUS NTAPI NtQueryInformationAtom(_In_ RTL_ATOM Atom, _In_ ATOM_INFORMATION_CLASS AtomInformationClass, _Out_ PVOID AtomInformation, _In_ ULONG AtomInformationLength, _Out_opt_ PULONG ReturnLength)
VOID FASTCALL ExfReleasePushLockExclusive(_Inout_ PEX_PUSH_LOCK PushLock)
NTSYSCALLAPI NTSTATUS NTAPI NtQueryEvent(_In_ HANDLE EventHandle, _In_ EVENT_INFORMATION_CLASS EventInformationClass, _Out_ PVOID EventInformation, _In_ ULONG EventInformationLength, _Out_ PULONG ReturnLength)
NTSYSCALLAPI NTSTATUS NTAPI NtCreateEventPair(_Out_ PHANDLE EventPairHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes)
NTSYSAPI NTSTATUS NTAPI ZwSetLowWaitHighEventPair(_In_ HANDLE EventPair)
VOID FASTCALL ExfUnblockPushLock(_Inout_ PEX_PUSH_LOCK PushLock, _Inout_ PVOID CurrentWaitBlock)
struct _EVENT_TRACE_HEADER * PEVENT_TRACE_HEADER
Definition: exfuncs.h:38
NTSYSCALLAPI NTSTATUS NTAPI NtFindAtom(_In_ PWSTR AtomName, _In_ ULONG AtomNameLength, _Out_opt_ PRTL_ATOM Atom)
VOID FASTCALL ExReleaseFastMutexUnsafeAndLeaveCriticalRegion(_Inout_ PFAST_MUTEX FastMutex)
NTSYSCALLAPI NTSTATUS NTAPI NtSetUuidSeed(_In_ PUCHAR UuidSeed)
NTSYSAPI NTSTATUS NTAPI ZwDeleteAtom(_In_ RTL_ATOM Atom)
NTSYSAPI NTSTATUS NTAPI ZwOpenSemaphore(_Out_ PHANDLE SemaphoreHandle, _In_ ACCESS_MASK DesiredAcces, _In_ POBJECT_ATTRIBUTES ObjectAttributes)
NTSYSCALLAPI NTSTATUS NTAPI NtSetDefaultHardErrorPort(_In_ HANDLE PortHandle)
_In_ PVOID _In_ BOOLEAN Alertable
Definition: exfuncs.h:453
NTSYSAPI NTSTATUS NTAPI ZwSetHighEventPair(_In_ HANDLE EventPairHandle)
NTSYSCALLAPI NTSTATUS NTAPI NtOpenMutant(_Out_ PHANDLE MutantHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes)
NTSYSCALLAPI NTSTATUS NTAPI NtPulseEvent(_In_ HANDLE EventHandle, _In_opt_ PLONG PulseCount)
NTSYSCALLAPI NTSTATUS NTAPI NtCreateTimer(_Out_ PHANDLE TimerHandle, _In_ ACCESS_MASK DesiredAccess, _In_opt_ POBJECT_ATTRIBUTES ObjectAttributes, _In_ TIMER_TYPE TimerType)
_In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_ EVENT_TYPE _In_ BOOLEAN InitialState
Definition: exfuncs.h:169
NTSYSAPI NTSTATUS NTAPI ZwQueryEvent(_In_ HANDLE EventHandle, _In_ EVENT_INFORMATION_CLASS EventInformationClass, _Out_ PVOID EventInformation, _In_ ULONG EventInformationLength, _Out_ PULONG ReturnLength)
NTSYSCALLAPI NTSTATUS NTAPI NtDeleteAtom(_In_ RTL_ATOM Atom)
VOID FASTCALL ExfAcquirePushLockExclusive(_Inout_ PEX_PUSH_LOCK PushLock)
NTSYSAPI NTSTATUS NTAPI ZwSetSystemEnvironmentValue(_In_ PUNICODE_STRING VariableName, _In_ PUNICODE_STRING Value)
NTSYSAPI NTSTATUS NTAPI ZwSetLowEventPair(_In_ HANDLE EventPair)
NTSYSCALLAPI NTSTATUS NTAPI NtQueryInstallUILanguage(LANGID *LanguageId)
NTSYSAPI NTSTATUS NTAPI ZwCreateMutant(_Out_ PHANDLE MutantHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes, _In_ BOOLEAN InitialOwner)
VOID FASTCALL ExfReleasePushLock(_Inout_ PEX_PUSH_LOCK PushLock)
NTSYSCALLAPI NTSTATUS NTAPI NtTraceEvent(_In_ ULONG TraceHandle, _In_ ULONG Flags, _In_ ULONG TraceHeaderLength, _In_ PEVENT_TRACE_HEADER TraceHeader)
NTSYSCALLAPI NTSTATUS NTAPI NtSetDefaultLocale(_In_ BOOLEAN UserProfile, _In_ LCID DefaultLocaleId)
NTSYSCALLAPI NTSTATUS NTAPI NtQuerySemaphore(_In_ HANDLE SemaphoreHandle, _In_ SEMAPHORE_INFORMATION_CLASS SemaphoreInformationClass, _Out_ PVOID SemaphoreInformation, _In_ ULONG Length, _Out_ PULONG ReturnLength)
NTSYSAPI NTSTATUS NTAPI ZwQueryTimer(_In_ HANDLE TimerHandle, _In_ TIMER_INFORMATION_CLASS TimerInformationClass, _Out_ PVOID TimerInformation, _In_ ULONG Length, _Out_ PULONG ResultLength)
NTSYSCALLAPI NTSTATUS NTAPI NtAddAtom(_In_ PWSTR AtomName, _In_ ULONG AtomNameLength, _Inout_ PRTL_ATOM Atom)
NTSYSCALLAPI NTSTATUS NTAPI NtEnumerateSystemEnvironmentValuesEx(_In_ ULONG InformationClass, _In_ PVOID Buffer, _In_ ULONG BufferLength)
NTSYSCALLAPI NTSTATUS NTAPI NtCreateMutant(_Out_ PHANDLE MutantHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes, _In_ BOOLEAN InitialOwner)
NTSYSAPI NTSTATUS NTAPI ZwShutdownSystem(_In_ SHUTDOWN_ACTION Action)
NTSYSAPI NTSTATUS NTAPI ZwQuerySystemEnvironmentValue(_In_ PUNICODE_STRING Name, _Out_ PWSTR Value, _In_ ULONG Length, _Out_ PULONG ReturnLength)
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtQuerySystemInformation(_In_ SYSTEM_INFORMATION_CLASS SystemInformationClass, _Out_writes_bytes_to_opt_(SystemInformationLength, *ReturnLength) PVOID SystemInformation, _In_ ULONG SystemInformationLength, _Out_opt_ PULONG ReturnLength)
Definition: sysinfo.c:2931
VOID FASTCALL ExfReleasePushLockShared(_Inout_ PEX_PUSH_LOCK PushLock)
NTSYSCALLAPI NTSTATUS NTAPI NtWaitHighEventPair(_In_ HANDLE EventPairHandle)
NTSYSAPI NTSTATUS NTAPI ZwCreateSemaphore(_Out_ PHANDLE SemaphoreHandle, _In_ ACCESS_MASK DesiredAccess, _In_opt_ POBJECT_ATTRIBUTES ObjectAttributes, _In_ LONG InitialCount, _In_ LONG MaximumCount)
NTSYSCALLAPI NTSTATUS NTAPI NtSetTimer(_In_ HANDLE TimerHandle, _In_ PLARGE_INTEGER DueTime, _In_ PTIMER_APC_ROUTINE TimerApcRoutine, _In_ PVOID TimerContext, _In_ BOOLEAN WakeTimer, _In_opt_ LONG Period, _Out_opt_ PBOOLEAN PreviousState)
NTKERNELAPI BOOLEAN NTAPI ExEnumHandleTable(_In_ PHANDLE_TABLE HandleTable, _In_ PEX_ENUM_HANDLE_CALLBACK EnumHandleProcedure, _Inout_ PVOID Context, _Out_opt_ PHANDLE Handle)
NTSYSAPI NTSTATUS NTAPI ZwWaitLowEventPair(_In_ HANDLE EventPairHandle)
NTSYSAPI NTSTATUS NTAPI ZwSetHighWaitLowEventPair(_In_ HANDLE EventPairHandle)
NTSYSCALLAPI NTSTATUS NTAPI NtCreateSemaphore(_Out_ PHANDLE SemaphoreHandle, _In_ ACCESS_MASK DesiredAccess, _In_opt_ POBJECT_ATTRIBUTES ObjectAttributes, _In_ LONG InitialCount, _In_ LONG MaximumCount)
NTSYSAPI NTSTATUS NTAPI ZwSetEvent(_In_ HANDLE EventHandle, _Out_opt_ PLONG PreviousState)
NTSYSAPI NTSTATUS NTAPI ZwReleaseMutant(_In_ HANDLE MutantHandle, _In_opt_ PLONG ReleaseCount)
NTSYSCALLAPI NTSTATUS NTAPI ZwOpenEvent(_Out_ PHANDLE EventHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes)
NTSYSAPI NTSTATUS NTAPI ZwTraceEvent(_In_ ULONG TraceHandle, _In_ ULONG Flags, _In_ ULONG TraceHeaderLength, _In_ PEVENT_TRACE_HEADER TraceHeader)
NTSYSCALLAPI NTSTATUS NTAPI NtReleaseMutant(_In_ HANDLE MutantHandle, _In_opt_ PLONG ReleaseCount)
NTSYSCALLAPI NTSTATUS NTAPI NtSetEvent(_In_ HANDLE EventHandle, _Out_opt_ PLONG PreviousState)
NTSYSCALLAPI NTSTATUS NTAPI NtCancelTimer(_In_ HANDLE TimerHandle, _Out_opt_ PBOOLEAN CurrentState)
NTSYSCALLAPI NTSTATUS NTAPI NtReleaseSemaphore(_In_ HANDLE SemaphoreHandle, _In_ LONG ReleaseCount, _Out_opt_ PLONG PreviousCount)
NTSYSAPI NTSTATUS NTAPI ZwQuerySemaphore(_In_ HANDLE SemaphoreHandle, _In_ SEMAPHORE_INFORMATION_CLASS SemaphoreInformationClass, _Out_ PVOID SemaphoreInformation, _In_ ULONG Length, _Out_ PULONG ReturnLength)
NTSYSCALLAPI NTSTATUS NTAPI NtQueryMutant(_In_ HANDLE MutantHandle, _In_ MUTANT_INFORMATION_CLASS MutantInformationClass, _Out_ PVOID MutantInformation, _In_ ULONG Length, _Out_ PULONG ResultLength)
_In_ ACCESS_MASK AccessMask
Definition: exfuncs.h:186
NTSYSCALLAPI NTSTATUS NTAPI NtShutdownSystem(_In_ SHUTDOWN_ACTION Action)
NTSYSAPI NTSTATUS NTAPI ZwOpenEventPair(_Out_ PHANDLE EventPairHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes)
VOID FASTCALL ExfTryToWakePushLock(_Inout_ PEX_PUSH_LOCK PushLock)
NTSYSCALLAPI NTSTATUS NTAPI NtOpenEvent(_Out_ PHANDLE EventHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes)
NTSYSCALLAPI NTSTATUS NTAPI NtQuerySystemEnvironmentValue(_In_ PUNICODE_STRING Name, _Out_ PWSTR Value, ULONG Length, PULONG ReturnLength)
__kernel_entry NTSYSCALLAPI NTSTATUS NTAPI NtSetSystemInformation(_In_ SYSTEM_INFORMATION_CLASS SystemInformationClass, _In_reads_bytes_(SystemInformationLength) PVOID SystemInformation, _In_ ULONG SystemInformationLength)
Definition: sysinfo.c:3008
NTSYSAPI NTSTATUS NTAPI ZwSetDefaultHardErrorPort(_In_ HANDLE PortHandle)
NTSYSAPI NTSTATUS NTAPI ZwCreateEventPair(_Out_ PHANDLE EventPairHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes)
NTSYSAPI NTSTATUS NTAPI ZwDisplayString(_In_ PUNICODE_STRING DisplayString)
NTSYSAPI NTSTATUS NTAPI ZwClearEvent(_In_ HANDLE EventHandle)
NTSYSAPI NTSTATUS NTAPI ZwQueryDefaultLocale(_In_ BOOLEAN UserProfile, _Out_ PLCID DefaultLocaleId)
NTSYSAPI NTSTATUS NTAPI ZwSetDefaultLocale(_In_ BOOLEAN UserProfile, _In_ LCID DefaultLocaleId)
NTSYSCALLAPI NTSTATUS NTAPI NtOpenSemaphore(_Out_ PHANDLE SemaphoreHandle, _In_ ACCESS_MASK DesiredAcces, _In_ POBJECT_ATTRIBUTES ObjectAttributes)
NTSYSCALLAPI NTSTATUS NTAPI NtRaiseHardError(_In_ NTSTATUS ErrorStatus, _In_ ULONG NumberOfParameters, _In_ ULONG UnicodeStringParameterMask, _In_ PULONG_PTR Parameters, _In_ ULONG ValidResponseOptions, _Out_ PULONG Response)
NTSYSAPI NTSTATUS NTAPI ZwQueryInformationAtom(_In_ RTL_ATOM Atom, _In_ ATOM_INFORMATION_CLASS AtomInformationClass, _Out_ PVOID AtomInformation, _In_ ULONG AtomInformationLength, _Out_opt_ PULONG ReturnLength)
NTSYSCALLAPI NTSTATUS NTAPI NtClearEvent(_In_ HANDLE EventHandle)
NTSYSAPI NTSTATUS NTAPI ZwReleaseSemaphore(_In_ HANDLE SemaphoreHandle, _In_ LONG ReleaseCount, _Out_opt_ PLONG PreviousCount)
_In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES ObjectAttributes
Definition: exfuncs.h:166
NTSTATUS NTAPI ExRaiseHardError(_In_ NTSTATUS ErrorStatus, _In_ ULONG NumberOfParameters, _In_ ULONG UnicodeStringParameterMask, _In_ PULONG_PTR Parameters, _In_ ULONG ValidResponseOptions, _Out_ PULONG Response)
NTSYSAPI NTSTATUS NTAPI ZwSetDefaultUILanguage(LANGID LanguageId)
NTSYSAPI NTSTATUS NTAPI ZwOpenMutant(_Out_ PHANDLE MutantHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes)
NTSYSCALLAPI NTSTATUS NTAPI NtOpenEventPair(_Out_ PHANDLE EventPairHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes)
BOOLEAN(NTAPI * PEX_ENUM_HANDLE_CALLBACK)(_In_ struct _HANDLE_TABLE_ENTRY *HandleTableEntry, _In_ HANDLE Handle, _In_ PVOID Context)
Definition: extypes.h:388
enum _SHUTDOWN_ACTION SHUTDOWN_ACTION
enum _MUTANT_INFORMATION_CLASS MUTANT_INFORMATION_CLASS
enum _ATOM_INFORMATION_CLASS ATOM_INFORMATION_CLASS
enum _EVENT_INFORMATION_CLASS EVENT_INFORMATION_CLASS
enum _SEMAPHORE_INFORMATION_CLASS SEMAPHORE_INFORMATION_CLASS
enum _TIMER_INFORMATION_CLASS TIMER_INFORMATION_CLASS
#define _In_reads_bytes_(s)
Definition: no_sal2.h:170
#define _Out_opt_
Definition: no_sal2.h:214
#define _Inout_
Definition: no_sal2.h:162
#define _Out_
Definition: no_sal2.h:160
#define _In_
Definition: no_sal2.h:158
#define _In_opt_
Definition: no_sal2.h:212
#define _Out_writes_bytes_to_opt_(s, c)
Definition: no_sal2.h:240
#define _In_reads_bytes_opt_(s)
Definition: no_sal2.h:224
ULONG ACCESS_MASK
Definition: nt_native.h:40
#define FASTCALL
Definition: nt_native.h:50
* PLCID
Definition: ntbasedef.h:517
#define NTSYSCALLAPI
Definition: ntbasedef.h:204
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:102
enum _TIMER_TYPE TIMER_TYPE
enum _EVENT_TYPE EVENT_TYPE
NTSTATUS NTAPI NtCreateEvent(OUT PHANDLE EventHandle, IN ACCESS_MASK DesiredAccess, IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL, IN EVENT_TYPE EventType, IN BOOLEAN InitialState)
Definition: event.c:96
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:455
long LONG
Definition: pedump.c:60
DWORD LCID
Definition: nls.h:13
#define __kernel_entry
Definition: specstrings.h:355
Definition: ncftp.h:89
uint16_t * PWSTR
Definition: typedefs.h:56
uint32_t * PULONG_PTR
Definition: typedefs.h:65
uint32_t * PULONG
Definition: typedefs.h:59
unsigned char * PBOOLEAN
Definition: typedefs.h:53
#define NTAPI
Definition: typedefs.h:36
int32_t * PLONG
Definition: typedefs.h:58
unsigned char * PUCHAR
Definition: typedefs.h:53
uint32_t ULONG
Definition: typedefs.h:59
_Must_inspect_result_ _In_ WDFDMAENABLER _In_ _In_opt_ PWDF_OBJECT_ATTRIBUTES Attributes
_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
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG BufferLength
Definition: wdfdevice.h:3771
_Must_inspect_result_ _In_ WDFQUEUE _In_opt_ WDFREQUEST _In_opt_ WDFFILEOBJECT _Inout_opt_ PWDF_REQUEST_PARAMETERS Parameters
Definition: wdfio.h:869
_In_ WDFIOTARGET _In_ _Strict_type_match_ WDF_IO_TARGET_SENT_IO_ACTION Action
Definition: wdfiotarget.h:510
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _In_ ULONG ValueLength
Definition: wdfregistry.h:275
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
Definition: wdfregistry.h:413
_In_ WDFTIMER _In_ LONGLONG DueTime
Definition: wdftimer.h:190
#define NTKERNELAPI
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
* PFAST_MUTEX
Definition: extypes.h:17
_Out_ PHANDLE EventHandle
Definition: iofuncs.h:857
_In_ LARGE_INTEGER _In_ ULONG Period
Definition: kefuncs.h:1313
*Count PHARDWARE_COUNTER _In_ ULONG MaximumCount
Definition: kefuncs.h:1369
_In_ BOOLEAN InitialOwner
Definition: kefuncs.h:565
_In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_ TIMER_TYPE TimerType
Definition: zwfuncs.h:403
_In_ PLARGE_INTEGER _In_opt_ PTIMER_APC_ROUTINE _In_opt_ PVOID TimerContext
Definition: zwfuncs.h:430
_In_ PLARGE_INTEGER _In_opt_ PTIMER_APC_ROUTINE TimerApcRoutine
Definition: zwfuncs.h:429
_Out_opt_ PBOOLEAN CurrentState
Definition: zwfuncs.h:393