Platform SDK: TAPI |
The SetApplicationPriority method allows an application to set its priority in the handoff priority list for a particular media type or Assisted Telephony request mode, or to remove itself from the priority list.
HRESULT SetApplicationPriority( BSTR pAppFilename, long lMediaType, VARIANT_BOOL fPriority );
Value | Meaning |
---|---|
S_OK | Method succeeded. |
E_OUTOFMEMORY | Insufficient memory exists to perform the operation. |
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.
Windows NT/2000: Requires Windows 2000.
Version: Requires TAPI 3.0 or later.
Header: Declared in Tapi3.h.
Library: Use T3iid.lib.