ITBasicCallControl::SetQOS method (tapi3if.h)

The SetQOS method sets the quality of service level for the call.

Syntax

HRESULT SetQOS(
  [in] long              lMediaType,
  [in] QOS_SERVICE_LEVEL ServiceLevel
);

Parameters

[in] lMediaType

Media type of call.

[in] ServiceLevel

QOS_SERVICE_LEVEL indicator of desired QOS level for call.

Return value

This method can return one of these values.

Return code Description
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

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

See also

Call Object

ITBasicCallControl

QOS_SERVICE_LEVEL