PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_RELEASE function pointer
The PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_RELEASE callback function releases the provider.
typedef void ( WINAPI *PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_RELEASE)( _In_ DWORD dwReason, _In_opt_ LPVOID pPluginContext );
- dwReason [in]
Specifies the reason the provider is being released. This can be one of the following values:
- pPluginContext [in, optional]
Pointer to an optional buffer defined by this provider and returned by the PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_INITIALIZE function. The buffer is not modified by the caller. Your provider can use the data to help it determine what actions to perform or to maintain additional information.
Do not return a value from this function.
The PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_RELEASE callback function is currently called by only the Secure Channel (Schannel) security package. This function is called once for every call made to PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_INITIALIZE.
The provider is not expected to release all memory for all objects but should clean itself if the dwReason parameter is set to CRYPT_OBJECT_LOCATOR_RELEASE_SERVICE_STOP or CRYPT_OBJECT_LOCATOR_RELEASE_DLL_UNLOAD.
This function must block so that calls to PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FLUSH can complete.
Minimum supported client
|Windows 8 [desktop apps only]|
Minimum supported server
|Windows Server 2012 [desktop apps only]|