Sync to Wine-20050211
Alexandre Julliard <julliard(a)winehq.org>
- It makes no sense to export the dll entry point as stub.
Modified: trunk/reactos/lib/msimg32/msimg32.spec
Modified: trunk/reactos/lib/msimg32/msimg32_main.c
_____
Modified: trunk/reactos/lib/msimg32/msimg32.spec
--- trunk/reactos/lib/msimg32/msimg32.spec 2005-02-12 21:26:15 UTC
(rev 13516)
+++ trunk/reactos/lib/msimg32/msimg32.spec 2005-02-12 21:46:45 UTC
(rev 13517)
@@ -1,5 +1,5 @@
@ stdcall AlphaBlend(long long long long long long long long long long
long) gdi32.GdiAlphaBlend
-@ stub DllInitialize
+@ stdcall DllInitialize(long long ptr) DllMain
@ stdcall GradientFill(long ptr long ptr long long)
gdi32.GdiGradientFill
@ stdcall TransparentBlt(long long long long long long long long long
long long) gdi32.GdiTransparentBlt
@ stdcall vSetDdrawflag()
_____
Modified: trunk/reactos/lib/msimg32/msimg32_main.c
--- trunk/reactos/lib/msimg32/msimg32_main.c 2005-02-12 21:26:15 UTC
(rev 13516)
+++ trunk/reactos/lib/msimg32/msimg32_main.c 2005-02-12 21:46:45 UTC
(rev 13517)
@@ -26,6 +26,18 @@
WINE_DEFAULT_DEBUG_CHANNEL(msimg32);
+/**********************************************************************
*
+ * DllInitialize (MSIMG32.@)
+ *
+ * MSIMG32 initialisation routine.
+ */
+BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
+{
+ if (reason == DLL_PROCESS_ATTACH) DisableThreadLibraryCalls( inst
);
+ return TRUE;
+}
+
+
/***********************************************************************
*******
* vSetDdrawflag (MSIMG32.@)
*/
Show replies by date