Juan Lang : crypt32: Add stubs for I_CryptFindLruEntry and I_CryptCreateLruEntry.

Alexandre Julliard julliard at winehq.org
Fri Oct 19 08:35:45 CDT 2007


Module: wine
Branch: master
Commit: 7b8cb034b223be10bf72e155fd40910679816b56
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7b8cb034b223be10bf72e155fd40910679816b56

Author: Juan Lang <juan.lang at gmail.com>
Date:   Thu Oct 18 10:36:28 2007 -0700

crypt32: Add stubs for I_CryptFindLruEntry and I_CryptCreateLruEntry.

---

 dlls/crypt32/crypt32.spec |    3 ++-
 dlls/crypt32/main.c       |   12 ++++++++++++
 2 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/dlls/crypt32/crypt32.spec b/dlls/crypt32/crypt32.spec
index cbadf22..8542721 100644
--- a/dlls/crypt32/crypt32.spec
+++ b/dlls/crypt32/crypt32.spec
@@ -192,8 +192,9 @@
 @ stub CryptVerifySignatureU
 @ stdcall I_CryptAllocTls()
 @ stdcall I_CryptCreateLruCache(ptr ptr)
-@ stub I_CryptCreateLruEntry
+@ stdcall I_CryptCreateLruEntry(ptr long long)
 @ stdcall I_CryptDetachTls(long)
+@ stdcall I_CryptFindLruEntry(long long)
 @ stdcall I_CryptFindLruEntryData(long long long)
 @ stdcall I_CryptFlushLruCache(ptr long long)
 @ stdcall I_CryptFreeLruCache(ptr long long)
diff --git a/dlls/crypt32/main.c b/dlls/crypt32/main.c
index f10a9c9..12f2885 100644
--- a/dlls/crypt32/main.c
+++ b/dlls/crypt32/main.c
@@ -75,12 +75,24 @@ BOOL WINAPI I_CryptCreateLruCache(void *unknown, HLRUCACHE *out)
     return TRUE;
 }
 
+BOOL WINAPI I_CryptFindLruEntry(DWORD unk0, DWORD unk1)
+{
+    FIXME("(%08x, %08x): stub!\n", unk0, unk1);
+    return FALSE;
+}
+
 BOOL WINAPI I_CryptFindLruEntryData(DWORD unk0, DWORD unk1, DWORD unk2)
 {
     FIXME("(%08x, %08x, %08x): stub!\n", unk0, unk1, unk2);
     return FALSE;
 }
 
+BOOL WINAPI I_CryptCreateLruEntry(HLRUCACHE h, DWORD unk0, DWORD unk1)
+{
+    FIXME("(%p, %08x, %08x): stub!\n", h, unk0, unk1);
+    return FALSE;
+}
+
 DWORD WINAPI I_CryptFlushLruCache(HLRUCACHE h, DWORD unk0, DWORD unk1)
 {
     FIXME("(%p, %08x, %08x): stub!\n", h, unk0, unk1);




More information about the wine-cvs mailing list