TSPI_lineMSPIdentify function (tspi.h)

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

Syntax

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 value

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

Remarks

Note that TAPI 3 calls TSPI_lineMSPIdentify only if the LINEDEVCAPFLAGS_MSP flag is set in the TSP. (You can set LINEDEVCAPFLAGS_constants in the dwDevCapFlags member of the LINEDEVCAPS structure.)

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

Requirements

Requirement Value
Target Platform Windows
Header tspi.h

See also

About The Media Service Provider (MSP)

LINEDEVCAPS

TSPI_lineCloseMSPInstance

TSPI_lineCreateMSPInstance

TSPI_lineReceiveMSPData