[NTOS:PS] NtQueryInformationProcess(): Sync' annotations

This commit is contained in:
Serge Gautherie
2021-04-29 21:40:58 +02:00
committed by George Bișoc
parent 91dc5eac7d
commit c0961cac10
+6 -5
View File
@@ -56,11 +56,12 @@ PsReferenceProcessFilePointer(IN PEPROCESS Process,
*/
NTSTATUS
NTAPI
NtQueryInformationProcess(IN HANDLE ProcessHandle,
IN PROCESSINFOCLASS ProcessInformationClass,
OUT PVOID ProcessInformation,
IN ULONG ProcessInformationLength,
OUT PULONG ReturnLength OPTIONAL)
NtQueryInformationProcess(
_In_ HANDLE ProcessHandle,
_In_ PROCESSINFOCLASS ProcessInformationClass,
_Out_ PVOID ProcessInformation,
_In_ ULONG ProcessInformationLength,
_Out_opt_ PULONG ReturnLength)
{
PEPROCESS Process;
KPROCESSOR_MODE PreviousMode = ExGetPreviousMode();