#define WTS_CURRENT_SERVER_HANDLE          0
#define WTS_CURRENT_SESSION               -1

#define WTSInitialProgram                  0
#define WTSApplicationName                 1
#define WTSWorkingDirectory                2
#define WTSOEMId                           3
#define WTSSessionId                       4
#define WTSUserName                        5
#define WTSWinStationName                  6
#define WTSDomainName                      7
#define WTSConnectState                    8
#define WTSClientBuildNumber               9
#define WTSClientName                     10
#define WTSClientDirectory                11
#define WTSClientProductId                12
#define WTSClientHardwareId               13
#define WTSClientAddress                  14
#define WTSClientDisplay                  15
#define WTSClientProtocolType             16

#define WTSSBX_ADDRESS_FAMILY_AF_UNSPEC    0
#define WTSSBX_ADDRESS_FAMILY_AF_INET      1
#define WTSSBX_ADDRESS_FAMILY_AF_INET6     2
#define WTSSBX_ADDRESS_FAMILY_AF_IPX       3
#define WTSSBX_ADDRESS_FAMILY_AF_NETBIOS   4

#define SM_REMOTESESSION                   0x1000
#define WM_DESTROY                         0x0002
#define WM_WTSSESSION_CHANGE               689
#define NOTIFY_FOR_THIS_SESSION            0
#define WTS_REMOTE_CONNECT                 3
#define WTS_REMOTE_DISCONNECT              4

/*
WTS_CONSOLE_CONNECT = 1;
  WTS_CONSOLE_DISCONNECT = 2;
  WTS_REMOTE_CONNECT = 3;
  WTS_REMOTE_DISCONNECT = 4;
  WTS_SESSION_LOGON = 5;
  WTS_SESSION_LOGOFF = 6;
  WTS_SESSION_LOCK = 7;
  WTS_SESSION_UNLOCK = 8;
  WTS_SESSION_REMOTE_CONTROL = 9;

  NOTIFY_FOR_THIS_SESSION = 0;
  NOTIFY_FOR_ALL_SESSIONS = 1;
*/
