IAPI::BSTRToBinary

property BSTRToBinary.

Converts BSTR to a binary data structure. The BSTR is previously the result of BinaryToBSTR(…)

 

HRESULT BSTRToBinary(
  BSTR SrcData,
  long *pVal
);

Parameters

bstrToConvert

[in] .   BSTR to be reversely converted

pVal

[out, retval] The returned value is a long pointer to a binary data structure.

 

Note that an example is provided into ScriptEZ_FileTimeStamp.vbs

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