The TSPI_providerInit and TSPI_providerShutdown functions are for initialization and shutdown.
Because TSPI defines initialization and shutdown functions, the service provider does not need to provide an initialization routine or WEP function as used in other dynamic-link libraries. The initialization and shutdown functions can be called multiple times while the service provider is active (in memory).
Because the service configuration can change while a service provider is active (in memory), the service provider must reinitialize all configuration-related information whenever the TSPI_providerInit function is called. All stored information from previous invocations may have become invalid.