From 9592a8886081375e44615370379e5fa9282272a9 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Thu, 7 Sep 2006 15:07:40 +0200 Subject: [PATCH] crypt32: Add some documentation. --- dlls/crypt32/oid.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/dlls/crypt32/oid.c b/dlls/crypt32/oid.c index a9934789efb..c88d85ff03d 100644 --- a/dlls/crypt32/oid.c +++ b/dlls/crypt32/oid.c @@ -413,6 +413,26 @@ BOOL WINAPI CryptGetDefaultOIDFunctionAddress(HCRYPTOIDFUNCSET hFuncSet, return FALSE; } +/*********************************************************************** + * CryptRegisterOIDFunction (CRYPT32.@) + * + * Register the DLL and the functions it uses to cover the combination + * of encoding type, functionname and OID. + * + * PARAMS + * dwEncodingType [I] Encoding type to be used. + * pszFuncName [I] Name of the function to be registered. + * pszOID [I] OID of the function (numeric or string). + * pwszDll [I] The DLL that is to be registered. + * pszOverrideFuncName [I] Name of the function in the DLL. + * + * RETURNS + * Success: TRUE. + * Failure: FALSE. (Look at GetLastError()). + * + * NOTES + * Registry errors are always reported via SetLastError(). + */ BOOL WINAPI CryptRegisterOIDFunction(DWORD dwEncodingType, LPCSTR pszFuncName, LPCSTR pszOID, LPCWSTR pwszDll, LPCSTR pszOverrideFuncName) {