Platform SDK: TAPI

ITCallInfo::put_CallInfoString

Sets call information items described by a string, such as the displayable address.

HRESULT put_CallInfoString(
  CALLINFO_STRING CallInfoString,
  BSTR pCallInfoString 
);

Parameters

CallInfoString
[in] CALLINFO_STRING indicator of information type, such as CIS_DISPLAYABLEADDRESS.
pCallInfoString
[in] Pointer to BSTR representation of string.

Return Values

Value Meaning
S_OK Method succeeded.
E_OUTOFMEMORY Insufficient memory exists to perform the operation.
E_INVALIDARG The CallInfoString parameter is not a valid value.
TAPI_E_INVALCALLSTATE Call state must be CS_IDLE.

Remarks

The application must use SysAllocString to allocate memory for the pCallInfoString parameter and use SysFreeString to free the memory when the variable is no longer needed.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Version: Requires TAPI 3.0 or later.
  Header: Declared in Tapi3.h.
  Library: Use T3iid.lib.

See Also

ITCallInfo, Call Object, get_CallInfoString, CALLINFO_STRING