- Add checking of CompletionFilter parameter. This is fixed 3 wine tests for kernel32

svn path=/trunk/; revision=38529
This commit is contained in:
Dmitry Chapyshev 2009-01-03 12:22:14 +00:00
parent 1c312cc501
commit b9ffb1676a

View file

@ -1121,6 +1121,12 @@ NtNotifyChangeDirectoryFile(IN HANDLE FileHandle,
/* Check if probing failed */
if (!NT_SUCCESS(Status)) return Status;
/* Check if we have an correct parameter */
if (!CompletionFilter)
{
return STATUS_INVALID_PARAMETER;
}
}
/* Get File Object */