FreeRDP
Loading...
Searching...
No Matches
client/rdpdr.h
1
21
#ifndef FREERDP_CHANNEL_RDPDR_CLIENT_H
22
#define FREERDP_CHANNEL_RDPDR_CLIENT_H
23
24
#include <freerdp/channels/rdpdr.h>
25
26
#ifdef __cplusplus
27
extern
"C"
28
{
29
#endif
30
36
typedef
enum
37
{
38
RDPDR_HOTPLUG_FIRST_CHECK,
39
RDPDR_HOTPLUG_CHECK_FOR_CHANGES
40
} RdpdrHotplugEventType;
41
42
typedef
struct
s_rdpdr_client_context
RdpdrClientContext;
43
54
typedef
UINT (*pcRdpdrRegisterDevice)(RdpdrClientContext* context,
const
RDPDR_DEVICE
* device,
55
uint32_t* pid);
56
66
typedef
UINT (*pcRdpdrUnregisterDevice)(RdpdrClientContext* context,
size_t
count,
67
const
uint32_t ids[]);
68
77
typedef
UINT (*pcRdpdrHotplugDevice)(RdpdrClientContext* context, RdpdrHotplugEventType type);
78
84
struct
s_rdpdr_client_context
85
{
86
void
* handle;
87
void
* custom;
88
89
pcRdpdrRegisterDevice RdpdrRegisterDevice;
90
pcRdpdrUnregisterDevice RdpdrUnregisterDevice;
91
pcRdpdrHotplugDevice RdpdrHotplugDevice;
92
};
93
94
#ifdef __cplusplus
95
}
96
#endif
97
98
#endif
/* FREERDP_CHANNEL_RDPDR_CLIENT_H */
RDPDR_DEVICE
Definition
settings_types.h:450
s_rdpdr_client_context
rdpdr channel client context
Definition
client/rdpdr.h:85
include
freerdp
client
rdpdr.h
Generated by
1.9.8