/mcplineGetRequest The lineGetRequest function retrieves the next by-proxy request for the specified request mode. Function Details LONG WINAPI lineGetRequest( HLINEAPP hLineApp, DWORD dwRequestMode, LPVOID lpRequestBuffer ); Parameters hLineApp The application's usage handle for the line portion of TAPI. dwRequestMode The type of request that is to be obtained. dwRequestMode can have only one bit set. This parameter uses one and only one of the LINEREQUESTMODE_Constants. lpRequestBuffer A pointer to a memory buffer where the parameters of the request are to be placed. The size of the buffer and the interpretation of the information that is placed in the buffer depends on the request mode. The application-allocated buffer provides sufficient size to hold the request. If dwRequestMode is LINEREQUESTMODE_MAKECALL, interpret the content of the request buffer by using the LINEREQMAKECALL structure. If dwRequestMode is LINEREQUESTMODE_MEDIACALL, interpret the content of the request buffer by using the LINEREQMEDIACALL structure. Return Values Returns zero if the request succeeds or a negative number if an error occurs. Possible return values follow: • LINEERR_INVALAPPHANDLE • LINEERR_NOTREGISTERED • LINEERR_INVALPOINTER • LINEERR_OPERATIONFAILED • LINEERR_INVALREQUESTMODE • LINEERR_RESOURCEUNAVAIL • LINEERR_NOMEM • LINEERR_UNINITIALIZED • LINEERR_NOREQUEST Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 171 Basic TAPI Implementation lineGetRequest
