Compartilhar via


TSPI Service Provider Functions (Compact 2013)

3/26/2014

The following table shows the TSPI service provider with a description of the purpose of each.

Programming element

Description

TSPI_providerCreateLineDevice

Called by TAPI in response to a system plug-and-play event for a line device associated with the TSP.

TSPI_providerCreatePhoneDevice

Called by TAPI in response to a system plug-and-play event for a phone device associated with the TSP.

TSPI_providerInit

Initializes the service provider, and gives it parameters that are required for subsequent operations.

TSPI_providerEnumDevices

This function is called by TAPI before the TSPI_providerInit function to determine the number of line and phone devices supported by the service provider.

TSPI_providerInstall

Installs any additional "pieces" of the provider into the right directories (or at least verifying that they are there), sets up the registry entries of the provider for its lines and phones, and creates any other entries that are necessary for the service provider to function properly.

TSPI_providerRemove

Asks the user to confirm elimination of the service provider.

TSPI_providerRemoveDevice

Indicates to a TSP that a device has been removed from the system. The TSP should mark or remove any line or telephone device that is associated with the removed device.

Ee496365.note(en-us,WinEmbedded.80).gifNote:
This function is specific to Windows Embedded Compact.

TSPI_providerShutdown

Shuts down the service provider.

See Also

Reference

TSPI Functions