Platform SDK: TAPI |
This helper template function is called in the derived class' implementation of CreateMSPCall. It checks all of the arguments for validity, including the media type argument (via the address object method IsValidSetOfMediaTypes; see above). It sets up the aggregation between the MSP call object and the TAPI call object using the CComAggObject ATL 2.1 class template. It then calls the Init method on the MSP call object.
HRESULT CreateMSPCallHelper( CMSPAddress *pCMSPAddress, MSP_HANDLE htCall, DWORD dwReserved, DWORD dwMediaType, IUnknown *pOuterUnknown, IUnknown **ppMSPCall, T **ppCMSPCall );