Commit 3e3b03a1 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

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

parent b43f13f8
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment