Unicode_Collation.strtofat() - Intel Extensible Firmware Interface Specification

Intel extensible firmware interface specification
Table of Contents

Advertisement

13.1.6 UNICODE_COLLATION.StrToFat()

Summary
Converts a Null-terminated Unicode string to legal characters in a FAT filename using an OEM
character set.
Prototype
BOOLEAN
(EFIAPI *EFI_UNICODE_COLLATION_STRTOFAT) (
IN UNICODE_COLLATION_INTERFACE
IN CHAR16
IN UINTN
OUT CHAR8
);
Parameters
This
String
FatSize
Fat
Description
This function converts the first
characters in an OEM character set and stores then in the string Fat. The Unicode characters '.'
(period) and ' ' (space) are ignored for this conversion. If no valid mapping from the Unicode
character to a FAT character is available, then it is substituted with an '_'. This function returns
if the return string
FALSE
is a Long File Name.
Fat
Status Codes Returned
TRUE
FALSE
Version 1.02
A pointer to the
UNICODE_COLLATION_INTERFACE
instance. Type
UNICODE_COLLATION_INTERFACE
defined in Section 13.1.
A pointer to a Null-terminated Unicode string.
The size of the string
A pointer to a Null-terminated string that contains an 8.3 file
name using an OEM character set.
Unicode characters of
FatSize
is an 8.3 file name. This function returns
Fat
Fat
is a Long File Name.
Fat
is an 8.3 file name.
12/12/00
Unicode Collation Protocol
*This,
*String,
FatSize,
*Fat
in bytes.
Fat
to the legal FAT
String
if the return string
TRUE
is
233

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents