- Fix AcpiRegQueryValue, to allow querying the required buffer size only (which was already used, but just didn't work)
- Fix GetProcessorInformation. Previously the function failed at the start, but no one checked the return value. Check return values of called functions, and properly NULL-Terminate the components of the REG_MULTI_SZ style value that ProcessorHardwareIds is supposed to be.
- Fix NULL-termination in Bus_PDO_QueryDeviceId as well as clean up the code, fix indentation and broken if/else cases
- Add some ASSERTs and comments
svn path=/trunk/; revision=61666
Fix the s*** out of SepCreateToken and NtCreateToken: respect optional arguments, do not access usermode memory without SEH, instead properly capture them, don't allocate 0 bytes from the pool, better argument verification. The function isn't perfect yet, but better and more secure.
svn path=/trunk/; revision=61662
Lookup new Ldr entries in IopInitializeBuiltinDriver (we used the old ones from the loader block, that are not valid anymore after the drivers have been relocated!)
svn path=/trunk/; revision=61659
- Greatly reduce needless repaints in the non client area but remembering the last hittest of the mouse events to redraw it only when it is needed
- Do not reset the theme region every time we move a window, also make sure we try to set a theme region only when it is needed
- Do not use OpenThemeData but use MSSTYLES_OpenThemeClass directly
- Do not reload the active theme every time we get a WM_THEMECHANGED message, make sure to see if the active theme was already loaded before trying to load it again
- See CORE-7775
svn path=/trunk/; revision=61654
- Fix memory/handle leak in failure case of GetServices. Patch by Christoph von Wittich
- Fix service handle failure checks
- Remove unnecessary casts
svn path=/trunk/; revision=61653
- Output debug information before ASSERTing. CORE-7671
- FORCEINLINE belongs before the return type (-Wold-style-declaration)
svn path=/trunk/; revision=61646
- When deleting a directory entry, also remove it from the hash table. This prevents use after free in the case of a hash collision
CORE-7774 #resolve
svn path=/trunk/; revision=61643
Three patches for mplay32 by Ricardo Hanke. Some more or less heavy tabs->spaces fixing and removing of spaces which are too much by myself
CORE-7590 #resolve
CORE-7594 #resolve
CORE-7613 #resolve
svn path=/trunk/; revision=61640
- Add the Lautus visual style by Pisarz. Based on a patch by Christoph von Wittich.
The resulting windows/linux themes have been checked on Windows XP.
svn path=/trunk/; revision=61635
Make the LSAP_POLICY_AUDIT_EVENTS_DATA structure compatible to the one used in Windows, so that the registry data is compatible between Windows and ReactOS lsasrv. Windows does not actually use dynamically sized structures, but always stores a full structure and the AuditEventsCount is AFTER the AuditEvents array, so that it is in fact pretty pointless. But that's how it works.
svn path=/trunk/; revision=61626
Fix a nasty bug in RtlQueryRegistryValues, that caused memory corruption when the the key name or data had the "wrong" length.
svn path=/trunk/; revision=61624
- Implement the STATE_LOCKED and STATE_LOCKED_SAS states and their transitions.
[MSGINA]
- Disable the logoff button of the security dialog if the AutoAdminLogon option is enabled.
- Implement the unlock computer dialog. The user name and password check is not implemented yet. Just press OK to unlock the computer.
- Simulate an SAS when the DisableCAD option is enabled and the computer is locked. The unlock dialog appears immediately.
svn path=/trunk/; revision=61622
Pay back the US National Debt.
... well not entirely, but at least remove the "hack similar in magnitude to the US's National Debt"! As a nice side effect we can now load Windows 2003 hive files.
svn path=/trunk/; revision=61621
* Remove one time inclusions from the main header and put them back where they belong.
* Cleanup the main header.
CORE-7716
svn path=/trunk/; revision=61618
* Remove one time inclusions from the main header and put them back where they belong.
* Improve the main header.
CORE-7716
svn path=/trunk/; revision=61616