How to know who is logoff

W

winner

I used windows2003 and terminal server.
I would like to know,how to use C++ receive other windows user want to
logoff?
and I want to know how session.
-- thanks
 
R

Rob Leitman [MSFT]

"winner" wrote in message
news:10C28CE8-1562-47DD-8731-33EAA2D68540@microsoft.com...
> I used windows2003 and terminal server.
> I would like to know,how to use C++ receive other windows user want to
> logoff?
> and I want to know how session.
> -- thanks


See http://msdn.microsoft.com/en-us/library/aa383841(VS.85).aspx
WTSRegisterSessionNotification.

Rob
 
Back
Top Bottom