FreeRDP
session.h
1 
19 #ifndef FREERDP_SESSION_H
20 #define FREERDP_SESSION_H
21 
22 #include <winpr/wtypes.h>
23 
24 /* Logon Information Types */
25 #define INFO_TYPE_LOGON 0x00000000
26 #define INFO_TYPE_LOGON_LONG 0x00000001
27 #define INFO_TYPE_LOGON_PLAIN_NOTIFY 0x00000002
28 #define INFO_TYPE_LOGON_EXTENDED_INF 0x00000003
29 
30 #ifdef __cplusplus
31 extern "C"
32 {
33 #endif
34 
36  {
37  UINT32 sessionId;
38  char* username;
39  char* domain;
40  };
41  typedef struct rdp_logon_info logon_info;
42 
44  {
45  BOOL haveCookie;
46  UINT32 LogonId;
47  BYTE ArcRandomBits[16];
48 
49  BOOL haveErrorInfo;
50  UINT32 ErrorNotificationType;
51  UINT32 ErrorNotificationData;
52  };
53  typedef struct rdp_logon_info_ex logon_info_ex;
54 
55 #ifdef __cplusplus
56 }
57 #endif
58 
59 #endif /* FREERDP_SESSION_H */