Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The ReceiveTSPData method is called by TAPI 3 when the TSP sends asynchronous data to the MSP. If the TSP sends the LINE_SENDMSPDATA message with the htCall set to NULL, pMSPCall will be NULL. If the TSP does specify the htCall, pMSPCall will correspond to the call created in CreateMSPCall.
HRESULT ReceiveTSPData(
[in] IUnknown *pMSPCall,
BYTE *pBuffer,
[in] DWORD dwSize
);
[in] pMSPCall
Pointer to IUnknown interface of the MSP Call object.
pBuffer
[in, size_is(dwSize)] Pointer to opaque buffer from the TSP.
[in] dwSize
Size, in bytes, of pBuffer.
This method can return one of these values.
Value | Meaning |
---|---|
|
Method succeeded. |
|
The pMSPCall or pBuffer parameter is not a valid pointer. |
|
The pMSPCall parameter is NULL. |
|
The pMSPCall parameter does not point to a valid interface. |
|
Insufficient memory exists to perform the operation. |
The MSP must free memory in pBuffer.
The semantics of the data passed in the buffer are specific to each TSP/MSP pair. This method simply dispatches the received buffer to the address (pMSPCall == NULL) or the indicated call (pMSPCall != NULL).
Requirement | Value |
---|---|
Target Platform | Windows |
Header | tapi3.h (include Tapi3.h) |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today