LPCWSTR Description\r
);\r
\r
-/* Use NtGdiCreateHatchBrushInternal with FALSE at the end. */\r
-HBRUSH STDCALL\r
-NtGdiCreateHatchBrush(\r
- INT Style,\r
- COLORREF Color);\r
-\r
/* Metafiles are user mode */\r
HDC\r
STDCALL\r
CONST PLOGPALETTE lgpl\r
);\r
\r
-/* Use NtGdiCreatePatternBrushInternal with false, false at the end. */\r
-HBRUSH STDCALL\r
-NtGdiCreatePatternBrush(\r
- HBITMAP hBitmap);\r
-\r
/* Use NtGdiCreatePen with -> as parameters. */\r
HPEN STDCALL\r
NtGdiCreatePenIndirect(\r
CreateFontIndirectW@4
CreateFontW@56
CreateHalftonePalette@4=NtGdiCreateHalftonePalette@4
-CreateHatchBrush@8=NtGdiCreateHatchBrush@8
+CreateHatchBrush@8
CreateICA@16
CreateICW@16
CreateMetaFileA@4
CreateMetaFileW@4
CreatePalette@4=NtGdiCreatePalette@4
-CreatePatternBrush@4=NtGdiCreatePatternBrush@4
+CreatePatternBrush@4
CreatePen@12=NtGdiCreatePen@12
CreatePenIndirect@4=NtGdiCreatePenIndirect@4
CreatePolyPolygonRgn@16=NtGdiCreatePolyPolygonRgn@16
return hBrush;
}
+/*
+ * @implemented
+ */
+HBRUSH
+STDCALL
+CreateHatchBrush(INT fnStyle,
+ COLORREF clrref)
+{
+ return NtGdiCreateHatchBrushInternal(fnStyle, clrref, FALSE);
+}
+
+/*
+ * @implemented
+ */
+HBRUSH
+STDCALL
+CreatePatternBrush(HBITMAP hbmp)
+{
+ return NtGdiCreatePatternBrushInternal(hbmp, FALSE, FALSE);
+}
+
/*
* @implemented
*/
break;
case BS_PATTERN:
+ hBrush = NtGdiCreatePatternBrushInternal((HBITMAP)LogBrush->lbHatch,
+ FALSE,
+ FALSE);
+ break;
+
case BS_PATTERN8X8:
- hBrush = NtGdiCreatePatternBrush((HBITMAP)LogBrush->lbHatch);
+ hBrush = NtGdiCreatePatternBrushInternal((HBITMAP)LogBrush->lbHatch,
+ FALSE,
+ TRUE);
break;
case BS_SOLID:
break;
case BS_HATCHED:
- hBrush = NtGdiCreateHatchBrush(LogBrush->lbHatch, LogBrush->lbColor);
+ hBrush = NtGdiCreateHatchBrushInternal(LogBrush->lbHatch,
+ LogBrush->lbColor,
+ FALSE);
break;
case BS_NULL:
}
HBRUSH STDCALL
-NtGdiCreateHatchBrush(
- INT Style,
- COLORREF Color)
+NtGdiCreateHatchBrushInternal(
+ ULONG Style,
+ COLORREF Color,
+ BOOL bPen)
{
return IntGdiCreateHatchBrush(Style, Color);
}
HBRUSH STDCALL
-NtGdiCreatePatternBrush(
- HBITMAP hBitmap)
+NtGdiCreatePatternBrushInternal(
+ HBITMAP hBitmap,
+ BOOL bPen,
+ BOOL b8x8)
{
return IntGdiCreatePatternBrush(hBitmap);
}
NtGdiCreateFont 14
NtGdiCreateFontIndirect 1
NtGdiCreateHalftonePalette 1
-NtGdiCreateHatchBrush 2
+NtGdiCreateHatchBrushInternal 3
NtGdiCreateIC 4
NtGdiCreateMetaFile 1
NtGdiCreatePalette 1
-NtGdiCreatePatternBrush 1
+NtGdiCreatePatternBrushInternal 3
NtGdiCreatePen 3
NtGdiCreatePenIndirect 1
NtGdiCreatePolygonRgn 3