ITTAPI::SetAssistedTelephonyPriority method (tapi3if.h)

The SetAssistedTelephonyPriority method sets the application priority to handle assisted telephony requests.

Syntax

HRESULT SetAssistedTelephonyPriority(
  [in] BSTR         pAppFilename,
  [in] VARIANT_BOOL fPriority
);

Parameters

[in] pAppFilename

Pointer to a BSTR containing the name of the application.

[in] fPriority

Set to VARIANT_FALSE to disable, VARIANT_TRUE to enable.

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.

Remarks

The application must use SysAllocString to allocate memory for the pAppFilename parameter and use SysFreeString to free the memory when the variable is no longer needed.

Requirements

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

See also

ITBasicCallControl::HandoffIndirect

ITTAPI

TAPI Object