20#ifndef FREERDP_LIB_CORE_INFO_H
21#define FREERDP_LIB_CORE_INFO_H
25#include <freerdp/freerdp.h>
26#include <freerdp/api.h>
28#include <winpr/stream.h>
31#define ADDRESS_FAMILY_INET 0x0002
32#define ADDRESS_FAMILY_INET6 0x0017
35#define INFO_MOUSE 0x00000001
36#define INFO_DISABLECTRLALTDEL 0x00000002
37#define INFO_AUTOLOGON 0x00000008
38#define INFO_UNICODE 0x00000010
39#define INFO_MAXIMIZESHELL 0x00000020
40#define INFO_LOGONNOTIFY 0x00000040
41#define INFO_COMPRESSION 0x00000080
42#define INFO_ENABLEWINDOWSKEY 0x00000100
43#define INFO_REMOTECONSOLEAUDIO 0x00002000
44#define INFO_FORCE_ENCRYPTED_CS_PDU 0x00004000
45#define INFO_RAIL 0x00008000
46#define INFO_LOGONERRORS 0x00010000
47#define INFO_MOUSE_HAS_WHEEL 0x00020000
48#define INFO_PASSWORD_IS_SC_PIN 0x00040000
49#define INFO_NOAUDIOPLAYBACK 0x00080000
50#define INFO_USING_SAVED_CREDS 0x00100000
51#define INFO_AUDIOCAPTURE 0x00200000
52#define INFO_VIDEO_DISABLE 0x00400000
53#define INFO_HIDEF_RAIL_SUPPORTED 0x02000000
56#define LOGON_EX_AUTORECONNECTCOOKIE 0x00000001
57#define LOGON_EX_LOGONERRORS 0x00000002
59#define SAVE_SESSION_PDU_VERSION_ONE 0x0001
61FREERDP_LOCAL BOOL rdp_recv_client_info(rdpRdp* rdp,
wStream* s);
62FREERDP_LOCAL BOOL rdp_send_client_info(rdpRdp* rdp);
63FREERDP_LOCAL BOOL rdp_recv_save_session_info(rdpRdp* rdp,
wStream* s);
64FREERDP_LOCAL BOOL rdp_send_save_session_info(rdpContext* context, UINT32 type,
void* data);
65FREERDP_LOCAL BOOL rdp_send_server_status_info(rdpContext* context, UINT32 status);