Reference

CryptRegisterOIDFunction(3w)

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(3w)).

NOTES

Registry errors are always reported via SetLastError(3w).

IMPLEMENTATION

Declared in "wincrypt.h".

Implemented in "dlls/crypt32/oid.c".

Debug channel "crypt".

History