Partager via


CryptInitOIDFunctionSet (Compact 2013)

3/28/2014

This function 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 WINAPI CryptInitOIDFunctionSet(
  LPCSTR pszFuncName,
  DWORD dwFlags
);

Parameters

  • pszFuncName
    [in] Name of the OID function set.
  • dwFlags
    [in] Reserved; set to 0 (zero).

Return Value

This function returns the handle of the OID function set identified by the function set name supplied.

Requirements

Header

wincrypt.h

Library

crypt32.lib

See Also

Reference

Certificates Functions
CryptEnumOIDInfo
CryptFindOIDInfo
CryptFreeOIDFunctionAddress
CryptGetDefaultOIDFunctionAddress