[Wine-patches] [eter-1.0.12 1/2] crypt32: Add CryptRegisterOIDInfo stub.
Alexander Morozov
amorozov на etersoft.ru
Пн Апр 26 19:55:04 MSD 2010
----------- следующая часть -----------
From dc36a1f38cf6b8b9a08dd8d283dec35e3429296e Mon Sep 17 00:00:00 2001
From: Anders Jonsson <anders.jonsson на norsjonet.se>
Date: Sat, 20 Jun 2009 10:08:46 +0200
Subject: [eter-1.0.12 1/2] crypt32: Add CryptRegisterOIDInfo stub.
---
dlls/crypt32/crypt32.spec | 2 +-
dlls/crypt32/oid.c | 10 ++++++++++
2 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/dlls/crypt32/crypt32.spec b/dlls/crypt32/crypt32.spec
index 3591d17..03ac943 100644
--- a/dlls/crypt32/crypt32.spec
+++ b/dlls/crypt32/crypt32.spec
@@ -162,7 +162,7 @@
@ stdcall CryptQueryObject(long ptr long long long ptr ptr ptr ptr ptr ptr)
@ stdcall CryptRegisterDefaultOIDFunction(long str long wstr)
@ stdcall CryptRegisterOIDFunction(long str str wstr str)
-@ stub CryptRegisterOIDInfo
+@ stdcall CryptRegisterOIDInfo(ptr long)
@ stdcall CryptSIPAddProvider(ptr)
@ stdcall CryptSIPCreateIndirectData(ptr ptr ptr)
@ stdcall CryptSIPGetSignedDataMsg(ptr ptr long ptr ptr)
diff --git a/dlls/crypt32/oid.c b/dlls/crypt32/oid.c
index ba5e722..96bc4fb 100644
--- a/dlls/crypt32/oid.c
+++ b/dlls/crypt32/oid.c
@@ -668,6 +668,16 @@ error_close_key:
}
/***********************************************************************
+ * CryptRegisterOIDInfo (CRYPT32.@)
+ */
+BOOL WINAPI CryptRegisterOIDInfo(PCCRYPT_OID_INFO pInfo, DWORD dwFlags)
+{
+ FIXME("(%p, %x): stub\n", pInfo, dwFlags );
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
+
+/***********************************************************************
* CryptUnregisterOIDFunction (CRYPT32.@)
*/
BOOL WINAPI CryptUnregisterOIDFunction(DWORD dwEncodingType, LPCSTR pszFuncName,
--
1.6.5.8
Подробная информация о списке рассылки Wine-patches