App is is preventing Windows shutdown (PCMan shutdown fix)

https://stackoverflow.com/questions/40825747/close-my-program-before-windows-shutdown

https://github.com/pcman-bbs/pcman-windows/pull/30


WM_QUERYENDSESSION
return 1 讓他可以terminate程式就ok了,猜測是Windows SDK版本改變,行為改變

留言

這個網誌中的熱門文章

OBS 抓不到畫面, 視窗, 遊戲擷取, 黑或白畫面, 當掉 ,卡住, black/white screen, window game capture, crash, freeze

優化實況(一) OBS設定 streaming settings

OBS plugin obs-text 顯示播放中音樂, display playing music