mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 02:16:49 +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
|
@ -529,7 +529,7 @@ NtGdiSetDIBitsToDeviceInternal(
|
|||
goto Exit;
|
||||
}
|
||||
|
||||
if (pDC->dctype == DC_TYPE_INFO)
|
||||
if (pDC->dctype == DCTYPE_INFO)
|
||||
{
|
||||
ret = 0;
|
||||
goto Exit;
|
||||
|
@ -714,7 +714,7 @@ GreGetDIBitsInternal(
|
|||
return 0;
|
||||
|
||||
pDC = DC_LockDc(hDC);
|
||||
if (pDC == NULL || pDC->dctype == DC_TYPE_INFO)
|
||||
if (pDC == NULL || pDC->dctype == DCTYPE_INFO)
|
||||
{
|
||||
ScanLines = 0;
|
||||
goto done;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue