diff --git a/win32ss/reactx/ntddraw/dxeng.c b/win32ss/reactx/ntddraw/dxeng.c index f1c681f1e3f..24cb542643e 100644 --- a/win32ss/reactx/ntddraw/dxeng.c +++ b/win32ss/reactx/ntddraw/dxeng.c @@ -4,6 +4,7 @@ * FILE: win32ss/reactx/ntddraw/dxeng.c * PURPOSE: Implementation of DxEng functions * PROGRAMMERS: Magnus Olsen (magnus@greatlord.com) + * Oleg Dubinskiy (oleg.dubinskij2013@yandex.ua) */ #include @@ -442,7 +443,7 @@ DxEngSetHdevData(HDEV hDev, * Return one of the type values * * @remarks. -* We do not have type 2 implemented yet +* none * *--*/ DWORD_PTR @@ -463,7 +464,8 @@ DxEngGetDCState(HDC hDC, retVal = (DWORD_PTR) pDC->fs & DC_FLAG_FULLSCREEN; break; case 2: - UNIMPLEMENTED; + /* Return the number of rectangles in the visible region. */ + retVal = (DWORD_PTR) pDC->prgnRao ? pDC->prgnRao->rdh.nCount : pDC->prgnVis->rdh.nCount; break; case 3: {