"Vincas Miliūnas" <vincas.miliunas at gmail.com> wrote: > >> + objectName.Buffer = (WCHAR *)&lpFileID->DUMMYUNIONNAME.FileId; > > This doesn't look right. > That's how the pointer to the fileid is transported, see the > file_id_to_unix_file_name function in ntdll/directory.c I meant DUMMYUNIONNAME. -- Dmitry.