mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 09:50:07 +00:00
- Unfsck NtGdiExtCreatePen (thanks Christopher).
svn path=/trunk/; revision=20819
This commit is contained in:
parent
bf292467ef
commit
d3bb910b19
|
@ -223,7 +223,7 @@ Escape@20
|
|||
EudcLoadLinkW@16
|
||||
EudcUnloadLinkW@8
|
||||
ExcludeClipRect@20=NtGdiExcludeClipRect@20
|
||||
ExtCreatePen@20=NtGdiExtCreatePen@20
|
||||
ExtCreatePen@20
|
||||
ExtCreateRegion@12=NtGdiExtCreateRegion@12
|
||||
ExtEscape@24=NtGdiExtEscape@24
|
||||
ExtFloodFill@20=NtGdiExtFloodFill@20
|
||||
|
|
|
@ -17,6 +17,31 @@ FixBrushOrgEx(
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
HPEN
|
||||
APIENTRY
|
||||
ExtCreatePen(DWORD dwPenStyle,
|
||||
DWORD dwWidth,
|
||||
CONST LOGBRUSH *lplb,
|
||||
DWORD dwStyleCount,
|
||||
CONST DWORD *lpStyle)
|
||||
{
|
||||
/* Call NTGDI (hack... like most of gdi32..sigh) */
|
||||
return NtGdiExtCreatePen(dwPenStyle,
|
||||
dwWidth,
|
||||
lplb->lbStyle,
|
||||
lplb->lbColor,
|
||||
lplb->lbHatch,
|
||||
0,
|
||||
dwStyleCount,
|
||||
(PULONG)lpStyle,
|
||||
0,
|
||||
FALSE,
|
||||
NULL);
|
||||
}
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
|
|
@ -137,9 +137,6 @@ NtGdiExtCreatePen(
|
|||
IN OPTIONAL HBRUSH hbrush)
|
||||
{
|
||||
LOGPEN LogPen;
|
||||
/* NOTE: This is HACK! */
|
||||
DPRINT1("FIXME: FIX CALLERS FIRST!\n");
|
||||
KEBUGCHECK(0);
|
||||
|
||||
if (PenStyle & PS_USERSTYLE)
|
||||
PenStyle = (PenStyle & ~PS_STYLE_MASK) | PS_SOLID;
|
||||
|
|
|
@ -70,7 +70,7 @@ NtGdiEnumObjects 4
|
|||
NtGdiEqualRgn 2
|
||||
NtGdiEscape 5
|
||||
NtGdiExcludeClipRect 5
|
||||
NtGdiExtCreatePen 5
|
||||
NtGdiExtCreatePen 11
|
||||
NtGdiExtCreateRegion 3
|
||||
NtGdiExtEscape 6
|
||||
NtGdiExtFloodFill 5
|
||||
|
|
Loading…
Reference in a new issue