IAPI::AddStringTableItem

property AddStringTableItem.

Adds a BSTR element into the string table.

 

HRESULT AddStringTableItem(
  long hStringTable,
  BSTR StrItem,
  long *pVal
);

Parameters

hStringTable

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

StrItem

[in] .   BSTR element to insert into the string table

pVal

[out, retval] The returned value is the zero-based offset of the inserted 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