PC Review


Reply
Thread Tools Rate Thread

XP and EWX_FORCE

 
 
Earle Lowe
Guest
Posts: n/a
 
      12th Mar 2004
On XP if a program causes a logoff with the EWX_FORCE option, XP sends
*both* WM_QUERYENDSESSION and WM_ENDSESSION with lParam == 0.

I have two problems with that:

1) WM_ENDSESSION with lParam of 0 is supposed to mean Shutdown not logoff.

2) EWX_FORCE is not supposed to cause WM_QUERYENDSESSION or
WM_ENDSESSION to be sent.

Is this behaviour expected on XP? The docs certainly indicate otherwise.
If this is true, is there anyway to differentiate between EWX_FORCE
logoff and a regular shutdown?


-Earle
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:53 AM.