IAPI::GetStringTableItemAt

property GetStringTableItemAt.

Retrieves a copy of BSTR from a string table

 

HRESULT GetStringTableItemAt(
  long hStringTable,
  long index,
  BSTR *pVal
);

Parameters

hStringTable

[in] .   Handle of string table, created by MallocStringtable()

index

[in] .   Offset of the BSTR to retrieve.

pVal

[out, retval]

The returned value is a copy of BSTR element. It must be freed

by FreeBSTR() after use.

 

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