1 #ifndef __WINE_WINE_WINGDI16_H
2 #define __WINE_WINE_WINGDI16_H
6 #include "wine/winbase16.h"
10 typedef HANDLE16 HPQ16
;
11 typedef HANDLE16 HPJOB16
;
18 } KERNINGPAIR16
, *LPKERNINGPAIR16
;
29 } BITMAP16
, *LPBITMAP16
;
36 } LOGBRUSH16
, *LPLOGBRUSH16
;
52 BYTE lfPitchAndFamily
;
53 CHAR lfFaceName
[LF_FACESIZE
];
54 } LOGFONT16
, *LPLOGFONT16
;
59 BYTE elfFullName
[LF_FULLFACESIZE
];
60 BYTE elfStyle
[LF_FACESIZE
];
61 } ENUMLOGFONT16
, *LPENUMLOGFONT16
;
66 BYTE elfFullName
[LF_FULLFACESIZE
];
67 BYTE elfStyle
[LF_FACESIZE
];
68 BYTE elfScript
[LF_FACESIZE
];
69 } ENUMLOGFONTEX16
, *LPENUMLOGFONTEX16
;
82 CHAR txfClipPrecision
;
85 } TEXTXFORM16
, *LPTEXTXFORM16
;
94 INT16 dfInternalLeading
;
95 INT16 dfExternalLeading
;
103 CHAR dfPitchAndFamily
;
116 /* Fields, introduced for Windows 3.x fonts */
123 } FONTINFO16
, *LPFONTINFO16
;
130 INT16 tmInternalLeading
;
131 INT16 tmExternalLeading
;
132 INT16 tmAveCharWidth
;
133 INT16 tmMaxCharWidth
;
142 BYTE tmPitchAndFamily
;
145 INT16 tmDigitizedAspectX
;
146 INT16 tmDigitizedAspectY
;
147 } TEXTMETRIC16
, *LPTEXTMETRIC16
;
149 typedef struct _OUTLINETEXTMETRIC16
152 TEXTMETRIC16 otmTextMetrics
;
154 PANOSE otmPanoseNumber
;
155 UINT16 otmfsSelection
;
157 INT16 otmsCharSlopeRise
;
158 INT16 otmsCharSlopeRun
;
159 INT16 otmItalicAngle
;
164 UINT16 otmsCapEmHeight
;
169 UINT16 otmMacLineGap
;
170 UINT16 otmusMinimumPPEM
;
171 POINT16 otmptSubscriptSize
;
172 POINT16 otmptSubscriptOffset
;
173 POINT16 otmptSuperscriptSize
;
174 POINT16 otmptSuperscriptOffset
;
175 UINT16 otmsStrikeoutSize
;
176 INT16 otmsStrikeoutPosition
;
177 INT16 otmsUnderscoreSize
;
178 INT otmsUnderscorePosition
;
179 LPSTR otmpFamilyName
;
183 } OUTLINETEXTMETRIC16
,*LPOUTLINETEXTMETRIC16
;
190 INT16 tmInternalLeading
;
191 INT16 tmExternalLeading
;
192 INT16 tmAveCharWidth
;
193 INT16 tmMaxCharWidth
;
202 BYTE tmPitchAndFamily
;
205 INT16 tmDigitizedAspectX
;
206 INT16 tmDigitizedAspectY
;
209 UINT16 ntmCellHeight
;
211 } NEWTEXTMETRIC16
,*LPNEWTEXTMETRIC16
;
215 NEWTEXTMETRIC16 ntmetm
;
216 FONTSIGNATURE ntmeFontSignature
;
217 } NEWTEXTMETRICEX16
,*LPNEWTEXTMETRICEX16
;
219 typedef INT16
CALLBACK (*FONTENUMPROC16
)(SEGPTR
,SEGPTR
,UINT16
,LPARAM
);
220 typedef INT16
CALLBACK (*FONTENUMPROCEX16
)(SEGPTR
,SEGPTR
,UINT16
,LPARAM
);
221 typedef VOID
CALLBACK (*LINEDDAPROC16
)(INT16
,INT16
,LPARAM
);
222 typedef INT16
CALLBACK (*GOBJENUMPROC16
)(SEGPTR
,LPARAM
);
228 POINT16 gmptGlyphOrigin
;
231 } GLYPHMETRICS16
, *LPGLYPHMETRICS16
;
245 } LOGPEN16
, *LPLOGPEN16
;
249 HGDIOBJ16 objectHandle
[1];
250 } HANDLETABLE16
, *LPHANDLETABLE16
;
258 } METAFILEPICT16
, *LPMETAFILEPICT16
;
265 } EMRPOLYLINE16
, *PEMRPOLYLINE16
,
266 EMRPOLYBEZIER16
, *PEMRPOLYBEZIER16
,
267 EMRPOLYGON16
, *PEMRPOLYGON16
,
268 EMRPOLYBEZIERTO16
, *PEMRPOLYBEZIERTO16
,
269 EMRPOLYLINETO16
, *PEMRPOLYLINETO16
;
277 } EMRPOLYDRAW16
, *PEMRPOLYDRAW16
;
284 DWORD aPolyCounts
[1];
286 } EMRPOLYPOLYLINE16
, *PEMRPOLYPOLYLINE16
,
287 EMRPOLYPOLYGON16
, *PEMRPOLYPOLYGON16
;
289 typedef INT16
CALLBACK (*MFENUMPROC16
)(HDC16
,HANDLETABLE16
*,METARECORD
*,
298 } DOCINFO16
, *LPDOCINFO16
;
300 typedef BOOL16
CALLBACK (*ABORTPROC16
)(HDC16
, INT16
);
302 #define INT_PD_DEFAULT_DEVMODE 1
303 #define INT_PD_DEFAULT_MODEL 2
308 INT16 WINAPI
AbortDoc16(HDC16
);
309 BOOL16 WINAPI
AbortPath16(HDC16
);
310 INT16 WINAPI
AddFontResource16(LPCSTR
);
311 void WINAPI
AnimatePalette16(HPALETTE16
,UINT16
,UINT16
,const PALETTEENTRY
*);
312 BOOL16 WINAPI
Arc16(HDC16
,INT16
,INT16
,INT16
,INT16
,INT16
,INT16
,INT16
,INT16
);
313 BOOL16 WINAPI
BeginPath16(HDC16
);
314 BOOL16 WINAPI
BitBlt16(HDC16
,INT16
,INT16
,INT16
,INT16
,HDC16
,INT16
,INT16
,DWORD
);
315 BOOL16 WINAPI
Chord16(HDC16
,INT16
,INT16
,INT16
,INT16
,INT16
,INT16
,INT16
,INT16
);
316 BOOL16 WINAPI
CloseFigure16(HDC16
);
317 INT16 WINAPI
CloseJob16(HPJOB16
);
318 HMETAFILE16 WINAPI
CloseMetaFile16(HDC16
);
319 INT16 WINAPI
CombineRgn16(HRGN16
,HRGN16
,HRGN16
,INT16
);
320 HMETAFILE16 WINAPI
CopyMetaFile16(HMETAFILE16
,LPCSTR
);
321 HBITMAP16 WINAPI
CreateBitmap16(INT16
,INT16
,UINT16
,UINT16
,LPCVOID
);
322 HBITMAP16 WINAPI
CreateBitmapIndirect16(const BITMAP16
*);
323 HBRUSH16 WINAPI
CreateBrushIndirect16(const LOGBRUSH16
*);
324 HBITMAP16 WINAPI
CreateCompatibleBitmap16(HDC16
,INT16
,INT16
);
325 HDC16 WINAPI
CreateCompatibleDC16(HDC16
);
326 HDC16 WINAPI
CreateDC16(LPCSTR
,LPCSTR
,LPCSTR
,const DEVMODEA
*);
327 HBITMAP16 WINAPI
CreateDIBitmap16(HDC16
,const BITMAPINFOHEADER
*,DWORD
,
328 LPCVOID
,const BITMAPINFO
*,UINT16
);
329 HBRUSH16 WINAPI
CreateDIBPatternBrush16(HGLOBAL16
,UINT16
);
330 HBITMAP16 WINAPI
CreateDIBSection16 (HDC16
, BITMAPINFO
*, UINT16
,
331 SEGPTR
*, HANDLE
, DWORD offset
);
332 HBITMAP16 WINAPI
CreateDiscardableBitmap16(HDC16
,INT16
,INT16
);
333 HRGN16 WINAPI
CreateEllipticRgn16(INT16
,INT16
,INT16
,INT16
);
334 HRGN16 WINAPI
CreateEllipticRgnIndirect16(const RECT16
*);
335 HFONT16 WINAPI
CreateFont16(INT16
,INT16
,INT16
,INT16
,INT16
,BYTE
,BYTE
,BYTE
,
336 BYTE
,BYTE
,BYTE
,BYTE
,BYTE
,LPCSTR
);
337 HFONT16 WINAPI
CreateFontIndirect16(const LOGFONT16
*);
338 HBRUSH16 WINAPI
CreateHatchBrush16(INT16
,COLORREF
);
339 HDC16 WINAPI
CreateIC16(LPCSTR
,LPCSTR
,LPCSTR
,const DEVMODEA
*);
340 HDC16 WINAPI
CreateMetaFile16(LPCSTR
);
341 HPALETTE16 WINAPI
CreatePalette16(const LOGPALETTE
*);
342 HBRUSH16 WINAPI
CreatePatternBrush16(HBITMAP16
);
343 HPEN16 WINAPI
CreatePen16(INT16
,INT16
,COLORREF
);
344 HPEN16 WINAPI
CreatePenIndirect16(const LOGPEN16
*);
345 HRGN16 WINAPI
CreatePolyPolygonRgn16(const POINT16
*,const INT16
*,INT16
,INT16
);
346 HRGN16 WINAPI
CreatePolygonRgn16(const POINT16
*,INT16
,INT16
);
347 HRGN16 WINAPI
CreateRectRgn16(INT16
,INT16
,INT16
,INT16
);
348 HRGN16 WINAPI
CreateRectRgnIndirect16(const RECT16
*);
349 HRGN16 WINAPI
CreateRoundRectRgn16(INT16
,INT16
,INT16
,INT16
,INT16
,INT16
);
350 BOOL16 WINAPI
CreateScalableFontResource16(UINT16
,LPCSTR
,LPCSTR
,LPCSTR
);
351 HBRUSH16 WINAPI
CreateSolidBrush16(COLORREF
);
352 VOID WINAPI
Death16(HDC16
);
353 BOOL16 WINAPI
DeleteDC16(HDC16
);
354 INT16 WINAPI
DeleteJob16(HPJOB16
,INT16
);
355 BOOL16 WINAPI
DeleteMetaFile16(HMETAFILE16
);
356 BOOL16 WINAPI
DeleteObject16(HGDIOBJ16
);
357 BOOL16 WINAPI
DPtoLP16(HDC16
,LPPOINT16
,INT16
);
358 DWORD WINAPI
DrvGetPrinterData16(LPSTR
,LPSTR
,LPDWORD
,LPBYTE
,int cbData
,LPDWORD
);
359 DWORD WINAPI
DrvSetPrinterData16(LPSTR
,LPSTR
,DWORD
,LPBYTE
,DWORD
);
360 BOOL16 WINAPI
Ellipse16(HDC16
,INT16
,INT16
,INT16
,INT16
);
361 INT16 WINAPI
EndDoc16(HDC16
);
362 INT16 WINAPI
EndPage16(HDC16
);
363 BOOL16 WINAPI
EndPath16(HDC16
);
364 INT16 WINAPI
EndSpoolPage16(HPJOB16
);
365 INT16 WINAPI
EnumFontFamilies16(HDC16
,LPCSTR
,FONTENUMPROC16
,LPARAM
);
366 INT16 WINAPI
EnumFontFamiliesEx16(HDC16
,LPLOGFONT16
,FONTENUMPROCEX16
,LPARAM
,DWORD
);
367 INT16 WINAPI
EnumFonts16(HDC16
,LPCSTR
,FONTENUMPROC16
,LPARAM
);
368 BOOL16 WINAPI
EnumMetaFile16(HDC16
,HMETAFILE16
,MFENUMPROC16
,LPARAM
);
369 INT16 WINAPI
EnumObjects16(HDC16
,INT16
,GOBJENUMPROC16
,LPARAM
);
370 BOOL16 WINAPI
EqualRgn16(HRGN16
,HRGN16
);
371 INT16 WINAPI
Escape16(HDC16
,INT16
,INT16
,SEGPTR
,SEGPTR
);
372 INT16 WINAPI
ExcludeClipRect16(HDC16
,INT16
,INT16
,INT16
,INT16
);
373 INT16 WINAPI
ExcludeVisRect16(HDC16
,INT16
,INT16
,INT16
,INT16
);
374 HPEN16 WINAPI
ExtCreatePen16(DWORD
,DWORD
,const LOGBRUSH16
*,DWORD
,const DWORD
*);
375 BOOL16 WINAPI
ExtFloodFill16(HDC16
,INT16
,INT16
,COLORREF
,UINT16
);
376 BOOL16 WINAPI
ExtTextOut16(HDC16
,INT16
,INT16
,UINT16
,const RECT16
*,
377 LPCSTR
,UINT16
,const INT16
*);
378 BOOL16 WINAPI
FastWindowFrame16(HDC16
,const RECT16
*,INT16
,INT16
,DWORD
);
379 BOOL16 WINAPI
FillPath16(HDC16
);
380 BOOL16 WINAPI
FillRgn16(HDC16
,HRGN16
,HBRUSH16
);
381 BOOL16 WINAPI
FlattenPath16(HDC16
);
382 BOOL16 WINAPI
FloodFill16(HDC16
,INT16
,INT16
,COLORREF
);
383 BOOL16 WINAPI
FrameRgn16(HDC16
,HRGN16
,HBRUSH16
,INT16
,INT16
);
384 UINT16 WINAPI
GDIRealizePalette16(HDC16
);
385 DWORD WINAPI
GdiSeeGdiDo16(WORD
,WORD
,WORD
,WORD
);
386 HPALETTE16 WINAPI
GDISelectPalette16(HDC16
,HPALETTE16
,WORD
);
387 INT16 WINAPI
GetArcDirection16(HDC16
);
388 BOOL16 WINAPI
GetAspectRatioFilterEx16(HDC16
,LPSIZE16
);
389 LONG WINAPI
GetBitmapBits16(HBITMAP16
,LONG
,LPVOID
);
390 DWORD WINAPI
GetBitmapDimension16(HBITMAP16
);
391 BOOL16 WINAPI
GetBitmapDimensionEx16(HBITMAP16
,LPSIZE16
);
392 DWORD WINAPI
GetBrushOrg16(HDC16
);
393 BOOL16 WINAPI
GetBrushOrgEx16(HDC16
,LPPOINT16
);
394 COLORREF WINAPI
GetBkColor16(HDC16
);
395 INT16 WINAPI
GetBkMode16(HDC16
);
396 UINT16 WINAPI
GetBoundsRect16(HDC16
,LPRECT16
,UINT16
);
397 BOOL16 WINAPI
GetCharABCWidths16(HDC16
,UINT16
,UINT16
,LPABC16
);
398 BOOL16 WINAPI
GetCharWidth16(HDC16
,UINT16
,UINT16
,LPINT16
);
399 INT16 WINAPI
GetClipBox16(HDC16
,LPRECT16
);
400 HRGN16 WINAPI
GetClipRgn16(HDC16
);
401 HFONT16 WINAPI
GetCurLogFont16(HDC16
);
402 DWORD WINAPI
GetCurrentPosition16(HDC16
);
403 BOOL16 WINAPI
GetCurrentPositionEx16(HDC16
,LPPOINT16
);
404 DWORD WINAPI
GetDCHook(HDC16
,FARPROC16
*);
405 DWORD WINAPI
GetDCOrg16(HDC16
);
406 HDC16 WINAPI
GetDCState16(HDC16
);
407 INT16 WINAPI
GetDeviceCaps16(HDC16
,INT16
);
408 UINT16 WINAPI
GetDIBColorTable16(HDC16
,UINT16
,UINT16
,RGBQUAD
*);
409 INT16 WINAPI
GetDIBits16(HDC16
,HBITMAP16
,UINT16
,UINT16
,LPVOID
,LPBITMAPINFO
,UINT16
);
410 INT16 WINAPI
GetEnvironment16(LPCSTR
,LPDEVMODEA
,UINT16
);
411 DWORD WINAPI
GetFontData16(HDC16
,DWORD
,DWORD
,LPVOID
,DWORD
);
412 DWORD WINAPI
GetFontLanguageInfo16(HDC16
);
413 DWORD WINAPI
GetGlyphOutline16(HDC16
,UINT16
,UINT16
,LPGLYPHMETRICS16
,DWORD
,LPVOID
,const MAT2
*);
414 INT16 WINAPI
GetKerningPairs16(HDC16
,INT16
,LPKERNINGPAIR16
);
415 INT16 WINAPI
GetMapMode16(HDC16
);
416 HMETAFILE16 WINAPI
GetMetaFile16(LPCSTR
);
417 HGLOBAL16 WINAPI
GetMetaFileBits16(HMETAFILE16
);
418 DWORD WINAPI
GetNearestColor16(HDC16
,DWORD
);
419 UINT16 WINAPI
GetNearestPaletteIndex16(HPALETTE16
,COLORREF
);
420 INT16 WINAPI
GetObject16(HANDLE16
,INT16
,LPVOID
);
421 UINT16 WINAPI
GetOutlineTextMetrics16(HDC16
,UINT16
,LPOUTLINETEXTMETRIC16
);
422 UINT16 WINAPI
GetPaletteEntries16(HPALETTE16
,UINT16
,UINT16
,LPPALETTEENTRY
);
423 INT16 WINAPI
GetPath16(HDC16
,LPPOINT16
,LPBYTE
,INT16
);
424 COLORREF WINAPI
GetPixel16(HDC16
,INT16
,INT16
);
425 INT16 WINAPI
GetPolyFillMode16(HDC16
);
426 BOOL16 WINAPI
GetRasterizerCaps16(LPRASTERIZER_STATUS
,UINT16
);
427 DWORD WINAPI
GetRegionData16(HRGN16
,DWORD
,LPRGNDATA
);
428 INT16 WINAPI
GetRelAbs16(HDC16
);
429 INT16 WINAPI
GetRgnBox16(HRGN16
,LPRECT16
);
430 INT16 WINAPI
GetROP216(HDC16
);
431 DWORD WINAPI
GetSpoolJob16(int,LONG
);
432 HGDIOBJ16 WINAPI
GetStockObject16(INT16
);
433 INT16 WINAPI
GetStretchBltMode16(HDC16
);
434 UINT16 WINAPI
GetSystemPaletteEntries16(HDC16
,UINT16
,UINT16
,LPPALETTEENTRY
);
435 UINT16 WINAPI
GetSystemPaletteUse16(HDC16
);
436 UINT16 WINAPI
GetTextAlign16(HDC16
);
437 INT16 WINAPI
GetTextCharacterExtra16(HDC16
);
438 UINT16 WINAPI
GetTextCharset16(HDC16
);
439 COLORREF WINAPI
GetTextColor16(HDC16
);
440 DWORD WINAPI
GetTextExtent16(HDC16
,LPCSTR
,INT16
);
441 BOOL16 WINAPI
GetTextExtentPoint16(HDC16
,LPCSTR
,INT16
,LPSIZE16
);
442 INT16 WINAPI
GetTextFace16(HDC16
,INT16
,LPSTR
);
443 BOOL16 WINAPI
GetTextMetrics16(HDC16
,LPTEXTMETRIC16
);
444 DWORD WINAPI
GetViewportExt16(HDC16
);
445 BOOL16 WINAPI
GetViewportExtEx16(HDC16
,LPSIZE16
);
446 BOOL16 WINAPI
GetViewportOrgEx16(HDC16
,LPPOINT16
);
447 DWORD WINAPI
GetViewportOrg16(HDC16
);
448 DWORD WINAPI
GetWindowExt16(HDC16
);
449 DWORD WINAPI
GetWindowOrg16(HDC16
);
450 BOOL16 WINAPI
GetWindowExtEx16(HDC16
,LPSIZE16
);
451 BOOL16 WINAPI
GetWindowOrgEx16(HDC16
,LPPOINT16
);
452 HRGN16 WINAPI
InquireVisRgn16(HDC16
);
453 INT16 WINAPI
IntersectClipRect16(HDC16
,INT16
,INT16
,INT16
,INT16
);
454 INT16 WINAPI
IntersectVisRect16(HDC16
,INT16
,INT16
,INT16
,INT16
);
455 BOOL16 WINAPI
InvertRgn16(HDC16
,HRGN16
);
456 BOOL16 WINAPI
IsDCCurrentPalette16(HDC16
);
457 BOOL16 WINAPI
IsGDIObject16(HGDIOBJ16
);
458 BOOL16 WINAPI
IsValidMetaFile16(HMETAFILE16
);
459 VOID WINAPI
LineDDA16(INT16
,INT16
,INT16
,INT16
,LINEDDAPROC16
,LPARAM
);
460 BOOL16 WINAPI
LineTo16(HDC16
,INT16
,INT16
);
461 BOOL16 WINAPI
LPtoDP16(HDC16
,LPPOINT16
,INT16
);
462 DWORD WINAPI
MoveTo16(HDC16
,INT16
,INT16
);
463 BOOL16 WINAPI
MoveToEx16(HDC16
,INT16
,INT16
,LPPOINT16
);
464 INT16 WINAPI
MulDiv16(INT16
,INT16
,INT16
);
465 INT16 WINAPI
OffsetClipRgn16(HDC16
,INT16
,INT16
);
466 INT16 WINAPI
OffsetRgn16(HRGN16
,INT16
,INT16
);
467 DWORD WINAPI
OffsetViewportOrg16(HDC16
,INT16
,INT16
);
468 BOOL16 WINAPI
OffsetViewportOrgEx16(HDC16
,INT16
,INT16
,LPPOINT16
);
469 INT16 WINAPI
OffsetVisRgn16(HDC16
,INT16
,INT16
);
470 DWORD WINAPI
OffsetWindowOrg16(HDC16
,INT16
,INT16
);
471 BOOL16 WINAPI
OffsetWindowOrgEx16(HDC16
,INT16
,INT16
,LPPOINT16
);
472 HANDLE16 WINAPI
OpenJob16(LPCSTR
,LPCSTR
,HDC16
);
473 BOOL16 WINAPI
PaintRgn16(HDC16
,HRGN16
);
474 BOOL16 WINAPI
PatBlt16(HDC16
,INT16
,INT16
,INT16
,INT16
,DWORD
);
475 HRGN16 WINAPI
PathToRegion16(HDC16
);
476 BOOL16 WINAPI
Pie16(HDC16
,INT16
,INT16
,INT16
,INT16
,INT16
,INT16
,INT16
,INT16
);
477 BOOL16 WINAPI
PlayMetaFile16(HDC16
,HMETAFILE16
);
478 VOID WINAPI
PlayMetaFileRecord16(HDC16
,LPHANDLETABLE16
,LPMETARECORD
,UINT16
);
479 BOOL16 WINAPI
PolyBezier16(HDC16
,const POINT16
*,INT16
);
480 BOOL16 WINAPI
PolyBezierTo16(HDC16
,const POINT16
*,INT16
);
481 BOOL16 WINAPI
PolyPolygon16(HDC16
,const POINT16
*,const INT16
*,UINT16
);
482 BOOL16 WINAPI
Polygon16(HDC16
,const POINT16
*,INT16
);
483 BOOL16 WINAPI
Polyline16(HDC16
,const POINT16
*,INT16
);
484 BOOL16 WINAPI
PtInRegion16(HRGN16
,INT16
,INT16
);
485 BOOL16 WINAPI
PtVisible16(HDC16
,INT16
,INT16
);
486 UINT16 WINAPI
RealizeDefaultPalette16(HDC16
);
487 BOOL16 WINAPI
Rectangle16(HDC16
,INT16
,INT16
,INT16
,INT16
);
488 BOOL16 WINAPI
RectInRegion16(HRGN16
,const RECT16
*);
489 BOOL16 WINAPI
RectVisible16(HDC16
,const RECT16
*);
490 BOOL16 WINAPI
RemoveFontResource16(LPCSTR
);
491 HDC16 WINAPI
ResetDC16(HDC16
,const DEVMODEA
*);
492 BOOL16 WINAPI
ResizePalette16(HPALETTE16
,UINT16
);
493 BOOL16 WINAPI
RestoreDC16(HDC16
,INT16
);
494 INT16 WINAPI
RestoreVisRgn16(HDC16
);
495 VOID WINAPI
Resurrection16(HDC16
,WORD
,WORD
,WORD
,WORD
,WORD
,WORD
);
496 BOOL16 WINAPI
RoundRect16(HDC16
,INT16
,INT16
,INT16
,INT16
,INT16
,INT16
);
497 INT16 WINAPI
SaveDC16(HDC16
);
498 HRGN16 WINAPI
SaveVisRgn16(HDC16
);
499 DWORD WINAPI
ScaleViewportExt16(HDC16
,INT16
,INT16
,INT16
,INT16
);
500 BOOL16 WINAPI
ScaleViewportExtEx16(HDC16
,INT16
,INT16
,INT16
,INT16
,LPSIZE16
);
501 DWORD WINAPI
ScaleWindowExt16(HDC16
,INT16
,INT16
,INT16
,INT16
);
502 BOOL16 WINAPI
ScaleWindowExtEx16(HDC16
,INT16
,INT16
,INT16
,INT16
,LPSIZE16
);
503 BOOL16 WINAPI
SelectClipPath16(HDC16
,INT16
);
504 INT16 WINAPI
SelectClipRgn16(HDC16
,HRGN16
);
505 HGDIOBJ16 WINAPI
SelectObject16(HDC16
,HGDIOBJ16
);
506 INT16 WINAPI
SelectVisRgn16(HDC16
,HRGN16
);
507 INT16 WINAPI
SetAbortProc16(HDC16
,SEGPTR
);
508 INT16 WINAPI
SetArcDirection16(HDC16
,INT16
);
509 LONG WINAPI
SetBitmapBits16(HBITMAP16
,LONG
,LPCVOID
);
510 DWORD WINAPI
SetBitmapDimension16(HBITMAP16
,INT16
,INT16
);
511 BOOL16 WINAPI
SetBitmapDimensionEx16(HBITMAP16
,INT16
,INT16
,LPSIZE16
);
512 COLORREF WINAPI
SetBkColor16(HDC16
,COLORREF
);
513 INT16 WINAPI
SetBkMode16(HDC16
,INT16
);
514 UINT16 WINAPI
SetBoundsRect16(HDC16
,const RECT16
*,UINT16
);
515 DWORD WINAPI
SetBrushOrg16(HDC16
,INT16
,INT16
);
516 BOOL16 WINAPI
SetDCHook(HDC16
,FARPROC16
,DWORD
);
517 DWORD WINAPI
SetDCOrg16(HDC16
,INT16
,INT16
);
518 VOID WINAPI
SetDCState16(HDC16
,HDC16
);
519 UINT16 WINAPI
SetDIBColorTable16(HDC16
,UINT16
,UINT16
,RGBQUAD
*);
520 INT16 WINAPI
SetDIBits16(HDC16
,HBITMAP16
,UINT16
,UINT16
,LPCVOID
,const BITMAPINFO
*,UINT16
);
521 INT16 WINAPI
SetDIBitsToDevice16(HDC16
,INT16
,INT16
,INT16
,INT16
,INT16
,
522 INT16
,UINT16
,UINT16
,LPCVOID
,const BITMAPINFO
*,UINT16
);
523 INT16 WINAPI
SetEnvironment16(LPCSTR
,LPDEVMODEA
,UINT16
);
524 WORD WINAPI
SetHookFlags16(HDC16
,WORD
);
525 INT16 WINAPI
SetMapMode16(HDC16
,INT16
);
526 DWORD WINAPI
SetMapperFlags16(HDC16
,DWORD
);
527 HMETAFILE16 WINAPI
SetMetaFileBits16(HGLOBAL16
);
528 UINT16 WINAPI
SetPaletteEntries16(HPALETTE16
,UINT16
,UINT16
,LPPALETTEENTRY
);
529 COLORREF WINAPI
SetPixel16(HDC16
,INT16
,INT16
,COLORREF
);
530 INT16 WINAPI
SetPolyFillMode16(HDC16
,INT16
);
531 VOID WINAPI
SetRectRgn16(HRGN16
,INT16
,INT16
,INT16
,INT16
);
532 INT16 WINAPI
SetRelAbs16(HDC16
,INT16
);
533 INT16 WINAPI
SetROP216(HDC16
,INT16
);
534 INT16 WINAPI
SetStretchBltMode16(HDC16
,INT16
);
535 UINT16 WINAPI
SetSystemPaletteUse16(HDC16
,UINT16
);
536 UINT16 WINAPI
SetTextAlign16(HDC16
,UINT16
);
537 INT16 WINAPI
SetTextCharacterExtra16(HDC16
,INT16
);
538 COLORREF WINAPI
SetTextColor16(HDC16
,COLORREF
);
539 INT16 WINAPI
SetTextJustification16(HDC16
,INT16
,INT16
);
540 DWORD WINAPI
SetViewportExt16(HDC16
,INT16
,INT16
);
541 BOOL16 WINAPI
SetViewportExtEx16(HDC16
,INT16
,INT16
,LPSIZE16
);
542 DWORD WINAPI
SetViewportOrg16(HDC16
,INT16
,INT16
);
543 BOOL16 WINAPI
SetViewportOrgEx16(HDC16
,INT16
,INT16
,LPPOINT16
);
544 DWORD WINAPI
SetWindowExt16(HDC16
,INT16
,INT16
);
545 BOOL16 WINAPI
SetWindowExtEx16(HDC16
,INT16
,INT16
,LPSIZE16
);
546 DWORD WINAPI
SetWindowOrg16(HDC16
,INT16
,INT16
);
547 BOOL16 WINAPI
SetWindowOrgEx16(HDC16
,INT16
,INT16
,LPPOINT16
);
548 INT16 WINAPI
StartDoc16(HDC16
,const DOCINFO16
*);
549 INT16 WINAPI
StartPage16(HDC16
);
550 INT16 WINAPI
StartSpoolPage16(HPJOB16
);
551 BOOL16 WINAPI
StretchBlt16(HDC16
,INT16
,INT16
,INT16
,INT16
,HDC16
,INT16
,
552 INT16
,INT16
,INT16
,DWORD
);
553 INT16 WINAPI
StretchDIBits16(HDC16
,INT16
,INT16
,INT16
,INT16
,INT16
,INT16
,
554 INT16
,INT16
,const VOID
*,const BITMAPINFO
*,UINT16
,DWORD
);
555 BOOL16 WINAPI
StrokeAndFillPath16(HDC16
);
556 BOOL16 WINAPI
StrokePath16(HDC16
);
557 BOOL16 WINAPI
TextOut16(HDC16
,INT16
,INT16
,LPCSTR
,INT16
);
558 BOOL16 WINAPI
UnrealizeObject16(HGDIOBJ16
);
559 INT16 WINAPI
UpdateColors16(HDC16
);
560 BOOL16 WINAPI
WidenPath16(HDC16
);
561 INT16 WINAPI
WriteDialog16(HPJOB16
,LPSTR
,INT16
);
562 INT16 WINAPI
WriteSpool16(HPJOB16
,LPSTR
,INT16
);
565 inline static void CONV_POINT16TO32( const POINT16
*p16
, POINT
*p32
)
571 inline static void CONV_POINT32TO16( const POINT
*p32
, POINT16
*p16
)
573 p16
->x
= (INT16
)p32
->x
;
574 p16
->y
= (INT16
)p32
->y
;
577 inline static void CONV_RECT16TO32( const RECT16
*r16
, RECT
*r32
)
579 r32
->left
= r16
->left
;
581 r32
->right
= r16
->right
;
582 r32
->bottom
= r16
->bottom
;
585 inline static void CONV_RECT32TO16( const RECT
*r32
, RECT16
*r16
)
587 r16
->left
= (INT16
)r32
->left
;
588 r16
->top
= (INT16
)r32
->top
;
589 r16
->right
= (INT16
)r32
->right
;
590 r16
->bottom
= (INT16
)r32
->bottom
;
593 #endif /* __WINE_WINE_WINGDI16_H */