Is it possible to send WM_QUERYENDSESSION messages to a window in a different process?

后端 未结 4 367
太阳男子
太阳男子 2021-01-20 00:16

I want to debug a windows C++ application I\'ve written to see why it isn\'t responding to WM_QUERYENDSESSION how I expect it to. Clearly it\'s a little tricky to do this by

4条回答
  •  走了就别回头了
    2021-01-20 00:46

    The Windows API SendMessage can be used to do this. http://msdn.microsoft.com/en-us/library/ms644950(VS.85).aspx

    IS ti possible it's not responding because some other running process has responded with a zero (making the system wait on it.)

提交回复
热议问题