This structure contains information about a destination file. A file filter uses the information to write the converted data to the file.
At a Glance
Header file: | Replfilt.h |
Windows CE versions: | 2.0 and later |
Syntax
typedef struct tagCFF_DESTINATIONFILE{
TCHAR szFullpath[_MAX_PATH];
TCHAR szPath[_MAX_PATH];
TCHAR szFilename[_MAX_FNAME];
TCHAR szExtension[_MAX_EXT];
} CFF_DESTINATIONFILE;
Members
szFullpath
Null-terminated string that contains the default full path of the destination file, for example, “C:\Temp\Myfont.fnt”.
szPath
Null-terminated string that contains the path of the directory where the destination file should be created, for example, “C:\Temp”.
szFilename
Null-terminated string that contains only the default name of the destination file. For example, if the destination file name is Myfont.fnt, then the value of szFilename is “Myfont”.
szExtension
Null-terminated string that contains the file name extension of the destination file, for example, “fnt”.
Remarks
The szFullpath and szFilename members are described as default values because the file filter is allowed to modify the name of the destination file. For example, the Font file converter creates “Arial8.fnt” and “Arial10.fnt” from Arial. Ttf when the user selects the 8-point and 10-point font sizes. However, changing file names and creating multiple destination files only works when importing files from the desktop PC to the Windows CE device, and not when exporting files from the Windows CE device to the desktop PC.