ConvertFileToText |
Top Previous |
Converts the given file into a text file.
Parameters
bstrPathName [in] Full path for the file to be converted.
bstrConvertToName [in] Full path for the temporary file that the converted text should be written to.
Return Value
S_OK File was successfully converted. E_FAIL An error occurred.
Remarks
The temporary file to write the text to will have already been created to ensure that it is unique. Either overwrite the file or open the file and append to it.
|