mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 16:51:39 +00:00
[WIN32SS] Use the DCFLAGS and DCTYPE flags defined in ntgdi/dc.h instead of the old ones in include/ntgdihdl.h
The names of these new flags match the documented ones at https://reactos.org/wiki/Techwiki:Win32k/DC https://books.google.hr/books?id=-O92IIF1Bj4C&pg=PA197&lpg=PA197 and the gdikdx debug extension.
This commit is contained in:
parent
1c2b757a64
commit
5e93daa9ce
14 changed files with 54 additions and 76 deletions
|
@ -461,7 +461,7 @@ DxEngGetDCState(HDC hDC,
|
|||
switch (type)
|
||||
{
|
||||
case 1:
|
||||
retVal = (DWORD_PTR) pDC->fs & DC_FLAG_FULLSCREEN;
|
||||
retVal = (DWORD_PTR) pDC->fs & DC_FULLSCREEN;
|
||||
break;
|
||||
case 2:
|
||||
/* Return the complexity of the visible region. */
|
||||
|
@ -656,7 +656,7 @@ HDC
|
|||
APIENTRY
|
||||
DxEngCreateMemoryDC(HDEV hDev)
|
||||
{
|
||||
return IntGdiCreateDisplayDC(hDev, DC_TYPE_MEMORY, FALSE);
|
||||
return IntGdiCreateDisplayDC(hDev, DCTYPE_MEMORY, FALSE);
|
||||
}
|
||||
|
||||
/************************************************************************/
|
||||
|
@ -748,9 +748,9 @@ DxEngSetDCState(HDC hDC, DWORD SetType, DWORD Set)
|
|||
if (SetType == 1)
|
||||
{
|
||||
if ( Set )
|
||||
pDC->fs |= DC_FLAG_FULLSCREEN;
|
||||
pDC->fs |= DC_FULLSCREEN;
|
||||
else
|
||||
pDC->fs &= ~DC_FLAG_FULLSCREEN;
|
||||
pDC->fs &= ~DC_FULLSCREEN;
|
||||
Ret = TRUE;
|
||||
}
|
||||
DC_UnlockDc(pDC);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue