- When creating a DCB with a known file handle, always build a full file name, because FullFAT opening code always needs a full name.
- Fix debug prints (%Z -> %wZ).
svn path=/trunk/; revision=43643
/* Set names */
if (FileHandle)
+ {
FatSetFcbNames(IrpContext, Fcb);
+ /* Ensure the full name is set */
+ FatSetFullFileNameInFcb(IrpContext, Fcb);
+ }
+
return Fcb;
}
TypeOfOpen = (*Ccb == NULL ? DirectoryFile : UserDirectoryOpen);
- DPRINT1("Referencing a directory: %Z\n", &(*FcbOrDcb)->FullFileName);
+ DPRINT1("Referencing a directory: %wZ\n", &(*FcbOrDcb)->FullFileName);
break;
/* File */
TypeOfOpen = (*Ccb == NULL ? EaFile : UserFileOpen);
- DPRINT("Referencing a file: %Z\n", &(*FcbOrDcb)->FullFileName);
+ DPRINT("Referencing a file: %wZ\n", &(*FcbOrDcb)->FullFileName);
break;