mirror of
https://github.com/reactos/reactos.git
synced 2024-11-07 15:10:53 +00:00
implement : GetBoundsRect
remove redirect for follow api for they are need more stuff in user mode GetBkColor, GetBkMode, GetBrushOrgEx, GetCharABCWidthsFloatW svn path=/trunk/; revision=28687
This commit is contained in:
parent
7c02bd07a1
commit
439c9ab215
2 changed files with 67 additions and 18 deletions
|
@ -276,6 +276,18 @@ GdiTransparentBlt@44
|
||||||
GdiValidateHandle@4
|
GdiValidateHandle@4
|
||||||
GetArcDirection@4
|
GetArcDirection@4
|
||||||
GetAspectRatioFilterEx@8
|
GetAspectRatioFilterEx@8
|
||||||
|
GetBitmapBits@12=NtGdiGetBitmapBits@12
|
||||||
|
GetBitmapDimensionEx@8=NtGdiGetBitmapDimension@8
|
||||||
|
GetBkColor@4
|
||||||
|
GetBkMode@4
|
||||||
|
GetBoundsRect@12
|
||||||
|
GetBrushOrgEx@8
|
||||||
|
GetCharABCWidthsA@16
|
||||||
|
GetCharABCWidthsFloatA@16
|
||||||
|
GetCharABCWidthsFloatW@16
|
||||||
|
GetCharABCWidthsI@20
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ClearBitmapAttributes@8
|
ClearBitmapAttributes@8
|
||||||
ClearBrushAttributes@8
|
ClearBrushAttributes@8
|
||||||
|
@ -337,17 +349,7 @@ DdEntry55@12=NtGdiDdUpdateOverlay@12
|
||||||
DdEntry56@8=NtGdiDdWaitForVerticalBlank@8
|
DdEntry56@8=NtGdiDdWaitForVerticalBlank@8
|
||||||
GdiDrawStream@12
|
GdiDrawStream@12
|
||||||
GetBitmapAttributes@4
|
GetBitmapAttributes@4
|
||||||
GetBitmapBits@12=NtGdiGetBitmapBits@12
|
|
||||||
GetBitmapDimensionEx@8=NtGdiGetBitmapDimension@8
|
|
||||||
GetBkColor@4=NtGdiGetBkColor@4
|
|
||||||
GetBkMode@4=NtGdiGetBkMode@4
|
|
||||||
GetBoundsRect@12
|
|
||||||
GetBrushAttributes@4
|
GetBrushAttributes@4
|
||||||
GetBrushOrgEx@8=NtGdiGetBrushOrgEx@8
|
|
||||||
GetCharABCWidthsA@16
|
|
||||||
GetCharABCWidthsFloatA@16
|
|
||||||
GetCharABCWidthsFloatW@16=NtGdiGetCharABCWidthsFloat@16
|
|
||||||
GetCharABCWidthsI@20
|
|
||||||
GetCharABCWidthsW@16=NtGdiGetCharABCWidths@16
|
GetCharABCWidthsW@16=NtGdiGetCharABCWidths@16
|
||||||
GetCharWidth32A@16
|
GetCharWidth32A@16
|
||||||
GetCharWidth32W@16=NtGdiGetCharWidth32@16
|
GetCharWidth32W@16=NtGdiGetCharWidth32@16
|
||||||
|
|
|
@ -100,19 +100,17 @@ ExtCreateRegion(
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
UINT
|
UINT
|
||||||
STDCALL
|
STDCALL
|
||||||
GetBoundsRect(
|
GetBoundsRect(
|
||||||
HDC a0,
|
HDC hdc,
|
||||||
LPRECT a1,
|
LPRECT lprcBounds,
|
||||||
UINT a2
|
UINT flags
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
return NtGdiGetBoundsRect(hdc,lprcBounds,flags & DCB_RESET);
|
||||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1441,7 +1439,7 @@ GdiConvertPalette(HPALETTE hpal)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
HRGN
|
HRGN
|
||||||
STDCALL
|
STDCALL
|
||||||
|
@ -2783,3 +2781,52 @@ GdiConvertBitmapV5(
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
COLORREF
|
||||||
|
STDCALL
|
||||||
|
GetBkColor(HDC hdc)
|
||||||
|
{
|
||||||
|
/* FIXME some part are done in user mode */
|
||||||
|
return NtGdiGetBkColor(hdc);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
int
|
||||||
|
STDCALL
|
||||||
|
GetBkMode(HDC hdc)
|
||||||
|
{
|
||||||
|
/* FIXME some part are done in user mode */
|
||||||
|
return NtGdiGetBkMode(hdc);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
BOOL
|
||||||
|
STDCALL
|
||||||
|
GetBrushOrgEx(HDC hdc,LPPOINT pt)
|
||||||
|
{
|
||||||
|
/* FIXME some part are done in user mode */
|
||||||
|
return NtGdiGetBrushOrgEx(hdc,pt);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
BOOL
|
||||||
|
STDCALL
|
||||||
|
GetCharABCWidthsFloatW(HDC hdc,UINT FirstChar,UINT LastChar,LPABCFLOAT abcF)
|
||||||
|
{
|
||||||
|
/* FIXME some part are done in user mode */
|
||||||
|
return NtGdiGetCharABCWidthsFloat(hdc, FirstChar, LastChar, abcF);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue