/mcpRemarks Endpoint is created based on a data associated by TSP with the deviceId. EpClose Close endpoint created by EpOpen. Syntax CMAPI bool EpClose ( HANDLE hEp ); Parameters hEp Endpoint handle returned by EpOpen. Return Value If no error 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 endpoint handle is invalid. EP_ERR_HANDLE_INVALID EpGetStreamHandle Returns endpoint stream handle for a specified stream type and direction Syntax CMAPI HANDLE EpGetStreamHandle ( HANDLE hEp, StreamType streamType, StreamDirection streamDir ); Parameters hEp Endpoint handle returned by EpOpen. streamType Stream type. This parameter can be one of the following values: Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 433 Cisco TSP Media Driver EpClose