reactos/subsystems/win32/win32k/include
Timo Kreuzer a3214996fc [WIN32K]
Rewrite the bitmap API. There were a lot of bugs. NtGdiCreateBitmap allowed a negative height, leading to either topdown or bottomup bitmaps, a behaviour that Windows doesn't have. The function copied the bitmap bits directly from the caller to the bitmap using RtlCopyMemory, ignoring different scanline length and direction (resulting in bitmaps being upside down), not SEH protected. This function (IntSetBitmapBits) is replaced by a better solution UnsafeSetBitmapBits, that takes these things into account. The name is chosen to give a hint that the function can/should be SEH protected. IntSetBitmapBits is still there, as its retarded behaviour is actually required in some places. There were also IntCreateBitmap and IntGdiCreateBitmap, now both being replaced by GreCreateBitmap. The code that set the palette is removed, as it's already done in SURFACE_AllocSurface, here gpalRGB is replaced with gpalBGR, fixing some inverted color issues. The alignment correction in SURFACE_bSetBitmapBits is reapplied, now that the callers are behaving as they are supposed to do.

svn path=/branches/reactos-yarotows/; revision=47641
2010-06-06 22:01:41 +00:00
..
accelerator.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
bitmaps.h [WIN32K] 2010-06-06 22:01:41 +00:00
brush.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
callback.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
caret.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
class.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
cleanup.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
clipboard.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
cliprgn.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
color.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
coord.h Sync to trunk (r46918) 2010-04-18 14:06:07 +00:00
csr.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
cursoricon.h sync with trunk r47346 2010-05-25 10:27:42 +00:00
dc.h [WIN32K] 2010-05-14 20:19:46 +00:00
dce.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
desktop.h sync with trunk r47346 2010-05-25 10:27:42 +00:00
device.h Commit the stuff. Lots of changes. I'll write a proper list of changes when it's done. 2010-01-30 21:12:42 +00:00
dib.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
driver.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
driverobj.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
eng.h [WIN32K] 2010-06-06 07:02:15 +00:00
engevent.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
engobjects.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
error.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
floatobj.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
focus.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
gdifloat.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
gdiobj.h [WIN32K] 2010-05-14 20:19:46 +00:00
guicheck.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
hook.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
hotkey.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
input.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
intddraw.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
inteng.h [WIN32K] 2010-04-19 15:08:03 +00:00
intgdi.h [WIN32K] 2010-05-26 22:29:45 +00:00
ldevobj.h Commit the stuff. Lots of changes. I'll write a proper list of changes when it's done. 2010-01-30 21:12:42 +00:00
menu.h sync with trunk r46493 2010-03-27 20:19:56 +00:00
misc.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
mmcopy.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
monitor.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
mouse.h [WIN32K] 2010-04-19 13:52:37 +00:00
msgqueue.h Sync with trunk r47129 2010-05-08 17:23:51 +00:00
ntuser.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
object.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
paint.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
painting.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
palette.h [WIN32K] 2010-05-14 18:51:48 +00:00
path.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
pdevobj.h [WIN32K] 2010-05-08 22:10:41 +00:00
pen.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
prop.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
rect.h sync with trunk (r47268) 2010-05-19 03:44:15 +00:00
region.h [win32k] 2010-03-31 22:43:02 +00:00
scroll.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
surface.h [WIN32K] 2010-06-06 22:01:41 +00:00
sysparams.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
tags.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
text.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
timer.h Sync with trunk r47367 2010-05-26 23:20:20 +00:00
useratom.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
userfuncs.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
vis.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
win32.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
win32kp.h Sync with trunk (r47116), hopefully without breaking anything. 2010-05-07 07:41:13 +00:00
window.h sync with trunk r47346 2010-05-25 10:27:42 +00:00
winpos.h Merge to trunk head (r46631) 2010-04-01 02:52:00 +00:00
winsta.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
xformobj.h sync with trunk (r46275) 2010-03-19 21:09:21 +00:00
xlateobj.h [WIN32K] 2010-05-19 16:23:33 +00:00