The WinCvtGetImportConverterList function retrieves the list of converters that can convert from native format to RTF.
WINCVT_STATUS
WinCvtGetImportConverterList(
WINCVT_CVT_LIST* List, // The resulting list of converters.
LPCSTR szClass, // The class to look for (optional.)
LPCSTR szExtension, // The extension to look for (optional.)
LPCSTR szFilenameToVerify // The file name to confirm against (optional.)
);
If the function succeeds, the return value is WINCVT_SUCCESS. If the function fails, the return value is the error code describing the failure. This code can be turned into a human readable string using the WinCvtGetErrorString.
The WinCvtGetImportConverterList function retrieves the list of converters that can convert from native format to RTF. This list can be filtered by class, extension and ability to convert a specific file. If both szClass, szExtension and szFilenameToVerify are NULL, all import converters supported by the system will be returned. To install a new converter so that it will be returned by this function, use the WinCvtInstallConverter function. To list converters that support exporting (converting from RTF to a particular format), use the WinCvtGetExportConverterList function.
WinCvt: Requires 0.1.0.
Header: Declared in WinCvt.h.
Import Library: Use WinCvt.lib.
WinCvtFreeConverterList, WinCvtGetFirstClass, WinCvtGetNextClass, WinCvtGetErrorString, WinCvtGetExportConverterList, WinCvtInstallConverter.