IAPI::ReplaceStringTableItemAt

property ReplaceStringTableItemAt.

Replaces a BSTR element by a new one.

 

HRESULT ReplaceStringTableItemAt(
  long hStringTable,
  BSTR newStrItem,
  long index,
  long *pVal
);

Parameters

hStringTable

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

newStrItem

[in] .   New BSTR element

index

[in] .   Offset where to replace

pVal

[out, retval] The returned value is 1 if OK, -1 if failed

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