Patch by milawynsrealm:
* Implemented the beginnings of InitiateShutdownA/W (nothing works yet, and it's not exported).
* Running InitiateSystemShutdownA/W invokes InitiateSystemShutdownExA/W while
using "Other (Planned)" as the reason code.
- The "Other (Planned)" reason code seemed to be the best default
option so far.
Let me know if you feel otherwise.
* Added the shutdown flags that are used for InitiateShutdownA/W inside of
winreg.h.
* Include the reason.h header inside the winreg.h header so that the reason
codes can be
properly called. This conforms to the VC2010 method of adding this support.
* Added the declarations for InitiateSystemShutdownExA/W and InitiateShutdownA/W inside of winreg.h.
* In winuser.h, change the definitions for EWX_* to conform to MSDN
documentation
-
http://msdn.microsoft.com/en-us/library/windows/desktop/aa376868%28v=vs.85%29.aspx
* Added definition support for EWX_HYBRID_SHUTDOWN which is found in Windows 8.
* Calling InitiateSystemShutdownExA will convert strings to UNICODE and send it
over to InitiateSystemShutdownExW. The same is also for InitiateShutdownA.
See issue #7245 for more details.
svn path=/trunk/; revision=57089
- Deactivate Test_SimpleParameters in AttachThreadInput tests until it doesn't crash in win32k.
- Add some more tests in Test_SimpleParameters that should bring win32k to its limits
svn path=/trunk/; revision=57085
- change error messages in CallWindowProc to make it apparent that we caught an exception with SEH as requested by Caemyr
svn path=/trunk/; revision=57084
- Do not treat the release of the windows key as a hotkey if it was used as a modifier for another hotkey that was pressed
- Now if I press win+R only the Run window opens
svn path=/trunk/; revision=57083
- Hack around the fact that desktop handling in ros is awful. Now the child threads use the proper desktop.
- Convert all calls to SendMessage to SendMessageTimeout to make sure it won't hang (it doesn't hang in windows but who knows what can happen in ros)
- Add a few more tests
svn path=/trunk/; revision=57079
Use FILE_FLAG_NO_BUFFERING and FILE_FLAG_WRITE_THROUGH in the hope that they prevent journal changes from getting lost.
svn path=/trunk/; revision=57077
Use "advanced C++ features" like default parameters to reduce the complexity of StringOut calls and fix a warning in the MSVC build :-)
svn path=/trunk/; revision=57076
- Fix bug 6751, 7228 and others, Validate link windows, not relink them per say.
- Stop spurious window handle errors. This fixes all of the DeferWinPos handle errors.
svn path=/trunk/; revision=57068
- Increase the size of the ID buffers to fit certain non-standard IDs reported by Hyper-V on Windows 8. These should be allocated from pool, but this code really sucks and should be replaced anyway.
- Fixes buffer overflow causing a bug check during boot on Hyper-V
svn path=/trunk/; revision=57067
- Fix a critical bug in interrupt handling that could result in HAL returning the current processor to the wrong IRQL after an interrupt is handled that requires a raise to a synchronize IRQL.
svn path=/trunk/; revision=57065
- Fix a critical bug in interrupt sharing between scsiport miniports and other drivers which caused scsiport to mask the interrupts from other devices sitting behind it
- This commit and r57063 fixes bug 7231
svn path=/trunk/; revision=57064
- Fixed crash, see bug 7226.
- AttachThreadInput is new to ReactOS, it passes the wine tests, help is needed, white papers are welcome.
svn path=/trunk/; revision=57045