mirror of
https://github.com/reactos/reactos.git
synced 2024-10-29 19:13:58 +00:00
dc483bd700
CORE-17561 Set the API_BITMAP flag for bitmaps created by EngCreateBitmap(). This avoids failure when created bitmap is passed to NtGdiSelectBitmap(), since it checks for this flag and fails if it isn't set. Otherwise, if failure occurs, the bitmap is hot handled properly. Setting this flag outside of that function is not an option at all, because it is a public (exported) function, and in many cases it's called directly by the caller (in case with MS DDraw stack, it can be called also by dxg.sys from dxgthk!EngCreateBitmap, which directly calls win32k!EngCreateBitmap). In particular, it allows Windows XP/2003 DirectDraw stack (ddraw.dll & dxg.sys) to properly work in ReactOS (in software emulation mode), even on real hardware. So now, a lot of DirectX 1-7 apps and games (whose can work withoug hardware acceleation), are working properly with ddraw.dll + dxg.sys replacement! Also Justin Miller (DarkFire01) confirmed that even Direct3D software emulation now also works correctly on real hardware! |
||
---|---|---|
.. | ||
drivers | ||
gdi | ||
include | ||
printing | ||
reactx | ||
user | ||
CMakeLists.txt | ||
napi.h | ||
pch.h | ||
sys-stubs.S | ||
w32ksvc.db | ||
w32ksvc.h | ||
win32k.h | ||
win32k.rc | ||
win32k.spec | ||
win32kp.h |