IAPI::UnicodeToAnsiFile

property UnicodeToAnsiFile.

Converts an Unicode (code page 65001) file to an ANSI (code page 1252) one.

 

HRESULT UnicodeToAnsiFile(
  BSTR unicodeFile,
  BSTR ansiFile,
  long *pVal
);

Parameters

unicodeFile

[in] .   Source Unicode full filename

ansiFile

[in] .   Destination ANSI full filename

pVal

[out, retval] The returned value is 0 if OK, -1 if failed.

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI