kernel32: Set proper error codes if FindFirstFileExW doesn't support specific search_ops / levels.

This commit is contained in:
Sebastian Lackner 2014-10-03 20:01:19 +02:00 committed by Alexandre Julliard
parent b43f13f892
commit 3e3b03a13e
1 changed files with 2 additions and 0 deletions

View File

@ -1872,11 +1872,13 @@ HANDLE WINAPI FindFirstFileExW( LPCWSTR filename, FINDEX_INFO_LEVELS level,
if (search_op != FindExSearchNameMatch && search_op != FindExSearchLimitToDirectories)
{
FIXME("search_op not implemented 0x%08x\n", search_op);
SetLastError( ERROR_INVALID_PARAMETER );
return INVALID_HANDLE_VALUE;
}
if (level != FindExInfoStandard)
{
FIXME("info level %d not implemented\n", level );
SetLastError( ERROR_INVALID_PARAMETER );
return INVALID_HANDLE_VALUE;
}