2 * GDI initialization code
7 #include "wine/winbase16.h"
15 /***********************************************************************
16 * GDI initialisation routine
18 BOOL WINAPI MAIN_GdiInit(HINSTANCE hinstDLL, DWORD reason, LPVOID lpvReserved)
20 if (reason != DLL_PROCESS_ATTACH) return TRUE;
22 if (!TWEAK_Init()) return FALSE;
24 /* GDI initialisation */
25 if(!GDI_Init()) return FALSE;
27 /* Create the Win16 printer driver */
28 if (!WIN16DRV_Init()) return FALSE;
30 /* PSDRV initialization */
31 if (!LoadLibraryA( "wineps" )) return FALSE;
37 /***********************************************************************
40 void WINAPI Copy16( LPVOID src, LPVOID dst, WORD size )
42 memcpy( dst, src, size );