2000-03-19 12:08:09 +00:00
|
|
|
/*
|
|
|
|
* GDI initialization code
|
|
|
|
*/
|
|
|
|
|
2001-01-26 20:43:40 +00:00
|
|
|
#include <string.h>
|
2000-03-19 12:08:09 +00:00
|
|
|
#include "windef.h"
|
|
|
|
#include "wingdi.h"
|
|
|
|
#include "wine/winbase16.h"
|
|
|
|
|
|
|
|
#include "gdi.h"
|
|
|
|
#include "win16drv.h"
|
2000-05-30 22:47:02 +00:00
|
|
|
#include "winbase.h"
|
2000-03-19 12:08:09 +00:00
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* GDI initialisation routine
|
|
|
|
*/
|
2000-08-19 21:38:55 +00:00
|
|
|
BOOL WINAPI MAIN_GdiInit(HINSTANCE hinstDLL, DWORD reason, LPVOID lpvReserved)
|
2000-03-19 12:08:09 +00:00
|
|
|
{
|
2000-08-19 21:38:55 +00:00
|
|
|
if (reason != DLL_PROCESS_ATTACH) return TRUE;
|
2001-07-27 19:37:31 +00:00
|
|
|
return GDI_Init();
|
2000-03-19 12:08:09 +00:00
|
|
|
}
|
2000-08-06 02:42:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* Copy (GDI.250)
|
|
|
|
*/
|
|
|
|
void WINAPI Copy16( LPVOID src, LPVOID dst, WORD size )
|
|
|
|
{
|
|
|
|
memcpy( dst, src, size );
|
|
|
|
}
|