NAME

CryptRegisterOIDFunction  (CRYPT32.@)

SYNOPSIS

 BOOL CryptRegisterOIDFunction
 (
  DWORD   dwEncodingType,
  LPCSTR  pszFuncName,
  LPCSTR  pszOID,
  LPCWSTR pwszDll,
  LPCSTR  pszOverrideFuncName
 )

DESCRIPTION

Register the dll and the functions it uses to cover the combination of encoding type, function name and OID.

PARAMS

dwEncodingType [In] Encoding type to be used.
pszFuncName [In] Name of the function to be registered.
pszOID [In] OID of the function (numeric or string).
pwszDll [In] The dll that is to be registered.
pszOverrideFuncName [In] Name of the function in the DLL.

RETURNS

Success: TRUE.

Failure: FALSE. (Look at GetLastError).

NOTES

Registry errors are always reported via SetLastError.

IMPLEMENTATION

Declared in "wincrypt.h". https://source.winehq.org/source/include/wincrypt.h

Implemented in "dlls/crypt32/oid.c". https://source.winehq.org/source/dlls/crypt32/oid.c

Debug channel "crypt".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Apr 2024.