ITCallMediaEvent::get_Cause method (tapi3if.h)

The get_Cause method gets the cause of the call media event, such as a timeout on the renderer device.

Syntax

HRESULT get_Cause(
  [out] CALL_MEDIA_EVENT_CAUSE *pCause
);

Parameters

[out] pCause

Pointer to CALL_MEDIA_EVENT_CAUSE.

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 pCause parameter is not a valid pointer.

Requirements

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

See also

CALL_MEDIA_EVENT_CAUSE

Call Object