Module: wine Branch: master Commit: 9592a8886081375e44615370379e5fa9282272a9 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=9592a8886081375e44615370...
Author: Paul Vriens Paul.Vriens@xs4all.nl Date: Thu Sep 7 15:07:40 2006 +0200
crypt32: Add some documentation.
---
dlls/crypt32/oid.c | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/dlls/crypt32/oid.c b/dlls/crypt32/oid.c index a993478..c88d85f 100644 --- a/dlls/crypt32/oid.c +++ b/dlls/crypt32/oid.c @@ -413,6 +413,26 @@ BOOL WINAPI CryptGetDefaultOIDFunctionAd 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) {