IAPI::ConvertBSTRToString

property ConvertBSTRToString.

Converts BSTR to C-String.

 

HRESULT ConvertBSTRToString(
  BSTR bstrToConvert,
  long *pVal
);

Parameters

bstrToConvert

[in] .   BSTR to be converted

pVal

[out, retval] The returned value is a long pointer to C-String in memory.

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