[RSHELL]
* Partially rewrite CMergedFolder to fix the invalid assumption that the results of enumerating a folder are ordered.
Fixes the folder merging on certain languages not working as expected, and also some other weaknesses of the previous implementation.

CORE-8835 #resolve #comment Should be fixed in r65537. Thanks for reporting.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65537 97493ccd-5924-5043-b1f5-66cb403b36ce
[WINSRV]
* Stop using ONEPARAM_ROUTINE_CSRSS_GUICHECK

[WIN32K]
* Move the manual gui check for console windows entirely in win32k
* This shouldn't cause any regressions to the ancient gui-on-demand feature

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65538 97493ccd-5924-5043-b1f5-66cb403b36ce
Try to fix Build

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65539 97493ccd-5924-5043-b1f5-66cb403b36ce
[Win32k]
- Use thread state for GetMessageExtraInfo.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65540 97493ccd-5924-5043-b1f5-66cb403b36ce
[RSHELL]
* The windows menu classes hide the items when the callback returns S_OK, and show them on S_FALSE. Fix our implementation to match.
* The windows CMergedFolder uses its own internal SHITEMID structure, so using filesystem paths directly won't work for hiding the Programs folder. 
* Also, because of the above, it's best to create the Programs menu object separately.



git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65541 97493ccd-5924-5043-b1f5-66cb403b36ce
[RSHELL]
* Fix gcc build.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65542 97493ccd-5924-5043-b1f5-66cb403b36ce
[PSDK]
 - Add missing TDI_SERVICE_* flags

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