Platform SDK: TAPI

ITTAPI::SetAssistedTelephonyPriority

Sets application priority to handle assisted telephony requests.

HRESULT SetAssistedTelephonyPriority(
  BSTR pAppFilename,
  VARIANT_BOOL fPriority
);

Parameters

pAppFilename
[in] Pointer to BSTR containing name of application.
fPriority
[in] Set to VARIANT_FALSE to disable, VARIANT_TRUE to enable.

Return Values

Value Meaning
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

  Windows NT/2000: Requires Windows 2000.
  Version: Requires TAPI 3.0 or later.
  Header: Declared in Tapi3.h.
  Library: Use T3iid.lib.

See Also

ITTAPI, ITBasicCallControl::HandoffIndirect, TAPI Object