Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 92 of file create.c.
Referenced by FatiCreate().
{ OEM_STRING AnsiName; CHAR AnsiNameBuf[512]; FF_ERROR Error; NTSTATUS Status; FF_FILE *FileHandle; /* Convert the name to ANSI */ AnsiName.Buffer = AnsiNameBuf; AnsiName.Length = 0; AnsiName.MaximumLength = sizeof(AnsiNameBuf); RtlZeroMemory(AnsiNameBuf, sizeof(AnsiNameBuf)); Status = RtlUpcaseUnicodeStringToCountedOemString(&AnsiName, &FileObject->FileName, FALSE); if (!NT_SUCCESS(Status)) { ASSERT(FALSE); } /* Open the file with FullFAT */ FileHandle = FF_Open(Vcb->Ioman, AnsiName.Buffer, FF_MODE_READ, &Error); /* Close the handle */ if (FileHandle) FF_Close(FileHandle); /* Return status */ return Error; }