TransError ImpexExportToMetafile(
Handle xlatLib,
VMFileHandle xferFile,
FileHandle metafile,
dword xferFormat,
word arg1,
word arg2,
MemHandle * errString);
This routine is used by translation libraries. The routine calls an intermediate translation library to finish translating a given file into the GEOS Metafile format.
Include: impex.goh
Warnings: If the routine does not fail with condition TE_CUSTOM,
*errString
may contain a random value. Do not use
*errString
if the routine did not return TE_CUSTOM.
void ImpexImportExportCompleted(
ImpexTranslationParams * itParams);
The application should send this message when it is finished importing or exporting data. The routine will send an appropriate acknowledgment message to the ImportControl or ExportControl object, depending on the settings of
ITP_impexOD
and ITP
_returnMsg
.
If the application has just finished an import, it should not have changed the
ImpexTranslationParams
structure. If it had just finished preparing data for export, it should have set the ITP
_transferVMChain
field to contain the handle of the head of the VM chain.
Warnings: This routine, in essence, informs the ImportControl or ExportControl object that the application is finished with the transfer file. The ImportControl will respond by destroying the transfer file; the ExportControl will call the appropriate translation library to produce an output file. Therefore, an application should not call this routine until it is absolutely finished with the transfer file.
TransError ImpexExportToMetafile(
Handle xlatLib,
VMFileHandle xferFile,
FileHandle metafile,
dword * xferFormat,
word arg1,
word arg2,
MemHandle * errString);
This routine is used by translation libraries. The routine calls an intermediate translation library to translate a given file from the GEOS Metafile format to an intermediate format.
Include: impex.goh
Warnings: If the routine does not fail with condition TE_CUSTOM,
*errString
may contain a random value. Do not use
*errString
if the routine did not return TE_CUSTOM.
void InitFileCommit(void);
This routine commits any changes to the GEOS.INI file, removing and replacing its stored backup. It ensures that no other threads are working on the file during the commit operation.
Include: initfile.h
void InitFileDeleteCategory(
const char *category);
This routine deletes the specified category, along with all its entries, from the GEOS.INI file. Pass it the following:
category
Include: initfile.h
void InitFileDeleteEntry(
const char *category,
const char *key);
This routine deletes an entry in the GEOS.INI file. Pass it the following:
category
key
Include: initfile.h
void InitFileDeleteStringSection(
const char * category,
const char * key,
word stringNum);
This routine deletes the specified string section from the given blob in the GEOS.INI file. Pass it the following:
category
key
stringNum
Include: initfile.h
GEOS SDK TechDocs
|
|
IACPProcessMessage() ...
|
InitFileEnumStringSection() ...