source: trunk/third/gtk/gdk/gxid_proto.h @ 14482

Revision 14482, 769 bytes checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r14481, which included commits to RCS files with non-trunk default branches.
Line 
1#define GXID_CLAIM_DEVICE       1
2#define GXID_RELEASE_DEVICE     2
3
4#define GXID_RETURN_OK          0
5#define GXID_RETURN_ERROR       -1
6
7typedef struct GxidClaimDevice_ GxidClaimDevice;
8typedef struct GxidReleaseDevice_ GxidReleaseDevice;
9typedef struct GxidMessageAny_ GxidMessageAny;
10typedef union GxidMessage_ GxidMessage;
11
12typedef unsigned long GxidU32;
13typedef long GxidI32;
14
15struct GxidClaimDevice_ {
16  GxidU32 type;
17  GxidU32 length;
18  GxidU32 device;
19  GxidU32 window;
20  GxidU32 exclusive;
21};
22
23struct GxidReleaseDevice_ {
24  GxidU32 type;
25  GxidU32 length;
26  GxidU32 device;
27  GxidU32 window;
28};
29
30struct GxidMessageAny_ {
31  GxidU32 type;
32  GxidU32 length;
33};
34
35union GxidMessage_ {
36  GxidMessageAny any;
37  GxidClaimDevice claim;
38  GxidReleaseDevice release;
39};
Note: See TracBrowser for help on using the repository browser.