d2488e1c2d56f3e873de982a647b9505ab809769
2 Test_ExtCreatePen(PTESTINFO pti
)
6 DWORD dwStyles
[17] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17};
8 logbrush
.lbStyle
= BS_SOLID
;
9 logbrush
.lbColor
= RGB(1,2,3);
11 hPen
= ExtCreatePen(PS_COSMETIC
, 1,&logbrush
, 0, 0);
12 if (!hPen
) return FALSE
;
14 /* Test if we have an EXTPEN */
15 RTEST(GDI_HANDLE_GET_TYPE(hPen
) == GDI_OBJECT_TYPE_EXTPEN
);
19 hPen
= ExtCreatePen(PS_GEOMETRIC
| PS_USERSTYLE
, 5, &logbrush
, 17, (CONST DWORD
*)&dwStyles
);
21 hPen
= ExtCreatePen(PS_GEOMETRIC
| PS_USERSTYLE
, 5, &logbrush
, 16, (CONST DWORD
*)&dwStyles
);
26 return APISTATUS_NORMAL
;