PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE_IDENTIFIER function pointer
The PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE_IDENTIFIER callback function releases memory for an object identifier.
Syntax
typedef void ( WINAPI *PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE_IDENTIFIER)( _In_opt_ LPVOID pPluginContext, _In_ PCRYPT_DATA_BLOB pIdentifier );
Parameters
- 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.
- pIdentifier [in]
-
Pointer to the buffer that contains the identifier.
Return value
Do not return a value from this function.
Remarks
The PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE_IDENTIFIER function is currently called by only the Secure Channel (Schannel) security package. This function may be called for any of the following reasons:
- An error occurred when processing the object returned by the PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_GET function.
- The object returned by PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_GET is no longer needed.
- An updated object has been retrieved and the original object is no longer required.
Requirements
|
Minimum supported client |
Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps only] |
|
Header |
|
See also
- CRYPT_OBJECT_LOCATOR_PROVIDER_TABLE
- PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_GET
- PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_INITIALIZE