-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathswf_client.h
67 lines (52 loc) · 1.22 KB
/
swf_client.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#ifndef FREERDP_CLIENT_WIN_INTERFACE_H
#define FREERDP_CLIENT_WIN_INTERFACE_H
#include <freerdp/freerdp.h>
#include <freerdp/api.h>
#include <freerdp/freerdp.h>
#include <freerdp/gdi/gdi.h>
#include <freerdp/gdi/dc.h>
#include <freerdp/gdi/region.h>
#include <freerdp/cache/cache.h>
#include <freerdp/codec/color.h>
#include <freerdp/client/rail.h>
#include <freerdp/channels/channels.h>
#include <freerdp/codec/rfx.h>
#include <freerdp/codec/nsc.h>
#include <freerdp/client/file.h>
#include <freerdp/client/cliprdr.h>
typedef struct _swfClipboard {
char mimetype[256];
char* buffer;
int length;
CliprdrClientContext* context;
} swfClipboard;
typedef struct swf_bitmap
{
rdpBitmap _bitmap;
HDC hdc;
HBITMAP bitmap;
HBITMAP org_bitmap;
BYTE* pdata;
}swfBitmap;
typedef struct swf_context
{
rdpContext context;
DEFINE_RDP_CLIENT_COMMON();
swfBitmap* primary;
HWND hWndParent;
HINSTANCE hInstance;
WNDCLASSEX wndClass;
LPCTSTR wndClassName;
HCURSOR hDefaultCursor;
DWORD mainThreadId;
HWND hwnd;
int client_x;
int client_y;
int client_width;
int client_height;
POINT diff;
RailClientContext* rail;
swfClipboard * clipboard;
} swfContext;
FREERDP_API int RdpClientEntry(RDP_CLIENT_ENTRY_POINTS* pEntryPoints);
#endif