1XGETEXTENSIONVERSION(3)                                XGETEXTENSIONVERSION(3)
2
3
4

NAME

6       XGetExtensionVersion - query the version of the input extension.
7

SYNOPSIS

9       #include <X11/extensions/XInput.h>
10
11       XExtensionVersion *XGetExtensionVersion( Display *display,
12                                                char *name);
13
14       display
15              Specifies the connection to the X server.
16
17       name
18              Specifies the extension to be queried. The input
19              extension name is definedin the header file XI.h.
20

DESCRIPTION

22           The XGetExtensionVersion request is deprecated and should not
23           be used in XI2 applications. Clients issuing a XGetExtensionVersion
24           request will not be able to use XI2 features.
25
26           The XGetExtensionVersion request queries the version of the input
27           extension, and returns an XExtensionVersion structure. This structure
28           contains a major_version and minor_version number which can be compared
29           with constants defined in XI.h. Support for additional protocol
30           requests added to the input extension after its initial release
31           is indicated by a version number corresponding to the added
32           requests. Each version contains all the protocol requests
33           contained by previous versions.
34
35           You should use XFree to free the XExtensionVersion structure.
36

STRUCTURES

38           This request returns an XExtensionVersion structure.
39
40           typedef struct {
41               int present;
42               short major_version;
43               short minor_version;
44           } XExtensionVersion;
45
46
47
48                                  03/09/2013           XGETEXTENSIONVERSION(3)
Impressum