|
|
От: | Valery | |
| Дата: | 26.07.04 12:23 | ||
| Оценка: | |||
_J_>Platform SDK: Windows System Information
_J_>Receiving Shutdown Notification
_J_>Applications with a window and message queue receive shutdown notification through the WM_QUERYENDSESSION message.
_J_>Console applications receive shutdown notification in their handler routines. To register a console handler, use the SetConsoleCtrlHandler function.
_J_>Service applications receive shutdown notification in their handler routines. To register a service control handler, use the RegisterServiceCtrlHandlerEx function.