IAPI::OemToAnsiChar

property OemToAnsiChar.

Translates a string from the OEM-defined character set into an ANSI.

 

HRESULT OemToAnsiChar(
  BSTR oemString,
  BSTR *pVal
);

Parameters

oemString

[in] .   Pointer to OEM string (aka those displayed into a console window)

pVal

[out, retval] The returned value is an ANSI BSTR if succeeded or empty BSTR

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