Cannot receive WM_QUERYENDSESSION message on Win10

Nina 1 Reputation point
2020-12-14T06:45:32.363+00:00

I write an application with C++, it can not receive WM_QUERYENDSESSION message , I don't know why.

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,411 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,516 questions
{count} votes