Platform SDK: TAPI |
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 );
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
If the device does not have an associated MSP, the TSP returns LINEERR_OPERATIONUNAVAIL.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Version: Requires TAPI 3.0 or later.
Header: Declared in Tspi.h.
About The Media Service Provider (MSP), TSPI_lineReceiveMSPData, TSPI_lineCreateMSPInstance, TSPI_lineCloseMSPInstance