Platform SDK: TAPI

ITBasicCallControl::SetQOS

Sets the quality of service level for the call.

HRESULT SetQOS(
  long lMediaType,
  QOS_SERVICE_LEVEL ServiceLevel
);

Parameters

lMediaType
[in] Media type of call.
ServiceLevel
[in] QOS_SERVICE_LEVEL indicator of desired QOS level for call.

Return Values

Value Meaning
S_OK Method succeeded.
E_INVALIDARG The lMediaType parameter is not a valid media type.
E_OUTOFMEMORY Insufficient memory exists to perform the operation.

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

ITBasicCallControl, Call Object, QOS_SERVICE_LEVEL