Platform SDK: TAPI

ITCallInfo::SetCallInfoBuffer

Sets call information items that require a buffer, such as user-user information. Automation client applications, such as those written in Visual Basic, must use the ITCallInfo::put_CallInfoBuffer method.

HRESULT SetCallInfoBuffer(
  CALLINFO_BUFFER CallInfoBuffer,
  DWORD dwSize,
  BYTE *pCallInfoBuffer 
);

Parameters

CallInfoBuffer
[in] CALLINFO_BUFFER indicator of information type needed, such as CIB_USERUSERINFO.
dwSize
[in] Size of pCallInfoBuffer.
pCallInfoBuffer
[in] Pointer to call information buffer.

Return Values

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

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, GetCallInfoBuffer, get_CallInfoBuffer, put_CallInfoBuffer, CALLINFO_BUFFER