CryptSIPAddProvider function (mssip.h)
The CryptSIPAddProvider function registers functions that are exported by a given DLL file that implements a Subject Interface Package (SIP).
Syntax
BOOL CryptSIPAddProvider(
[in] SIP_ADD_NEWPROVIDER *psNewProv
);
Parameters
[in] psNewProv
A pointer to a SIP_ADD_NEWPROVIDER structure that specifies the DLL file and function names to register.
Return value
The return value is TRUE if the function succeeds; FALSE if the function fails. If the function fails, call the GetLastError function to determine the reason for failure.
Remarks
Typically, you call this function as part of an in-process COM server registration. The CryptSIPAddProvider function persists the appropriate Registry entries for the SIP provider functions.
When you have finished using the added SIP provider, remove it by calling the CryptSIPRemoveProvider function.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | mssip.h |
Library | Crypt32.lib |
DLL | Crypt32.dll |