[crypt32 1/3] Add some documentation
Paul Vriens
Paul.Vriens at xs4all.nl
Thu Sep 7 08:07:40 CDT 2006
Hi,
just some documentation as I was using this function. Seems to be a good
habit.
Changelog
Add some documentation
Cheers,
Paul.
---
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)
{
--
1.4.2
More information about the wine-patches
mailing list