Commit e7857fb5 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

gdi.exe16: Enable compilation with long types.

parent e443ee51
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = gdi.exe16 MODULE = gdi.exe16
IMPORTS = user32 advapi32 gdi32 win32u IMPORTS = user32 advapi32 gdi32 win32u
......
...@@ -548,7 +548,7 @@ static struct window_surface *create_surface( const BITMAPINFO *info ) ...@@ -548,7 +548,7 @@ static struct window_surface *create_surface( const BITMAPINFO *info )
surface->bits = (char *)info + surface->info_size; surface->bits = (char *)info + surface->info_size;
memcpy( &surface->info, info, surface->info_size ); memcpy( &surface->info, info, surface->info_size );
TRACE( "created %p %ux%u for info %p bits %p\n", TRACE( "created %p %lux%lu for info %p bits %p\n",
surface, surface->header.rect.right, surface->header.rect.bottom, info, surface->bits ); surface, surface->header.rect.right, surface->header.rect.bottom, info, surface->bits );
return &surface->header; return &surface->header;
} }
...@@ -2138,7 +2138,7 @@ void WINAPI PlayMetaFileRecord16( HDC16 hdc, HANDLETABLE16 *ht, METARECORD *mr, ...@@ -2138,7 +2138,7 @@ void WINAPI PlayMetaFileRecord16( HDC16 hdc, HANDLETABLE16 *ht, METARECORD *mr,
*/ */
BOOL16 WINAPI SetDCHook16( HDC16 hdc16, FARPROC16 hookProc, DWORD dwHookData ) BOOL16 WINAPI SetDCHook16( HDC16 hdc16, FARPROC16 hookProc, DWORD dwHookData )
{ {
FIXME( "%04x %p %x: not supported\n", hdc16, hookProc, dwHookData ); FIXME( "%04x %p %lx: not supported\n", hdc16, hookProc, dwHookData );
return FALSE; return FALSE;
} }
...@@ -2204,7 +2204,7 @@ UINT16 WINAPI GetBoundsRect16( HDC16 hdc, LPRECT16 rect, UINT16 flags) ...@@ -2204,7 +2204,7 @@ UINT16 WINAPI GetBoundsRect16( HDC16 hdc, LPRECT16 rect, UINT16 flags)
*/ */
WORD WINAPI EngineEnumerateFont16(LPSTR fontname, FARPROC16 proc, DWORD data ) WORD WINAPI EngineEnumerateFont16(LPSTR fontname, FARPROC16 proc, DWORD data )
{ {
FIXME("(%s,%p,%x),stub\n",fontname,proc,data); FIXME("(%s,%p,%lx),stub\n",fontname,proc,data);
return 0; return 0;
} }
...@@ -2251,7 +2251,7 @@ WORD WINAPI EngineRealizeFont16(LPLOGFONT16 lplogFont, LPTEXTXFORM16 lptextxform ...@@ -2251,7 +2251,7 @@ WORD WINAPI EngineRealizeFont16(LPLOGFONT16 lplogFont, LPTEXTXFORM16 lptextxform
*/ */
WORD WINAPI EngineRealizeFontExt16(LONG l1, LONG l2, LONG l3, LONG l4) WORD WINAPI EngineRealizeFontExt16(LONG l1, LONG l2, LONG l3, LONG l4)
{ {
FIXME("(%08x,%08x,%08x,%08x),stub\n",l1,l2,l3,l4); FIXME("(%08lx,%08lx,%08lx,%08lx),stub\n",l1,l2,l3,l4);
return 0; return 0;
} }
...@@ -3668,7 +3668,7 @@ BOOL16 WINAPI SetLayout16( HDC16 hdc, DWORD layout ) ...@@ -3668,7 +3668,7 @@ BOOL16 WINAPI SetLayout16( HDC16 hdc, DWORD layout )
*/ */
BOOL16 WINAPI SetSolidBrush16(HBRUSH16 hBrush, COLORREF newColor ) BOOL16 WINAPI SetSolidBrush16(HBRUSH16 hBrush, COLORREF newColor )
{ {
FIXME( "%04x %08x no longer supported\n", hBrush, newColor ); FIXME( "%04x %08lx no longer supported\n", hBrush, newColor );
return FALSE; return FALSE;
} }
......
...@@ -355,7 +355,7 @@ INT16 WINAPI EndSpoolPage16(HPJOB16 hJob) ...@@ -355,7 +355,7 @@ INT16 WINAPI EndSpoolPage16(HPJOB16 hJob)
*/ */
DWORD WINAPI GetSpoolJob16(int nOption, LONG param) DWORD WINAPI GetSpoolJob16(int nOption, LONG param)
{ {
TRACE("In GetSpoolJob param 0x%x noption %d\n",param, nOption); TRACE("In GetSpoolJob param 0x%lx noption %d\n",param, nOption);
return 0; return 0;
} }
...@@ -509,7 +509,7 @@ DWORD WINAPI DrvSetPrinterData16(LPSTR lpPrinter, LPSTR lpProfile, ...@@ -509,7 +509,7 @@ DWORD WINAPI DrvSetPrinterData16(LPSTR lpPrinter, LPSTR lpProfile,
TRACE("profile %s\n",lpProfile); TRACE("profile %s\n",lpProfile);
else else
TRACE("profile %p\n",lpProfile); TRACE("profile %p\n",lpProfile);
TRACE("lpType %08x\n",lpType); TRACE("lpType %08lx\n",lpType);
if ((!lpPrinter) || (!lpProfile) || if ((!lpPrinter) || (!lpProfile) ||
(PtrToUlong(lpProfile) == INT_PD_DEFAULT_MODEL) || (HIWORD(lpProfile) && (PtrToUlong(lpProfile) == INT_PD_DEFAULT_MODEL) || (HIWORD(lpProfile) &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment