Re: TWAPI - how to register a callback to a Shutdown (or similar) event?
- From: Roy Terry <roy@xxxxxxxxxxxxx>
- Date: Fri, 11 May 2007 01:04:40 GMT
MartinLemburg@UGS wrote:
Perhabs I found the solution for my problem, not really needing twapi,Does this really solve it? It's mapped to the
just by ...
wm protocol . WM_SAVE_YOURSELF
But ... is this event really supported?
Windows message WM_QUERYENDSESSION which all apps
receive. Any app's refusal means the system won't be shutting
down and the distribution of the message is stopped
after the first refusal.
Seems WM_ENDSESSION is the definitive Windows signal
that the app must exit with no option.
R
.
Thanks again!
Martin
On May 8, 10:59 am, "MartinLemburg@UGS" <martin.lemburg....@xxxxxxx>
wrote:
Hello,
I really would like to know, if and how it is possible using TWAPI to
register a callback for a Shutdown, LogOff, etc. event!
Can somebody help me?
Thanks and best regards,
Martin
- References:
- TWAPI - how to register a callback to a Shutdown (or similar) event?
- From: MartinLemburg@UGS
- Re: TWAPI - how to register a callback to a Shutdown (or similar) event?
- From: MartinLemburg@UGS
- TWAPI - how to register a callback to a Shutdown (or similar) event?
- Prev by Date: Re: INMARSAT and Tcl
- Next by Date: openmosix, forks, event programming
- Previous by thread: Re: TWAPI - how to register a callback to a Shutdown (or similar) event?
- Next by thread: Re: TWAPI - how to register a callback to a Shutdown (or similar) event?
- Index(es):