2 * GDI initialization code
7 #include "wine/winbase16.h"
14 /***********************************************************************
15 * GDI initialisation routine
17 BOOL WINAPI MAIN_GdiInit(HINSTANCE hinstDLL, DWORD reason, LPVOID lpvReserved)
19 if (reason != DLL_PROCESS_ATTACH) return TRUE;
21 if (!TWEAK_Init()) return FALSE;
23 /* GDI initialisation */
24 if(!GDI_Init()) return FALSE;
26 /* Create the Win16 printer driver */
27 if (!WIN16DRV_Init()) return FALSE;
29 /* PSDRV initialization */
30 if (!LoadLibraryA( "wineps" )) return FALSE;
36 /***********************************************************************
39 void WINAPI Copy16( LPVOID src, LPVOID dst, WORD size )
41 memcpy( dst, src, size );