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

oldstable
Alexandre Julliard 2004-12-15 10:52:57 +00:00
parent e5f6637eec
commit 81e0fffba2
7 changed files with 32 additions and 6 deletions

View File

@ -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 )
{

View File

@ -3,7 +3,7 @@
@ stub CloseINFEngine
@ stub DelNode
@ stub DelNodeRunDLL32
@ stub DllMain
@ stdcall DllMain(long long ptr)
@ stdcall DoInfInstall(ptr)
@ stub ExecuteCab
@ stub ExtractFiles

View File

@ -11,7 +11,7 @@
@ stub DCISetClipList
@ stub DCISetDestination
@ stub DCISetSrcDestClip
@ stub DllEntryPoint
@ stdcall DllEntryPoint(long long ptr) DllMain
@ stub GetDCRegionData
@ stub GetWindowRegionData
@ stub WinWatchClose

View File

@ -27,6 +27,18 @@
#include "winerror.h"
#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.@)
*/

View File

@ -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()

View File

@ -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.@)
*/

View File

@ -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