remove redirect of CombineRgn and CreateBitmap some part are need be done in user mode. not in win32k,

implement it as stub, and doing the syscall until some got time review and rewrite this code right

svn path=/trunk/; revision=28469
This commit is contained in:
Magnus Olsen
2007-08-23 12:54:09 +00:00
parent 0c8c94eb0d
commit ed494d70d2
2 changed files with 34 additions and 5 deletions
+7 -5
View File
@@ -37,19 +37,21 @@ Chord@36
CloseEnhMetaFile@4
CloseFigure@4
CloseMetaFile@4
ClearBitmapAttributes@8
ClearBrushAttributes@8
ColorCorrectPalette@16
ColorMatchToTarget@12
CombineRgn@16=NtGdiCombineRgn@16
CombineRgn@16
CombineTransform@12=NtGdiCombineTransform@12
CopyEnhMetaFileA@8
CopyEnhMetaFileW@8
CopyMetaFileA@8
CopyMetaFileW@8
CreateBitmap@20=NtGdiCreateBitmap@20
CreateBitmap@20
CreateBitmapIndirect@4
ClearBitmapAttributes@8
ClearBrushAttributes@8
CopyMetaFileA@8
CopyMetaFileW@8
CreateBrushIndirect@4
CreateColorSpaceA@4
CreateColorSpaceW@4
+27
View File
@@ -2432,7 +2432,34 @@ GdiResetDCEMF(
return 0;
}
/*
* @unimplemented
*/
INT
STDCALL
CombineRgn(HRGN hDest,
HRGN hSrc1,
HRGN hSrc2,
INT CombineMode)
{
/* FIXME some part should be done in user mode */
return NtGdiCombineRgn(hDest, hSrc1, hSrc2, CombineMode);
}
/*
* @unimplemented
*/
HBITMAP STDCALL
CreateBitmap(
INT Width,
INT Height,
UINT Planes,
UINT BitsPixel,
PCVOID pUnsafeBits)
{
/* FIXME some part should be done in user mode */
return NtGdiCreateBitmap(Width, Height, Planes, BitsPixel, (LPBYTE) pUnsafeBits);
}
/*
* @unimplemented