ConvertFileToText

Top  Previous 

Converts the given file into a text file.

 

[C++]

 

HRESULT ConvertFileToText(

BSTR bstrPathName,

BSTR bstrConvertToName

);

 

 

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.

 

 


Copyright © 2003-2013 Mythicsoft Ltd. All rights reserved.
SDK help file version: 7.0.2