ITCallInfo::SetCallInfoBuffer method (tapi3if.h)

The SetCallInfoBuffer method 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.

Syntax

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

Parameters

[in] CallInfoBuffer

CALLINFO_BUFFER indicator of information type needed, such as CIB_USERUSERINFO.

[in] dwSize

Size of pCallInfoBuffer.

[in] pCallInfoBuffer

Pointer to call information buffer.

Return value

This method can return one of these values.

Return code Description
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
The current call state is not valid for this operation.

Requirements

   
Target Platform Windows
Header tapi3if.h (include Tapi3.h)
Library Uuid.lib
DLL Tapi3.dll

See also

CALLINFO_BUFFER

Call Object

GetCallInfoBuffer

ITCallInfo

get_CallInfoBuffer

put_CallInfoBuffer