McDewey

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

Page 200

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

lpMessage A pointer to a LINEMESSAGE structure. Upon successful return from this function, the structure contains the next message that had been queued for delivery to the application. dwTimeout The time-out interval, in milliseconds. The function returns if the interval elapses, even if no message can be returned. If dwTimeout is zero, the function checks for a queued message and returns immediately. If dwTimeout is INFINITE, the function time-out interval never elapses. Return Values Returns zero if the request succeeds or returns a negative number if an error occurs. Possible return values follow: • LINEERR_INVALAPPHANDLE • LINEERR_OPERATIONFAILED • LINEERR_INVALPOINTER • LINEERR_NOMEM lineGetNewCalls The lineGetNewCalls function returns call handles to calls on a specified line or address for which the application currently does not have handles. The application receives monitor privilege for these calls. An application can use lineGetNewCalls to obtain handles to calls for which it currently has no handles. The application can select the calls for which handles are to be returned by basing this selection on scope (calls on a specified line, or calls on a specified address). For example, an application can request call handles to all calls on a given address for which it currently has no handle. Function Details LONG WINAPI lineGetNewCalls( HLINE hLine, DWORD dwAddressID, DWORD dwSelect, LPLINECALLLIST lpCallList ); Parameters hLine A handle to an open line device. dwAddressID An address on the given open line device. An address identifier permanently associates with an address; the identifier remains constant across operating system upgrades. dwSelect The selection of calls that are requested. This parameter uses one and only one of the LINECALLSELECT_Constants. Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 168 Basic TAPI Implementation lineGetNewCalls