CryptInitOIDFunctionSet function (wincrypt.h)
The CryptInitOIDFunctionSet initializes and returns the handle of the OID function set identified by a supplied function set name. If the set already exists, the handle of the existing set is returned. If the set does not exist, it is created. This allows different DLLs to install OID functions for the same function set name.
Syntax
HCRYPTOIDFUNCSET CryptInitOIDFunctionSet(
[in] LPCSTR pszFuncName,
[in] DWORD dwFlags
);
Parameters
[in] pszFuncName
Name of the OID function set.
[in] dwFlags
Reserved for future use and must be zero.
Return value
Returns the handle of the OID function set identified by pszFuncName, or NULL if the function fails.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2003 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | wincrypt.h |
Library | Crypt32.lib |
DLL | Crypt32.dll |