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:
Magnus Olsen 2007-08-30 20:55:31 +00:00
parent 7c02bd07a1
commit 439c9ab215
2 changed files with 67 additions and 18 deletions

View file

@ -276,6 +276,18 @@ GdiTransparentBlt@44
GdiValidateHandle@4
GetArcDirection@4
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
ClearBrushAttributes@8
@ -337,17 +349,7 @@ DdEntry55@12=NtGdiDdUpdateOverlay@12
DdEntry56@8=NtGdiDdWaitForVerticalBlank@8
GdiDrawStream@12
GetBitmapAttributes@4
GetBitmapBits@12=NtGdiGetBitmapBits@12
GetBitmapDimensionEx@8=NtGdiGetBitmapDimension@8
GetBkColor@4=NtGdiGetBkColor@4
GetBkMode@4=NtGdiGetBkMode@4
GetBoundsRect@12
GetBrushAttributes@4
GetBrushOrgEx@8=NtGdiGetBrushOrgEx@8
GetCharABCWidthsA@16
GetCharABCWidthsFloatA@16
GetCharABCWidthsFloatW@16=NtGdiGetCharABCWidthsFloat@16
GetCharABCWidthsI@20
GetCharABCWidthsW@16=NtGdiGetCharABCWidths@16
GetCharWidth32A@16
GetCharWidth32W@16=NtGdiGetCharWidth32@16

View file

@ -100,19 +100,17 @@ ExtCreateRegion(
/*
* @unimplemented
* @implemented
*/
UINT
STDCALL
GetBoundsRect(
HDC a0,
LPRECT a1,
UINT a2
HDC hdc,
LPRECT lprcBounds,
UINT flags
)
{
UNIMPLEMENTED;
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0;
return NtGdiGetBoundsRect(hdc,lprcBounds,flags & DCB_RESET);
}
@ -1441,7 +1439,7 @@ GdiConvertPalette(HPALETTE hpal)
}
/*
* @unimplemented
* @implemented
*/
HRGN
STDCALL
@ -2783,3 +2781,52 @@ GdiConvertBitmapV5(
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);
}