implement StartFormPage it call on StartPage(hdc); and StartPage is unimplment

Fix : do not redirect TranslateCharsetInfo and StretchDIBits some stuff need be done in user mode. 

svn path=/trunk/; revision=29162
This commit is contained in:
Magnus Olsen 2007-09-23 13:46:20 +00:00
parent 414b736953
commit b34cf0f3ac
2 changed files with 51 additions and 15 deletions

View file

@ -436,7 +436,6 @@ PolyDraw@16
PolyPatBlt@20
PolyPolygon@16
PolyPolyline@16
PolyTextOutA@12
PolyTextOutW@12
Polygon@12
@ -527,6 +526,16 @@ SetWindowOrgEx@16
SetWorldTransform@8
StartDocA@8
StartDocW@8
StartFormPage@4
StartPage@4
StretchBlt@44
StretchDIBits@52
StrokeAndFillPath@4
StrokePath@4
SwapBuffers@4
TextOutA@20
TextOutW@20
TranslateCharsetInfo@12
@ -596,16 +605,6 @@ GetTextExtentExPointWPri@28
GetTextExtentPoint32A@16
SetBitmapAttributes@8
SetBrushAttributes@8
StartFormPage@4
StartPage@4
StretchBlt@44
StretchDIBits@52=NtGdiStretchDIBits@52
StrokeAndFillPath@4
StrokePath@4
SwapBuffers@4
TextOutA@20
TextOutW@20
TranslateCharsetInfo@12=NtGdiTranslateCharsetInfo@12
UnrealizeObject@4
UnloadNetworkFonts@4
UpdateColors@4

View file

@ -20,6 +20,45 @@
#define UNIMPLEMENTED DbgPrint("GDI32: %s is unimplemented, please try again later.\n", __FUNCTION__);
/*
* @unimplemented
*/
BOOL
STDCALL
TranslateCharsetInfo(DWORD * lpSrc,
LPCHARSETINFO lpCs,
DWORD dwFlags)
{
/* FIXME share memory */
return NtGdiTranslateCharsetInfo(lpSrc, lpCs, dwFlags );
}
/*
* @unimplemented
*/
int
STDCALL
StretchDIBits(HDC hdc,
int XDest,
int YDest,
int nDestWidth,
int nDestHeight,
int XSrc,
int YSrc,
int nSrcWidth,
int nSrcHeight,
CONST VOID *lpBits,
CONST BITMAPINFO *lpBitsInfo,
UINT iUsage,
DWORD dwRop)
{
/* FIXME share memory */
return NtGdiStretchDIBits(hdc, XDest, YDest, nDestWidth, nDestHeight, XSrc, YSrc,
nSrcWidth, nSrcHeight, lpBits, lpBitsInfo, iUsage, dwRop);
}
/*
* @unimplemented
*/
@ -1832,15 +1871,13 @@ SetLayoutWidth(HDC hdc,LONG wox,DWORD dwLayout)
/*
* @unimplemented
* @implemented
*/
int
STDCALL
StartFormPage(HDC hdc)
{
UNIMPLEMENTED;
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0;
return StartPage(hdc);
}
/*