Fix remaining signed/unsigned mismatches.
[wine.git] / dlls / gdi / gdi_main.c
blobf468a72fc34542039a822f532919f0d260592df9
1 /*
2 * GDI initialization code
3 */
5 #include "windef.h"
6 #include "wingdi.h"
7 #include "wine/winbase16.h"
9 #include "gdi.h"
10 #include "tweak.h"
11 #include "win16drv.h"
12 #include "winbase.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;
32 return TRUE;
36 /***********************************************************************
37 * Copy (GDI.250)
39 void WINAPI Copy16( LPVOID src, LPVOID dst, WORD size )
41 memcpy( dst, src, size );