Authors: Francis Beaudet <francis@macadamian.com>, Sylvain St-Germain <sylvain@macadamian.com>, Thuy Nguyen <thuy@macadamian.com> Lots of new stubs.
diff --git a/objects/bitmap.c b/objects/bitmap.c index d10c7c7..f069750 100644 --- a/objects/bitmap.c +++ b/objects/bitmap.c
@@ -928,3 +928,22 @@ return MAKELONG( size.cx, size.cy ); } +/*********************************************************************** + * MaskBlt32 [GDI32.252] + */ +BOOL32 WINAPI MaskBlt32(HDC32 hdcDest, + INT32 nXDest, INT32 nYDest, + INT32 nWidth, INT32 nHeight, + HDC32 hdcSource, + INT32 nXSrc, INT32 nYSrc, + HBITMAP32 hbmMask, + INT32 xMask, INT32 yMask, + DWORD dwRop) +{ + FIXME(bitmap, "(%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%ld): stub\n", + hdcDest,nXDest,nYDest,nWidth,nHeight,hdcSource,nXSrc,nYSrc, + hbmMask,xMask,yMask,dwRop); + + return 1; +} +
diff --git a/objects/dc.c b/objects/dc.c index b38663b..eb98918 100644 --- a/objects/dc.c +++ b/objects/dc.c
@@ -1250,3 +1250,12 @@ return DCB_RESET | DCB_DISABLE; /* bounding rectangle always empty and disabled*/ } +/*********************************************************************** + * SetBoundsRect32 (GDI32.307) + */ +UINT32 WINAPI SetBoundsRect32(HDC32 hdc, const RECT32* rect, UINT32 flags) +{ + FIXME(dc, "(): stub\n"); + return DCB_DISABLE; /* bounding rectangle always empty */ +} +
diff --git a/objects/enhmetafile.c b/objects/enhmetafile.c index c57b127..b405ca1 100644 --- a/objects/enhmetafile.c +++ b/objects/enhmetafile.c
@@ -39,6 +39,16 @@ } /***************************************************************************** + * GetEnhMetaFile32W (GDI32.180) + */ +HENHMETAFILE32 WINAPI GetEnhMetaFile32W( + LPCWSTR lpszMetaFile) /* filename of enhanced metafile */ +{ + FIXME(metafile, "(%p): stub\n", lpszMetaFile); + return NULL; +} + +/***************************************************************************** * GetEnhMetaFileHeader (GDI32.178) * * If _buf_ is NULL, returns the size of buffer required.
diff --git a/objects/font.c b/objects/font.c index 7c966f1..9e0d534 100644 --- a/objects/font.c +++ b/objects/font.c
@@ -1020,7 +1020,17 @@ return rtn; } - +/*********************************************************************** + * GetOutlineTextMetrics32W [GDI32.208] + */ +UINT32 WINAPI GetOutlineTextMetrics32W( + HDC32 hdc, /* [in] Handle of device context */ + UINT32 cbData, /* [in] Size of metric data array */ + LPOUTLINETEXTMETRIC32W lpOTM) /* [out] Address of metric data array */ +{ + FIXME(font, "(%d,%d,%p): stub\n", hdc, cbData, lpOTM); + return 0; +} /*********************************************************************** * GetCharWidth16 (GDI.350)
diff --git a/objects/metafile.c b/objects/metafile.c index 0bdbe9c..bbd95c5 100644 --- a/objects/metafile.c +++ b/objects/metafile.c
@@ -1068,6 +1068,17 @@ return MIN(nSize, h->mtSize); } +/****************************************************************** + * GetWinMetaFileBits [GDI32.241] + */ +UINT32 WINAPI GetWinMetaFileBits(HENHMETAFILE32 hemf, + UINT32 cbBuffer, LPBYTE lpbBuffer, + INT32 fnMapMode, HDC32 hdcRef) +{ + FIXME(metafile, "(%d,%d,%p,%d,%d): stub\n", + hemf, cbBuffer, lpbBuffer, fnMapMode, hdcRef); + return 0; +} /****************************************************************** * MF_Meta_CreateRegion