Commit 81e0fffb authored by Alexandre Julliard's avatar Alexandre Julliard

It makes no sense to export the dll entry point as stub.

parent e5f6637e
......@@ -31,6 +31,9 @@
WINE_DEFAULT_DEBUG_CHANNEL(advpack);
/***********************************************************************
* DllMain (ADVPACK.@)
*/
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("(%p, %ld, %p)\n",hinstDLL, fdwReason, lpvReserved);
......@@ -42,7 +45,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
}
/***********************************************************************
* LaunchINFSection (SETUPAPI.@)
* LaunchINFSection (ADVPACK.@)
*/
void WINAPI LaunchINFSection( HWND hWnd, HINSTANCE hInst, LPCSTR cmdline, INT show )
{
......@@ -50,7 +53,7 @@ void WINAPI LaunchINFSection( HWND hWnd, HINSTANCE hInst, LPCSTR cmdline, INT sh
}
/***********************************************************************
* LaunchINFSectionEx (SETUPAPI.@)
* LaunchINFSectionEx (ADVPACK.@)
*/
void WINAPI LaunchINFSectionEx( HWND hWnd, HINSTANCE hInst, LPCSTR cmdline, INT show )
{
......
......@@ -3,7 +3,7 @@
@ stub CloseINFEngine
@ stub DelNode
@ stub DelNodeRunDLL32
@ stub DllMain
@ stdcall DllMain(long long ptr)
@ stdcall DoInfInstall(ptr)
@ stub ExecuteCab
@ stub ExtractFiles
......
......@@ -11,7 +11,7 @@
@ stub DCISetClipList
@ stub DCISetDestination
@ stub DCISetSrcDestClip
@ stub DllEntryPoint
@ stdcall DllEntryPoint(long long ptr) DllMain
@ stub GetDCRegionData
@ stub GetWindowRegionData
@ stub WinWatchClose
......
......@@ -28,6 +28,18 @@
#include "wine/debug.h"
/***********************************************************************
* DllEntryPoint (DCIMAN32.@)
*
* DCIMAN32 initialisation routine.
*/
BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
{
if (reason == DLL_PROCESS_ATTACH) DisableThreadLibraryCalls( inst );
return TRUE;
}
/***********************************************************************
* DCIOpenProvider (DCIMAN32.@)
*/
HDC WINAPI
......
@ 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()
......@@ -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.@)
*/
......
......@@ -107,7 +107,6 @@
@ stdcall GetPrinterDriverDirectoryW(wstr wstr long ptr long ptr)
@ stdcall GetPrinterDriverW(long str long ptr long ptr)
@ stdcall GetPrinterW(long long ptr long ptr)
@ stub InitializeDll
@ stdcall OpenPrinterA(str ptr ptr)
@ stdcall OpenPrinterW(wstr ptr ptr)
@ stub PlayGdiScriptOnPrinterIC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment