Platform SDK: TAPI

TSPI_lineReceiveMSPData

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

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 Values

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

LINEERR_NOMEM
LINEERR_OPERATIONFAILED
LINEERR_OPERATIONUNAVAIL
LINEERR_RESOURCEUNAVAIL

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Version: Requires TAPI 3.0 or later.
  Header: Declared in Tspi.h.

See Also

About The Media Service Provider (MSP), TSPI_lineMSPIdentify, TSPI_lineCreateMSPInstance, TSPI_lineCloseMSPInstance