gdi32: Do not load 16-bit gdi.exe by default.
This commit is contained in:
parent
0e0b704f5b
commit
ad8389dc39
|
@ -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)
|
||||
*/
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue