34 |
#endif |
#endif |
35 |
|
|
36 |
extern char hostname[16]; |
extern char hostname[16]; |
37 |
extern int width; |
extern int g_width; |
38 |
extern int height; |
extern int g_height; |
39 |
extern int keylayout; |
extern int keylayout; |
40 |
extern BOOL g_encryption; |
extern BOOL g_encryption; |
41 |
extern BOOL g_licence_issued; |
extern BOOL g_licence_issued; |
432 |
out_uint16_le(s, 212); /* length */ |
out_uint16_le(s, 212); /* length */ |
433 |
out_uint16_le(s, g_use_rdp5 ? 4 : 1); /* RDP version. 1 == RDP4, 4 == RDP5. */ |
out_uint16_le(s, g_use_rdp5 ? 4 : 1); /* RDP version. 1 == RDP4, 4 == RDP5. */ |
434 |
out_uint16_le(s, 8); |
out_uint16_le(s, 8); |
435 |
out_uint16_le(s, width); |
out_uint16_le(s, g_width); |
436 |
out_uint16_le(s, height); |
out_uint16_le(s, g_height); |
437 |
out_uint16_le(s, 0xca01); |
out_uint16_le(s, 0xca01); |
438 |
out_uint16_le(s, 0xaa03); |
out_uint16_le(s, 0xaa03); |
439 |
out_uint32_le(s, keylayout); |
out_uint32_le(s, keylayout); |