mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 03:05:40 +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;
|
FILE_COMPLETION_INFORMATION CompletionInformation;
|
||||||
IO_STATUS_BLOCK IoStatusBlock;
|
IO_STATUS_BLOCK IoStatusBlock;
|
||||||
|
|
||||||
if ( ExistingCompletionPort == NULL && FileHandle == INVALID_HANDLE_VALUE )
|
if ( FileHandle == INVALID_HANDLE_VALUE && ExistingCompletionPort != NULL )
|
||||||
{
|
{
|
||||||
SetLastError(ERROR_INVALID_PARAMETER);
|
SetLastError(ERROR_INVALID_PARAMETER);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue