Fix RtlWriteRegistryValue, it closed the handle passed to it instead of checking for RTL_REGISTRY_HANDLE flag.
[NTOSKRNL]
Fix PnpRootCreateDevice, which was relying on the broken RtlWriteRegistryValue by aborting, when it *succeeded* to create a registry key, instead of when it failed.
Also use kernel handles and ObCloseHandle.
svn path=/trunk/; revision=61011
... and for 61001st commit: Fix the ANSI version of the server-side of ChangeServiceConfig2A API, which broke at converting SERVICE_FAILURE_ACTIONS ANSI structures into UNICODE ones.
Fixes the VMWare Tools Installer; blame Sylvain if it doesn't ;)
Based on a patch by Sylvain Petreolle.
CORE-7539 #comment Fixed in revision 61001, thanks !
svn path=/trunk/; revision=61001
- Fix an assert in new cursoricon implementation
- Fix CreateIconIndirect behaviour regarding bits per pixel and bitmap dimensions
- Fix LookupIconIdFromDirectoryEx behaviour to fulfill last commited tests
CORE-7575 #comment LookupIconDirectoryEx and CreateIconIndirect now works as per tests
svn path=/trunk/; revision=60999
- Add tests for LookupIconIdFromDirectoryEx
- Add a workaround in GetIconInfo tests for a ReactOS bug in EnumDisplaySettings
- Add tests for EnumDisplaySettings demonstrating the bug.
- Add some traces to better follow the test run
svn path=/trunk/; revision=60994
- Commit everything I got on new cursor/icon implementation
- Implement loading animated cursors (no display yet)
- Get rid of this m:n relation between cursors and processes. (ie. proper implementation of LR_SHARED)
- Get rid of the global linked list of cursors (ditto)
- Use atoms instead of copying the module name into the object. (aka stop using non paged pool for nothing)
- Misc fixes
svn path=/trunk/; revision=60978
Fix German and Romanian language ids, which resulted into wrong codepage resources into kernel32.
Add French resource file.
svn path=/trunk/; revision=60968
[VIDEOPRT] Add missing WdDdiWatchdogDpcCallback export
[WATCHDOG] Add a dummy watchdog.sys
Now win32k.sys from win 2003 can be loaded.
svn path=/trunk/; revision=60952
Fix MmLoadSystemImage, to check the system32\drivers path for import modules as well. This should normally only be done for session loaded images, but since we don't support that yet, we do it for all images, until this is fixed. Simplify (flatten) the code by adding a common failure label and use goto where appropriate. Stop leaking memory in failure case (MissingDriverName was never freed. It is leaked on windows 2003 as well)
svn path=/trunk/; revision=60951
Fix probing of parameters in IoCreateFile. Also move the allocation of the OpenPacket down a bit and get rid of 15 ExFreePool() invocations.
svn path=/trunk/; revision=60950
Implement ReadConsoleInputExA/W, which are a generalization of ReadConsoleInputA/W and PeekConsoleInputA/W. They allow you to read console input events by either waiting (or not) for their presence, and to remove them from the console input list (or not).
Those functions are the read-equivalent of WriteConsoleInputVDMA/W.
Used in Windows' NTVDM (guess why ;) ).
svn path=/trunk/; revision=60920