[2/2] sfc: Add a stub implementation for ordinal 3. (try 2)
Hans Leidekker
hans at codeweavers.com
Tue Jan 6 01:34:08 CST 2009
A bit of trial and error suggested this as a rough prototype; there was
no crash with one four byte argument and returning 0 makes the installer
proceed without without successive calls to sfc.
-Hans
diff --git a/dlls/sfc/sfc.spec b/dlls/sfc/sfc.spec
index 2db3cb3..7a8d0f7 100644
--- a/dlls/sfc/sfc.spec
+++ b/dlls/sfc/sfc.spec
@@ -1,6 +1,6 @@
1 stub @
2 stub @
-3 stub @
+3 stdcall @(long) ordinal3
4 stub @
5 stub @
6 stub @
diff --git a/dlls/sfc/sfc_main.c b/dlls/sfc/sfc_main.c
index 58957c8..ba68a89 100644
--- a/dlls/sfc/sfc_main.c
+++ b/dlls/sfc/sfc_main.c
@@ -52,3 +52,9 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
}
return TRUE;
}
+
+DWORD WINAPI ordinal3(DWORD unknown)
+{
+ FIXME("%x\n", unknown);
+ return 0;
+}
More information about the wine-patches
mailing list