Skip to content

Commit

Permalink
Update src/inc/quic_platform_winkernel.h
Browse files Browse the repository at this point in the history
Co-authored-by: Nick Banks <[email protected]>
  • Loading branch information
ami-GS and nibanks authored Jan 31, 2025
1 parent 2d547c6 commit fc6b308
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/inc/quic_platform_winkernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -605,15 +605,18 @@ CxPlatEventQInitialize(
)
{
OBJECT_ATTRIBUTES KernelObjectAttributes;

InitializeObjectAttributes(&KernelObjectAttributes,
/* ObjectName */ NULL,
/* AttributesFlag */ OBJ_KERNEL_HANDLE,
/* RootDirectory */ NULL,
/* SecurityAttributes */ NULL);

NTSTATUS Status = ZwCreateIoCompletion(&queue->Handle, IO_COMPLETION_ALL_ACCESS, &KernelObjectAttributes, 0);

NTSTATUS Status =
ZwCreateIoCompletion(
&queue->Handle,
IO_COMPLETION_ALL_ACCESS,
&KernelObjectAttributes,
0);
if (!NT_SUCCESS(Status)) {
queue->Handle = NULL;
return FALSE;
Expand Down

0 comments on commit fc6b308

Please sign in to comment.