Restore saved DCs, when changing the DC owner. Otherwise there could be saved DCs with references to process owned resources, causing GDI object leaks.
Fixes assertion when closing iWisoft Video Converter
Also don't copy lSaveDepth and hdcSafe in DC_vCopyState, those must be handled manually.
CORE-10435 #resolve
svn path=/trunk/; revision=69759
Fix COMCTL32_VERSION definition.
[COMCTL32]
The comctl32 we currently have in trunk cannot pretend to be version 6+ (it was currently reporting version 6.82, aka something for Windows 20? ) Fix it and make it report 5.82 instead.
CORE-10457
svn path=/trunk/; revision=69755
Comment out for now in MCB the assert hit when attempting to write on an extX volume.
Aleksey, could you have a look at it?
CORE-10407 #comment Can you retry with r69750?
svn path=/trunk/; revision=69750
Improve the oplocks stubs:
- Always return success when FsRtlCheckOplock() is called: we deny oplock creation at FsRtlOplockFsctrl(), so the oplocks can only be fine.
- Always return TRUE when FsRtlOplockIsFastIoPossible() is called: we deny oplock creation at FsRtlOplockFsctrl(), so no oplock can prevent fastio from happening.
This enables (for real :-)) write support in extX FSD. Not 100% perfect though, as it hits an assert in MCB (but that's yet another story).
Full implementation to come later on.
CORE-10407
CORE-10442
svn path=/trunk/; revision=69742
- Initialize SepRmDbLock and create the system and anonymous logon sessions in Phase 0, right before the system process token is created.
- Implement functions to reference and dereference a logon session.
- Reference a logon session in SepCreateToken and SepDuplicateToken.
- Dereference a logon session in SepDeleteToken.
svn path=/trunk/; revision=69735
- Do not always print the usage when an error occurs. Print it only when a syntactic error happens.
- FAT volume labels are constituted of 11 chars (not 8!) which should be printable ASCII (in particular, >= 0x20) and in uppercase.
svn path=/trunk/; revision=69732
- Properly parse SymbolicLinkName (in particular, don't assume it's null-terminated) in IoSetDeviceInterface. Fixes IoDeviceInterface test failures and subsequent crashes due to memory corruption
CORE-9456
svn path=/trunk/; revision=69729
- Explicitely use UNICODE versions of OpenSCManager and OpenService.
- When OpenSCManager or OpenService fail, they return a NULL handle (not INVALID_HANDLE_VALUE).
svn path=/trunk/; revision=69719
- Port the Services page in C++ and implement hide/show MS/ReactOS services & enable/disable. WIP.
- Fix resource ID for the "delete" button in the FreeLdr page.
- Revert the freeldr "advanced" dialog that I erroneously removed in r69638.
CORE-9333
svn path=/trunk/; revision=69717
- Move the message typedefs into a shared header file.
- Implement LsapRmCreateLogonSession and LsapRmDeleteLogonSession. Call LsapRmCreateLogonSession in LsapCreateLogonSession.
svn path=/trunk/; revision=69714
- Remove a few todo comments that are now completed. Also remove numbers to make it simpler to remove one entry from the todo list.
svn path=/trunk/; revision=69713
- Implement CompareIDs for the folders in the shell namespace. The previous implementation was a generic solution that just compared names.
- CDefView: Implement using CompareIDs method from the IShellFolder. Remove the previous implementation that was hardcoded in the CDefView and worked mostly for file items.
svn path=/trunk/; revision=69712