Don't make the wrong assumption that POINT and POINTL are identical.

svn path=/trunk/; revision=49714
This commit is contained in:
Timo Kreuzer
2010-11-22 23:18:59 +00:00
parent d828ba929b
commit 332a782a37
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -255,7 +255,7 @@ GetViewportExtEx(
if ((Dc_Attr->flXform & PAGE_EXTENTS_CHANGED) && (Dc_Attr->iMapMode == MM_ISOTROPIC))
// Something was updated, go to kernel.
return NtGdiGetDCPoint( hdc, GdiGetViewPortExt, (LPPOINT) lpSize );
return NtGdiGetDCPoint( hdc, GdiGetViewPortExt, (PPOINTL) lpSize );
else
{
lpSize->cx = Dc_Attr->szlViewportExt.cx;
+2 -2
View File
@@ -746,7 +746,7 @@ GetAspectRatioFilterEx(
LPSIZE lpAspectRatio
)
{
return NtGdiGetDCPoint( hdc, GdiGetAspectRatioFilter, (LPPOINT) lpAspectRatio );
return NtGdiGetDCPoint( hdc, GdiGetAspectRatioFilter, (PPOINTL) lpAspectRatio );
}
@@ -760,7 +760,7 @@ GetDCOrgEx(
LPPOINT lpPoint
)
{
return NtGdiGetDCPoint( hdc, GdiGetDCOrg, lpPoint );
return NtGdiGetDCPoint( hdc, GdiGetDCOrg, (PPOINTL)lpPoint );
}