Hi,
after a lot of trail & error I found out that in dlls/kernel/file.c line 1483-1484 the filename/mask is removed. After removing those two codelines the mask was handed over to wine_nt_to_unix_file_name (dlls/ntdll/directory.c) In the wine_nt_to_unix_file_name function it exits at the invalid char check in line 1418-1419 because a "*" is in the file name. If I comment out that loop the updated test case is producing the same error codes as windows xp.
Does anyone have a better solution to solve this? (why is the mask removed in dlls/kernel/file.c? why is the "*" an illegal char in dlls/ntdll/directory.c check?)
Karsten