[FASTFAT]
Set clean shutdown bit on dismount


git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65501 97493ccd-5924-5043-b1f5-66cb403b36ce
[DEVICE_MANAGER]
- Test whether a driver is hidden or not by checking its status instead of the old hack of hiding certain classes which we deemed should be hidden.
- Add support for hiding devices and problem overlays when showing by connection. 
- We now show and hide identical devices when run alongside the Win8 MS device manager in both by type and by connection.
- Update the radio buttons when selecting the menu type.
- Add a manifest and use Win7 arrows on the TreeView.


git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65502 97493ccd-5924-5043-b1f5-66cb403b36ce
[ADVAPI32]
- Stub ElfRegisterEventSourceW, ElfReportEventW and ElfDeregisterEventSource. These are needed by windows sxs.dll, and sxs.dll is needed by windows basesrv.dll.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65503 97493ccd-5924-5043-b1f5-66cb403b36ce
[NtUser]
- Fix code duplication.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65504 97493ccd-5924-5043-b1f5-66cb403b36ce
* Addendum to r65503 (consistent formatting).

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65505 97493ccd-5924-5043-b1f5-66cb403b36ce
[CMAKE]
* Simplify compiling some single-source-file tools.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65506 97493ccd-5924-5043-b1f5-66cb403b36ce
[HEADERS]
- Move definitions for DrawCaptionTemp to userundoc.h as it shouldn't be defined in the psdk
- Add browseui_undoc.h and move there the undocumented definitions for browseui
- Add comctl32_undoc.h and move there the undocumented definitions for comctl32
- Move undocumented definitions for shlwapi to shlwapi_undoc.h
- Add shellutils.h to contain helper macros and definitions that are nor per se undocumented.
- Cleanup internal definitions of explorer. Remove several temporary hacks. They were added at a time that these features were not implemented at all.


git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65507 97493ccd-5924-5043-b1f5-66cb403b36ce
[FASTFAT]
Properly handle shared accesses on volume open.
No need to add the support for this in cleanup, it was already there.


git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65508 97493ccd-5924-5043-b1f5-66cb403b36ce
Attempt to fix build.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65509 97493ccd-5924-5043-b1f5-66cb403b36ce
[EXPLORER]
* Move some definitions in precomp.h

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65510 97493ccd-5924-5043-b1f5-66cb403b36ce
[RTL] Import Wine commit f87767b by Piotr Caban: Handle ACTCTX_FLAG_ASSEMBLY_DIRECTORY_VALID flag when opening manifest in RtlCreateActivationContext.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65511 97493ccd-5924-5043-b1f5-66cb403b36ce
[USER32]
- Call GetThreadConsoleDesktop of CONSRV if needed, in GetThreadDesktop (in case the process is a console app).
- Introduce two last-error helpers UserSetLast(NT)Error which work the same as the (Base)SetLast(NT)Error of kernel32, needed for CSR status errors etc...

[WINSRV]
- Improve the stub of SrvGetThreadConsoleDesktop (it needs to success, and atm. it always zeroes-out the returned console desktop handle).

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65513 97493ccd-5924-5043-b1f5-66cb403b36ce
[NtUser]
- Revert 65431, it seems to be breaking more than it fixes. Process Explorer will break again, working on a better way to fix this. See CORE-7447.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65514 97493ccd-5924-5043-b1f5-66cb403b36ce
[USER32]: Move some logon-related functions to an appropriate file.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65515 97493ccd-5924-5043-b1f5-66cb403b36ce
[USERSRV]: Use UlongToHandle and make ServicesProcessId global (will be used later on, for shutdown). Part 2/X
CORE-8322

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65516 97493ccd-5924-5043-b1f5-66cb403b36ce
[WIN32K]: Move IntClientShutdown function to a dedicated file (that will contain other shutdown helper functions in the future). Part 3/X
CORE-8322

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65517 97493ccd-5924-5043-b1f5-66cb403b36ce
[WIN32K]: Remove those unneeded #defines, they are already declared in include/reactos/undocuser.h
CORE-8322

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65518 97493ccd-5924-5043-b1f5-66cb403b36ce
[WIN32K][ROSTESTS]
So...
... first of all NtUserQueryInformationThread takes only 4 parameters in Win2k3 so do it as well...
... and since we claim at being compatible with Win2k3 (and not XP), one **MUST** review **ALL** our win32k exports, in win32ss/w32ksvc.db database first, and then in our w32kdll apitests !!!!!
But I won't do it !

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65519 97493ccd-5924-5043-b1f5-66cb403b36ce
Forgot this file too.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65520 97493ccd-5924-5043-b1f5-66cb403b36ce
[USER32]
- Move to an appropriate file, and correctly implement (i.e. via CSR call to USERSRV) EndTask.
[USERSRV]
- Hackplement SrvEndTask using our old code.

Part 4/X

CORE-8322

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65521 97493ccd-5924-5043-b1f5-66cb403b36ce