https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c0961cac105ed590284a39dce3d1df276f308bb4

commit c0961cac105ed590284a39dce3d1df276f308bb4
Author:     Serge Gautherie <[email protected]>
AuthorDate: Thu Nov 12 01:22:46 2020 +0100
Commit:     George BiČ™oc <[email protected]>
CommitDate: Thu Apr 29 21:40:58 2021 +0200

    [NTOS:PS] NtQueryInformationProcess(): Sync' annotations
---
 ntoskrnl/ps/query.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/ntoskrnl/ps/query.c b/ntoskrnl/ps/query.c
index cad72c4d60a..c9b0b6b75a2 100644
--- a/ntoskrnl/ps/query.c
+++ b/ntoskrnl/ps/query.c
@@ -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();

Reply via email to