blob: 24959b806c61ded8119c9305e01d52e6b1344f25 (
plain)
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
|
#define GXID_CLAIM_DEVICE 1
#define GXID_RELEASE_DEVICE 2
#define GXID_RETURN_OK 0
#define GXID_RETURN_ERROR -1
typedef struct GxidClaimDevice_ GxidClaimDevice;
typedef struct GxidReleaseDevice_ GxidReleaseDevice;
typedef struct GxidMessageAny_ GxidMessageAny;
typedef union GxidMessage_ GxidMessage;
typedef unsigned long GxidU32;
typedef long GxidI32;
struct GxidClaimDevice_ {
GxidU32 type;
GxidU32 length;
GxidU32 device;
GxidU32 window;
GxidU32 exclusive;
};
struct GxidReleaseDevice_ {
GxidU32 type;
GxidU32 length;
GxidU32 device;
GxidU32 window;
};
struct GxidMessageAny_ {
GxidU32 type;
GxidU32 length;
};
union GxidMessage_ {
GxidMessageAny any;
GxidClaimDevice claim;
GxidReleaseDevice release;
};
|