McDewey

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

Page 468

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

Syntax CMAPI bool EpStreamRead ( HANDLE hStream, PUCHAR pBuffer, int bufLen, PVOID pAppData, PRTPDATACALLBACK pCallback ); Parameters hStream Stream handle returned by EpGetStreamHandle. pBuffer Pointer to a buffer for incoming data. bufLen Buffer size. pAppData Pointer to an application data area. It will be associated with the buffer and will be passed back to the application callback function as the pAppData parameter. pCallback Pointer to an application callback function to be called when data buffer is received or an error occurred. Return Value If no errors occurs, this function returns true. If an error occurs, false is returned, and a specific error code can be retrieved by calling EpApiGetLastError. Description Error code EpAPI is not initialized. EP_ERR_INIT Specified stream handle is invalid. EP_ERR_HANDLE_INVALID EpStreamWrite Write data to a stream. Syntax CMAPI bool EpStreamWrite ( HANDLE hStream, PUCHAR pBuffer, int bufLen, PVOID pAppData, Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 436 Cisco TSP Media Driver EpStreamWrite

Page 468 diagram