Skip to content

Commit 952c7ed

Browse files
committed
phnt: Fix some SAL annotations
1 parent f859257 commit 952c7ed

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

phnt/include/ntexapi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ NTSTATUS
3232
NTAPI
3333
NtDelayExecution(
3434
_In_ BOOLEAN Alertable,
35-
_In_ PLARGE_INTEGER DelayInterval
35+
_In_opt_ PLARGE_INTEGER DelayInterval
3636
);
3737

3838
// Environment values

phnt/include/ntrtl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1408,7 +1408,7 @@ VOID
14081408
NTAPI
14091409
RtlInitEmptyUnicodeString(
14101410
_Out_ PUNICODE_STRING DestinationString,
1411-
_In_ PWCHAR Buffer,
1411+
_In_opt_ PWCHAR Buffer,
14121412
_In_ USHORT MaximumLength
14131413
)
14141414
{

phnt/include/ntseapi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ NtAdjustGroupsToken(
310310
_In_opt_ PTOKEN_GROUPS NewState,
311311
_In_opt_ ULONG BufferLength,
312312
_Out_writes_bytes_to_opt_(BufferLength, *ReturnLength) PTOKEN_GROUPS PreviousState,
313-
_Out_ PULONG ReturnLength
313+
_Out_opt_ PULONG ReturnLength
314314
);
315315

316316
#if (PHNT_VERSION >= PHNT_WIN8)

0 commit comments

Comments
 (0)