File tree Expand file tree Collapse file tree 5 files changed +8
-9
lines changed Expand file tree Collapse file tree 5 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -1393,7 +1393,7 @@ VOID PhEnumChildWindows(
1393
1393
_In_opt_ HWND WindowHandle ,
1394
1394
_In_ ULONG Limit ,
1395
1395
_In_ PH_CHILD_ENUM_CALLBACK Callback ,
1396
- _In_ PVOID Context
1396
+ _In_opt_ PVOID Context
1397
1397
)
1398
1398
{
1399
1399
HWND childWindow = NULL ;
@@ -1592,7 +1592,7 @@ static ULONG NTAPI PhpWindowCallbackHashtableHashFunction(
1592
1592
VOID PhRegisterWindowCallback (
1593
1593
_In_ HWND WindowHandle ,
1594
1594
_In_ PH_PLUGIN_WINDOW_EVENT_TYPE Type ,
1595
- _In_ PVOID Context
1595
+ _In_opt_ PVOID Context
1596
1596
)
1597
1597
{
1598
1598
PPH_PLUGIN_WINDOW_CALLBACK_REGISTRATION entry ;
Original file line number Diff line number Diff line change @@ -500,7 +500,7 @@ VOID PhEnumChildWindows(
500
500
_In_opt_ HWND WindowHandle ,
501
501
_In_ ULONG Limit ,
502
502
_In_ PH_CHILD_ENUM_CALLBACK Callback ,
503
- _In_ PVOID Context
503
+ _In_opt_ PVOID Context
504
504
);
505
505
506
506
HWND PhGetProcessMainWindow (
@@ -866,7 +866,7 @@ NTAPI
866
866
PhRegisterWindowCallback (
867
867
_In_ HWND WindowHandle ,
868
868
_In_ PH_PLUGIN_WINDOW_EVENT_TYPE Type ,
869
- _In_ PVOID Context
869
+ _In_opt_ PVOID Context
870
870
);
871
871
872
872
PHLIBAPI
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ PHLIBAPI
33
33
VOID
34
34
NTAPI
35
35
PhEditSecurity (
36
- _In_ HWND WindowHandle ,
36
+ _In_opt_ HWND WindowHandle ,
37
37
_In_ PWSTR ObjectName ,
38
38
_In_ PWSTR ObjectType ,
39
39
_In_ PPH_OPEN_OBJECT OpenCallback ,
@@ -183,4 +183,4 @@ PhGetAccessString(
183
183
}
184
184
#endif
185
185
186
- #endif
186
+ #endif
Original file line number Diff line number Diff line change @@ -36,8 +36,7 @@ ULONG PhCreateProcessLxss(
36
36
_In_ PWSTR LxssDistribution ,
37
37
_In_ PWSTR LxssCommandLine ,
38
38
_In_opt_ PWSTR LxssCurrentDirectory ,
39
- _Out_ PPH_STRING * Result ,
40
- _Out_opt_ PHANDLE ProcessHandle
39
+ _Out_ PPH_STRING * Result
41
40
);
42
41
43
42
#ifdef __cplusplus
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ static NTSTATUS PhpEditSecurityInformationThread(
140
140
* \param Context A user-defined value to pass to the callback functions.
141
141
*/
142
142
VOID PhEditSecurity (
143
- _In_ HWND WindowHandle ,
143
+ _In_opt_ HWND WindowHandle ,
144
144
_In_ PWSTR ObjectName ,
145
145
_In_ PWSTR ObjectType ,
146
146
_In_ PPH_OPEN_OBJECT OpenObject ,
You can’t perform that action at this time.
0 commit comments