![]() |
AW: Anti End Task, not WM_Close?
|
AW: Anti End Task, not WM_Close?
Yes, meant this one.
Bernhard |
AW: Anti End Task, not WM_Close?
Zitat:
Zitat:
I guess by writing service, my problem easier to solve. Thanks for the mini-filter. Zitat:
Zitat:
I am still trying to block End Task, if I found the way, I'll post to this board :wink: |
AW: Anti End Task, not WM_Close?
Then search for all ways how to terminate a process and block them. The easiest way to do so is to block OpenProcess for all matters (and to handle OnCloseQuery). To let Windows shutdown, Windows is issuing a broadcast message on WM_ENDSESSION. After this message (and the check, that this message came from Windows and not from anybody else issuing WM_ENDSESSION to your window) your program needs to be terminatable.
Bernhard ADD: Which implies: If someone hooks GetSystemMetrics, and tells your program after issuing the WM_ENDSESSION-Message to your window, your process becomes terminateable even if Windows does not really shut down. |
AW: Anti End Task, not WM_Close?
Zitat:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 21:41 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz