Click here to Skip to main content
15,913,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to use WM_WTSSESSION_CHANGE? Pin
Tomasz Sowinski18-Mar-02 7:18
Tomasz Sowinski18-Mar-02 7:18 
GeneralRe: How to use WM_WTSSESSION_CHANGE? Pin
WookMaster18-Mar-02 7:27
WookMaster18-Mar-02 7:27 
GeneralRe: How to use WM_WTSSESSION_CHANGE? Pin
Tomasz Sowinski18-Mar-02 7:29
Tomasz Sowinski18-Mar-02 7:29 
GeneralRe: How to use WM_WTSSESSION_CHANGE? Pin
WookMaster18-Mar-02 7:40
WookMaster18-Mar-02 7:40 
GeneralRe: How to use WM_WTSSESSION_CHANGE? Pin
Tomasz Sowinski18-Mar-02 7:38
Tomasz Sowinski18-Mar-02 7:38 
GeneralRe: How to use WM_WTSSESSION_CHANGE? Pin
WookMaster18-Mar-02 7:48
WookMaster18-Mar-02 7:48 
GeneralRe: How to use WM_WTSSESSION_CHANGE? Pin
Tomasz Sowinski18-Mar-02 7:47
Tomasz Sowinski18-Mar-02 7:47 
GeneralRe: How to use WM_WTSSESSION_CHANGE? Pin
Blake Miller15-Apr-04 9:36
Blake Miller15-Apr-04 9:36 
On Windows XP Professional SP1 -FOR CERTAIN- the lParam is merely a number - the session ID. Several General Protection Faults will prove this to you.

I think the WTSSESSION_NOTIFICATION structure is passed to the HandlerEx routine in a Windows service application (have not tried that one yet...)

The wParam lets you know what is happening, and the lParam identifies the session ID.

You can use the session id in call to WTSQuerySessionInformation to get more details for a specific session identifier.

I am currently trying to get Microsoft to document specific recommendations for applications to follow in response to each of these messages. More specific than 'avoid anything troublesome'... WTF | :WTF:


GeneralDUN Pin
AusBloke18-Mar-02 6:28
AusBloke18-Mar-02 6:28 
GeneralRe: DUN Pin
Vladimir Georgiev18-Mar-02 7:58
Vladimir Georgiev18-Mar-02 7:58 
GeneralRe: DUN Pin
AusBloke18-Mar-02 9:25
AusBloke18-Mar-02 9:25 
GeneralRe: DUN Pin
Carlos Antollini18-Mar-02 8:42
Carlos Antollini18-Mar-02 8:42 
GeneralRe: DUN Pin
AusBloke18-Mar-02 9:24
AusBloke18-Mar-02 9:24 
GeneralRe: DUN Pin
19-Mar-02 7:16
suss19-Mar-02 7:16 
GeneralDrag & Drop Pin
Li Mu Bai18-Mar-02 5:53
Li Mu Bai18-Mar-02 5:53 
GeneralRe: Drag & Drop Pin
Tomasz Sowinski18-Mar-02 5:55
Tomasz Sowinski18-Mar-02 5:55 
GeneralFlickering list control Pin
Andrew Stampor18-Mar-02 5:26
Andrew Stampor18-Mar-02 5:26 
GeneralRe: Flickering list control Pin
Tomasz Sowinski18-Mar-02 5:43
Tomasz Sowinski18-Mar-02 5:43 
GeneralRe: Flickering list control Pin
Andrew Stampor18-Mar-02 6:36
Andrew Stampor18-Mar-02 6:36 
GeneralRe: Flickering list control Pin
Tomasz Sowinski18-Mar-02 7:06
Tomasz Sowinski18-Mar-02 7:06 
GeneralRe: Flickering list control Pin
Andrew Stampor18-Mar-02 10:36
Andrew Stampor18-Mar-02 10:36 
QuestionSame caption problem as before, what am I doing wrong? Pin
generic_user_id18-Mar-02 5:10
generic_user_id18-Mar-02 5:10 
AnswerRe: Same caption problem as before, what am I doing wrong? Pin
Paul M Watt18-Mar-02 5:32
mentorPaul M Watt18-Mar-02 5:32 
GeneralRe: Same caption problem as before, what am I doing wrong? Pin
generic_user_id18-Mar-02 5:57
generic_user_id18-Mar-02 5:57 
GeneralRe: Same caption problem as before, what am I doing wrong? Pin
Ravi Bhavnani18-Mar-02 6:21
professionalRavi Bhavnani18-Mar-02 6:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.