- Keep track of the PDEV which we create a compatible bitmap for.
- Allow attaching a DDB to a DC if they are from the same PDEV
Fixes various problems after mode switching, including the infamous "Where is desk.cpl palette bitmap"
svn path=/trunk/; revision=64955
- Don't delete the device node for root enumerated device objects on failure. It's pointless, since IopEnumerateDevice will just recreate it, and more importantly it causes a use-after-free because IopFreeDeviceNode does not unset the DeviceNode member of the device object extension, so IopEnumerateDevice will try to access the freed node
- Set the device object's DeviceNode pointer to NULL in IopFreeDeviceNode
- Use consistent pool tagging for device nodes
CORE-8671 #resolve
svn path=/trunk/; revision=64950
Move the BIOS call buffer to physical address 0x4000, making another page available at the top, moving the margin down to 0x9E000. Should fix boot with machines that have a large EBDA.
CORE-8692 #comment please retest.
svn path=/trunk/; revision=64945
- Properly free classes small icon handles
- Do not use LR_SHARED when copying them from the large icon. There's no reason for them to outlive the class.
Should fix remaining failures in user32:class that I introduced.
svn path=/trunk/; revision=64939
- Simplify an overcomplicated way to get buffer size from win32k
- Do not spaghettize between string length and buffer size.
- Properly use GetModuleFileName.
svn path=/trunk/; revision=64938
* Introduce a wine folder to group the Wine synced source files.
* Use the crypt folder as a starting point. More will follow.
CORE-8540
svn path=/trunk/; revision=64937
* Merge r64866 from the shell branch which had:
* Fix wrong array length passed to GetClassNameW. CID 716222
* Replace other instances of explicit array length to GetWindowTextW with _countof(x).
Based on a patch by Christoph von Wittich.
svn path=/trunk/; revision=64924
- In an incredibly daring move, enable the long awaited new cursors & icons implementation, featuring:
- Alpha channeled cursors
- Animated cursors (only the first frame is displayed now)
- Less leaks (tm)
- Tests that pass(tm)
- Copying icons and cursors from DLL resources, for beautifuler ReactOS, your turn gigaherz ;-)
- A lot of other things which I am very proud of.
CORE-7575 #resolve
svn path=/trunk/; revision=64921
- Remove the cursor from the process cache when its handle is deleted, not after.
- Do not return an invalid handle in NtUserSetCursor.
CORE-7575
svn path=/trunk/; revision=64912
- Fix LookupIconIdFromDirectoryEx, returning 0 when no matching entry is found.
- Fix error handling when opening a cursor file.
- Various code beautification here and there
CORE-7575
svn path=/trunk/; revision=64911
Fix ARM build, patch by Yuntian Zhang with minor adjustment by me.
CORE-8666 #resolve #comment Committed in r64910, thanks!
svn path=/trunk/; revision=64910
Do not raise an exception in _invalid_parameter, which is only done in later MSVCRTs. Wine uses a symbolic constant (_MSVCR_VER) to handle this and other things and compiles their CRT code multiple times. As an alternative we could use a global version variable to avoid recompiling, once we implement other CRT dlls.
CORE-8670 #resolve
svn path=/trunk/; revision=64909
- check the right buffer's length
[WIN32K]
- simplify IntKeyboardUpdateLeds a bit and mind previous mode
- fixes keyboard indicators
CORE-8547
svn path=/trunk/; revision=64908