Platform SDK: TAPI

ITCallMediaEvent::get_Cause

Gets the cause of the call media event, such as a timeout on the renderer device.

HRESULT get_Cause(
  CALL_MEDIA_EVENT_CAUSE *pCause
);

Parameters

pCause
[out, retval] Pointer to CALL_MEDIA_EVENT_CAUSE.

Return Values

Value Meaning
S_OK Method succeeded.
E_OUTOFMEMORY Insufficient memory exists to perform the operation.
E_POINTER The pCause parameter is not a valid pointer.

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

Call Object, CALL_MEDIA_EVENT_CAUSE