mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
Correct the parameter check in CreateIoCompletionPort.
svn path=/trunk/; revision=31900
This commit is contained in:
@@ -32,7 +32,7 @@ CreateIoCompletionPort(
|
||||
FILE_COMPLETION_INFORMATION CompletionInformation;
|
||||
IO_STATUS_BLOCK IoStatusBlock;
|
||||
|
||||
if ( ExistingCompletionPort == NULL && FileHandle == INVALID_HANDLE_VALUE )
|
||||
if ( FileHandle == INVALID_HANDLE_VALUE && ExistingCompletionPort != NULL )
|
||||
{
|
||||
SetLastError(ERROR_INVALID_PARAMETER);
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user