gdi32: Do not load 16-bit gdi.exe by default.

This commit is contained in:
Alexandre Julliard 2010-02-08 17:44:31 +01:00
parent 0e0b704f5b
commit ad8389dc39
2 changed files with 0 additions and 12 deletions

View File

@ -429,16 +429,6 @@ static void free_segptr_bits( HBITMAP16 bmp )
}
/**********************************************************************
* DllMain
*/
BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
{
if (reason == DLL_PROCESS_ATTACH) LoadLibrary16( "gdi.exe" );
return TRUE;
}
/***********************************************************************
* SetBkColor (GDI.1)
*/

View File

@ -578,8 +578,6 @@ BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
if (reason != DLL_PROCESS_ATTACH) return TRUE;
DisableThreadLibraryCalls( inst );
LoadLibraryA( "gdi.exe16" );
WineEngInit();
/* create stock objects */