mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 05:52:57 +00:00
[MSAFD] Avoid magic numbers in NtCreateEvent calls.
This commit is contained in:
parent
f54fb980ba
commit
bf5e33201e
3 changed files with 18 additions and 18 deletions
|
@ -38,7 +38,7 @@ WSPEventSelect(
|
|||
}
|
||||
|
||||
Status = NtCreateEvent(&SockEvent, EVENT_ALL_ACCESS,
|
||||
NULL, 1, FALSE);
|
||||
NULL, SynchronizationEvent, FALSE);
|
||||
|
||||
if (!NT_SUCCESS(Status)) return SOCKET_ERROR;
|
||||
|
||||
|
@ -158,7 +158,7 @@ WSPEnumNetworkEvents(
|
|||
}
|
||||
|
||||
Status = NtCreateEvent(&SockEvent, EVENT_ALL_ACCESS,
|
||||
NULL, 1, FALSE);
|
||||
NULL, SynchronizationEvent, FALSE);
|
||||
|
||||
if( !NT_SUCCESS(Status) ) {
|
||||
ERR("Could not make an event %x\n", Status);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue