TSPI_lineReceiveMSPData function (tspi.h)

The TSPI_lineReceiveMSPData function service provider receives data sent by the media service provider (MSP). This function requires TAPI 3.0 version negotiation.

Syntax

LONG TSPIAPI TSPI_lineReceiveMSPData(
  HDRVLINE    hdLine,
  HDRVCALL    hdCall,
  HDRVMSPLINE hdMSPLine,
  LPVOID      pBuffer,
  DWORD       dwSize
);

Parameters

hdLine

Handle to line device.

hdCall

Handle for call.

hdMSPLine

MSP handle for the call.

pBuffer

Pointer to buffer containing MSP data.

dwSize

Size of MSP data buffer.

Return value

Returns zero if the function succeeds, or an error number if an error occurs. Possible return values are as follows:

Requirements

   
Target Platform Windows
Header tspi.h

See also

About The Media Service Provider (MSP)

TSPI_lineCloseMSPInstance

TSPI_lineCreateMSPInstance

TSPI_lineMSPIdentify