Skip to content

Commit fbf7047

Browse files
committed
Fix SAL warning
1 parent 1905e36 commit fbf7047

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

phlib/include/phutil.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ PHLIBAPI
250250
VOID
251251
NTAPI
252252
PhShowStatus(
253-
_In_ HWND hWnd,
253+
_In_opt_ HWND hWnd,
254254
_In_opt_ PWSTR Message,
255255
_In_ NTSTATUS Status,
256256
_In_opt_ ULONG Win32Result

phlib/util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ PPH_STRING PhGetStatusMessage(
517517
* \param Win32Result A Win32 error code, or 0 if there is none.
518518
*/
519519
VOID PhShowStatus(
520-
_In_ HWND hWnd,
520+
_In_opt_ HWND hWnd,
521521
_In_opt_ PWSTR Message,
522522
_In_ NTSTATUS Status,
523523
_In_opt_ ULONG Win32Result

0 commit comments

Comments
 (0)