git-svn-id: http://apu.dw.local/svnusers/JoshHoltrop/pppc/trunk@32 8131a0b2-b21c-1c47-bd6a-f003126495bd
21 lines
616 B
C
21 lines
616 B
C
|
|
#include <windows.h>
|
|
|
|
#define NOTIFY_FOR_THIS_SESSION 0
|
|
#define NOTIFY_FOR_ALL_SESSIONS 1
|
|
|
|
#define WM_WTSSESSION_CHANGE 0x02B1
|
|
|
|
#define WTS_CONSOLE_CONNECT 0x1
|
|
#define WTS_CONSOLE_DISCONNECT 0x2
|
|
#define WTS_REMOTE_CONNECT 0x3
|
|
#define WTS_REMOTE_DISCONNECT 0x4
|
|
#define WTS_SESSION_LOGON 0x5
|
|
#define WTS_SESSION_LOGOFF 0x6
|
|
#define WTS_SESSION_LOCK 0x7
|
|
#define WTS_SESSION_UNLOCK 0x8
|
|
#define WTS_SESSION_REMOTE_CONTROL 0x9
|
|
|
|
void session_notification_enable(HWND hWnd);
|
|
void session_notification_disable(HWND hWnd);
|