mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
Fix CreatePolygonRgn : use NtGdiPolyPolyDraw, old way was using NtGdiCreatePolyPolygonRgn, NtGdiCreatePolyPolygonRgn does not exists in windows NT 2000/XP/2003/VISTA
Fix CreatePolyPolygonRgn : use NtGdiPolyPolyDraw, old way was using NtGdiCreatePolyPolygonRgn, NtGdiCreatePolyPolygonRgn does not exists in windows NT 2000/XP/2003/VISTA Redirect : EnableEUDC@4 to NtGdiEnableEudc@4, EngAssociateSurface@12 to NtGdiEngAssociateSurface@12, EngCheckAbort@4 to NtGdiEngCheckAbort@4, EngDeleteClip@4 to NtGdiEngDeleteClip@4 Redirect : EngCreateClip@0 to NtGdiEngCreateClip@0, EngCreateDeviceSurface@16 to NtGdiEngCreateDeviceSurface@16, EngCreateDeviceBitmap@16 to NtGdiEngCreateDeviceBitmap@16 svn path=/trunk/; revision=28518
This commit is contained in:
@@ -96,6 +96,23 @@ DescribePixelFormat@16
|
||||
DeviceCapabilitiesExA
|
||||
DeviceCapabilitiesExW
|
||||
DrawEscape@16
|
||||
EnableEUDC@4=NtGdiEnableEudc@4
|
||||
EndDoc@4
|
||||
EndFormPage@4
|
||||
EndPage@4
|
||||
EndPath@4
|
||||
EngAcquireSemaphore@4
|
||||
EngAlphaBlend@28=NtGdiEngAlphaBlend@28
|
||||
EngAssociateSurface@12=NtGdiEngAssociateSurface@12
|
||||
EngBitBlt@44=NtGdiEngBitBlt@44
|
||||
EngCreateClip@0=NtGdiEngCreateClip@0
|
||||
EngDeleteClip@4=NtGdiEngDeleteClip@4
|
||||
EngCheckAbort@4=NtGdiEngCheckAbort@4
|
||||
EngComputeGlyphSet@12
|
||||
EngCreateSemaphore@0
|
||||
EngCreateBitmap@24
|
||||
EngCreateDeviceSurface@16=NtGdiEngCreateDeviceSurface@16
|
||||
EngCreateDeviceBitmap@16=NtGdiEngCreateDeviceBitmap@16
|
||||
|
||||
ClearBitmapAttributes@8
|
||||
ClearBrushAttributes@8
|
||||
@@ -158,24 +175,9 @@ DdEntry54@8=NtGdiDdUnlockD3D@8
|
||||
DdEntry55@12=NtGdiDdUpdateOverlay@12
|
||||
DdEntry56@8=NtGdiDdWaitForVerticalBlank@8
|
||||
Ellipse@20=NtGdiEllipse@20
|
||||
EnableEUDC@4
|
||||
EndDoc@4
|
||||
EndFormPage@4
|
||||
EndPage@4
|
||||
EndPath@4
|
||||
EngAcquireSemaphore@4
|
||||
EngAlphaBlend@28=NtGdiEngAlphaBlend@28;
|
||||
EngAssociateSurface@12
|
||||
EngBitBlt@44=NtGdiEngBitBlt@44;
|
||||
EngCheckAbort@4
|
||||
EngComputeGlyphSet@12
|
||||
EngCopyBits@24
|
||||
EngCreateBitmap@24
|
||||
EngCreateClip@0
|
||||
EngCreateDeviceBitmap@16
|
||||
EngCreateDeviceSurface@16
|
||||
EngCreatePalette@24
|
||||
EngCreateSemaphore@0
|
||||
EngDeleteClip@4
|
||||
EngDeletePalette@4
|
||||
EngDeletePath@4
|
||||
|
||||
@@ -1336,18 +1336,6 @@ ColorCorrectPalette(HDC hDC,HPALETTE hPalette,DWORD dwFirstEntry,DWORD dwNumOfEn
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
BOOL
|
||||
STDCALL
|
||||
EnableEUDC(BOOL enable)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
@@ -2458,7 +2446,7 @@ CreateBitmap(
|
||||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
* @implemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
@@ -2468,31 +2456,11 @@ EngAcquireSemaphore ( IN HSEMAPHORE hsem )
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
BOOL STDCALL
|
||||
EngAssociateSurface(IN HSURF Surface,
|
||||
IN HDEV Dev,
|
||||
IN ULONG Hooks)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
BOOL STDCALL
|
||||
EngCheckAbort(SURFOBJ *pso)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
@@ -2536,42 +2504,6 @@ EngCreateBitmap(IN SIZEL Size,
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
CLIPOBJ* STDCALL
|
||||
EngCreateClip(VOID)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
HBITMAP STDCALL
|
||||
EngCreateDeviceBitmap(IN DHSURF Surface,
|
||||
IN SIZEL Size,
|
||||
IN ULONG Format)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
HSURF STDCALL
|
||||
EngCreateDeviceSurface(IN DHSURF Surface,
|
||||
IN SIZEL Size,
|
||||
IN ULONG FormatVersion)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
@@ -2602,15 +2534,7 @@ EngCreateSemaphore ( VOID )
|
||||
return (HSEMAPHORE)CritSect;
|
||||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
VOID STDCALL
|
||||
EngDeleteClip(CLIPOBJ *ClipRegion)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
|
||||
@@ -30,14 +30,9 @@ GetClipRgn(
|
||||
|
||||
HRGN
|
||||
WINAPI
|
||||
CreatePolygonRgn( const POINT* lppt, int cPoints, int fnPolyFillMode)
|
||||
CreatePolygonRgn( const POINT * lppt, int cPoints, int fnPolyFillMode)
|
||||
{
|
||||
/* FIXME NtGdiPolyPolyDraw */
|
||||
#if 0
|
||||
return NtGdiPolyPolyDraw(fnPolyFillMode,lppt,cPoints,1,6);
|
||||
#else
|
||||
return CreatePolyPolygonRgn(lppt, (const INT*)&cPoints, 1, fnPolyFillMode);
|
||||
#endif
|
||||
return (HRGN) NtGdiPolyPolyDraw( (HDC) fnPolyFillMode, (PPOINT) lppt, (PULONG) &cPoints, 1, GdiPolyPolyRgn);
|
||||
}
|
||||
|
||||
|
||||
@@ -48,17 +43,7 @@ CreatePolyPolygonRgn( const POINT* lppt,
|
||||
int nCount,
|
||||
int fnPolyFillMode)
|
||||
{
|
||||
/* FIXME NtGdiPolyPolyDraw */
|
||||
#if 0
|
||||
return (HRGN) NtGdiPolyPolyDraw( (HDC) fnPolyFillMode,
|
||||
(PPOINT) lppt,
|
||||
(PULONG) lpPolyCounts,
|
||||
(ULONG) nCount,
|
||||
GdiPolyPolyRgn );
|
||||
#else
|
||||
return NtGdiCreatePolyPolygonRgn( (PPOINT)lppt, (PINT)lpPolyCounts, nCount, fnPolyFillMode);
|
||||
#endif
|
||||
|
||||
return (HRGN) NtGdiPolyPolyDraw( (HDC) fnPolyFillMode, (PPOINT) lppt, (PULONG) lpPolyCounts, (ULONG) nCount, GdiPolyPolyRgn );
|
||||
}
|
||||
|
||||
HRGN
|
||||
|
||||
Reference in New Issue
Block a user