Platform SDK: TAPI

TSPI_lineMSPIdentify

The TSPI_lineMSPIdentify function determines the associated MSP CLSID for every line. This function requires TAPI 3.0 version negotiation.

LONG TSPIAPI TSPI_lineMSPIdentify(
  DWORD dwDeviceID,
  GUID *pCLSID
 );

Parameters

dwDeviceID
The line device whose CLSID is requested.
pCLSID
The TSP fills in the CLSID of the MSP to be created for the line device indicated in dwDeviceID.

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

Remarks

If the device does not have an associated MSP, the TSP returns LINEERR_OPERATIONUNAVAIL.

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_lineReceiveMSPData, TSPI_lineCreateMSPInstance, TSPI_lineCloseMSPInstance