Re: Shutdown hook
From: Alessio (peloquin_at_libero.it)
Date: 02/10/05
- Next message: Rich S.: "Renaming DllMain"
- Previous message: Wil Stark: "Re: Sleep(DWORD) returns in _less_ time than specified"
- Maybe in reply to: Alessio: "Shutdown hook"
- Next in thread: Alessio: "Re: Shutdown hook"
- Reply: Alessio: "Re: Shutdown hook"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 10 Feb 2005 20:05:24 GMT
tabris17 wrote:
> deal with WM_POWERBROADCAST message,and return BROADCAST_QUERY_DENY
>
>
> LRESULT CALLBACK WindowProc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM
> lParam )
> {
> if(uMsg==WM_POWERBROADCAST)
>
> return BROADCAST_QUERY_DENY;
> ... ...
> ... ...
> }
>
>
thank you, but this code doesn't works on XP.
BROADCAST_QUERY_DENY don't stop shutdown procress.
Alessio.
- Next message: Rich S.: "Renaming DllMain"
- Previous message: Wil Stark: "Re: Sleep(DWORD) returns in _less_ time than specified"
- Maybe in reply to: Alessio: "Shutdown hook"
- Next in thread: Alessio: "Re: Shutdown hook"
- Reply: Alessio: "Re: Shutdown hook"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|