ITBasicCallControl::SetQOS method (tapi3if.h)

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

Syntax

HRESULT SetQOS(
  long              lMediaType,
  QOS_SERVICE_LEVEL ServiceLevel
);

Parameters

lMediaType

Media type of call.

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

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

See also

Call Object

ITBasicCallControl

QOS_SERVICE_LEVEL