xbmc/xbmc — pull request #2578 by a11599 (2013-04-09 18:11:25+00:00)
Title: [win32][added] Hybrid shutdown on Windows 8

Do a hybrid shutdown on Windows 8+ (which in turn enables quick boot). This is what the standard Windows shutdown command does and as a user I expect XBMC to do the same.

Actually Microsoft managed to do this in a non-backwards compatible fashion so I have to check the OS version before flagging ExitWindowsEx. Also our standard build environment does not know about EWX_HYBRID_SHUTDOWN so I just used its hex equivalent.