reactos/win32ss/gdi
Oleg Dubinskiy 58daf942fe
[GDI32] Fix wrong ordering of parameters in NtGdiDdGetDC call (#3637)
It allows to properly pass the surface handle (and palette entry pointer) from MS ddraw into win32k.
Otherwise, they are passing into the wrong parameters of actual NtGdi* function, and due to this,
since they're detected as invalid, they become NULL, and that function does not work correctly.

See https://docs.microsoft.com/en-us/windows/win32/devnotes/-dxgkernel-ntgdiddgetdc for the reference
(and confirmed by our headers).

Required by MS DirectDraw stack (ddraw.dll & dxg.sys).
CORE-17561
2021-05-03 18:11:18 +02:00
..
dib [WIN32K] Fix brain-fail of mine 2021-03-31 16:55:30 +02:00
diblib
eng [WIN32K] Fix getting long value from float object 2021-03-31 18:35:31 +02:00
gdi32 [GDI32] Fix wrong ordering of parameters in NtGdiDdGetDC call (#3637) 2021-05-03 18:11:18 +02:00
ntgdi [WIN32K] More cleanup & improvements 2021-03-31 18:35:31 +02:00