McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 220

↗ View in doc context
page
220
source
cucm/v15/tapi-dev-guide/tapi-dev-guide.md
chunk_id
cucm::v15::tapi-dev-guide::tapi-dev-guide::225

hwndOwner A handle to a window to which any dialog boxes that need to be displayed as part of the removal process (for example, a confirmation dialog box by the service provider's TSPI_providerRemove function) would be attached. The parameter can be a NULL value to indicate that any window that is created during the function should have no owner window. Return Values Returns zero if the request succeeds or a negative number if an error occurs. Possible return values follow: • LINEERR_INIFILECORRUPT • LINEERR_NOMEM • LINEERR_INVALPARAM • LINEERR_OPERATIONFAILED lineSetAppPriority The lineSetAppPriority function 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. Function Details LONG WINAPI lineSetAppPriority( LPCSTR lpszAppFilename, DWORD dwMediaMode, LPLINEEXTENSIONID lpExtensionID, DWORD dwRequestMode, LPCSTR lpszExtensionName, DWORD dwPriority ); Parameters lpszAppFilename A pointer to a string that contains the application executable module filename (without directory information). In TAPI version 2.0 or later, the parameter can specify a filename in either long or 8.3 filename format. dwMediaMode The media type for which the priority of the application is to be set. The value can be one LINEMEDIAMODE_Constant; only a single bit may be on. Use the value zero to set the application priority for Assisted Telephony requests. lpExtensionID A pointer to a structure of type LINEEXTENSIONID. This parameter gets ignored. dwRequestMode If the dwMediaMode parameter is zero, this parameter specifies the Assisted Telephony request mode for which priority is to be set. It must be either LINEREQUESTMODE_MAKECALL or LINEREQUESTMODE_MEDIACALL. This parameter gets ignored if dwMediaMode is nonzero. Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 188 Basic TAPI Implementation lineSetAppPriority