mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 04:07:29 +00:00
Correct the parameter check in CreateIoCompletionPort.
svn path=/trunk/; revision=31900
This commit is contained in:
parent
24fe77488c
commit
0fa9a1e144
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue