[PATCH] added crypt.CryptRegisterOIDFunction stub

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there!
I just wrote a stub for the crypt.CryptRegisterOIDFunction function.
Permission is granted to include this into ReWinD and WineX trees.

regs,
 Chris
diff -ur dlls.alt/crypt32/crypt32.spec dlls/crypt32/crypt32.spec
--- dlls.alt/crypt32/crypt32.spec	2002-10-14 18:12:12.000000000 +0200
+++ dlls/crypt32/crypt32.spec	2002-10-14 18:11:11.000000000 +0200
@@ -132,7 +132,7 @@
 @ stub CryptMsgSignCTL
 @ stub CryptMsgUpdate
 @ stub CryptMsgVerifyCountersignatureEncoded
-@ stub CryptRegisterDefaultOIDFunction
+@ stdcall CryptRegisterDefaultOIDFunction(long str long wstr) CryptRegisterDefaultOIDFunction
 @ stdcall CryptRegisterOIDFunction(long str str wstr str) CryptRegisterOIDFunction
 @ stub CryptRegisterOIDInfo
 @ stdcall CryptSIPAddProvider(ptr) CryptSIPAddProvider
diff -ur dlls.alt/crypt32/main.c dlls/crypt32/main.c
--- dlls.alt/crypt32/main.c	2002-10-14 18:12:25.000000000 +0200
+++ dlls/crypt32/main.c	2002-10-14 18:12:33.000000000 +0200
@@ -86,6 +86,15 @@
     return FALSE;
 }
 
+BOOL WINAPI CryptRegisterDefaultOIDFunction(DWORD dwEncodingType,
+                                     LPCSTR pszFuncName, DWORD dwIndex,
+				     LPCWSTR pwszDll)
+{
+    FIXME("(%lx,%s,%s,%s) stub!\n", dwEncodingType, pszFuncName, dwIndex,
+          debugstr_w(pwszDll));
+    return FALSE;
+}
+
 BOOL WINAPI CryptRegisterOIDFunction(DWORD dwEncodingType, LPCSTR pszFuncName,
                                      LPCSTR pszOID, LPCWSTR pwszDll, LPCSTR pszOverrideFuncName)
 {

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux