First import
[xorg_rtime.git] / xorg-server-1.4 / hw / dmx / doc / html / dmxext_8h.html
blobeb143283f078822be2253b3be8b88e6a3ece9890
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
5 <title>File Index</title>
6 <link href="doxygen.css" rel="stylesheet" type="text/css">
7 </head>
8 <body>
9 <!-- Generated by Doxygen 1.3.4 -->
10 <div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
11 <h1>dmxext.h File Reference</h1>
12 <p>
13 <a href="dmxext_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
14 <tr><td></td></tr>
15 <tr><td colspan=2><br><h2>Data Structures</h2></td></tr>
16 <tr><td class="memItemLeft" nowrap align=right valign=top>struct &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structDMXDesktopAttributes.html">DMXDesktopAttributes</a></td></tr>
18 <tr><td class="memItemLeft" nowrap align=right valign=top>struct &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structDMXInputAttributes.html">DMXInputAttributes</a></td></tr>
20 <tr><td class="memItemLeft" nowrap align=right valign=top>struct &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structDMXScreenAttributes.html">DMXScreenAttributes</a></td></tr>
22 <tr><td class="memItemLeft" nowrap align=right valign=top>struct &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structDMXWindowAttributes.html">DMXWindowAttributes</a></td></tr>
24 <tr><td colspan=2><br><h2>Enumerations</h2></td></tr>
25 <tr><td class="memItemLeft" nowrap align=right valign=top>enum &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxext_8h.html#a41">DMXInputEnum</a> </td></tr>
27 <tr><td colspan=2><br><h2>Functions</h2></td></tr>
28 <tr><td class="memItemLeft" nowrap align=right valign=top>_XFUNCPROTOBEGIN Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxext_8h.html#a23">DMXQueryExtension</a> (Display *dpy, int *event_basep, int *error_basep)</td></tr>
30 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxext_8h.html#a24">DMXQueryVersion</a> (Display *dpy, int *major_version, int *minor_version, int *patch_version)</td></tr>
32 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxext_8h.html#a25">DMXSync</a> (Display *dpy)</td></tr>
34 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxext_8h.html#a26">DMXForceWindowCreation</a> (Display *dpy, Window window)</td></tr>
36 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxext_8h.html#a27">DMXGetScreenCount</a> (Display *dpy, int *screen_count)</td></tr>
38 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxext_8h.html#a28">DMXGetScreenAttributes</a> (Display *dpy, int screen, <a class="el" href="structDMXScreenAttributes.html">DMXScreenAttributes</a> *attr)</td></tr>
40 <tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxext_8h.html#a29">DMXChangeScreensAttributes</a> (Display *dpy, int screen_count, int *screens, int mask_count, unsigned int *masks, <a class="el" href="structDMXScreenAttributes.html">DMXScreenAttributes</a> *attr, int *error_screen)</td></tr>
42 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxext_8h.html#a30">DMXAddScreen</a> (Display *dpy, const char *displayName, unsigned int mask, <a class="el" href="structDMXScreenAttributes.html">DMXScreenAttributes</a> *attr, int *screen)</td></tr>
44 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxext_8h.html#a31">DMXRemoveScreen</a> (Display *dpy, int screen)</td></tr>
46 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxext_8h.html#a32">DMXGetWindowAttributes</a> (Display *dpy, Window window, int *screen_count, int available_count, <a class="el" href="structDMXWindowAttributes.html">DMXWindowAttributes</a> *attr)</td></tr>
48 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxext_8h.html#a33">DMXGetDesktopAttributes</a> (Display *dpy, <a class="el" href="structDMXDesktopAttributes.html">DMXDesktopAttributes</a> *attr)</td></tr>
50 <tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxext_8h.html#a34">DMXChangeDesktopAttributes</a> (Display *dpy, unsigned int mask, <a class="el" href="structDMXDesktopAttributes.html">DMXDesktopAttributes</a> *attr)</td></tr>
52 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxext_8h.html#a35">DMXGetInputCount</a> (Display *dpy, int *input_count)</td></tr>
54 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxext_8h.html#a36">DMXGetInputAttributes</a> (Display *dpy, int id, <a class="el" href="structDMXInputAttributes.html">DMXInputAttributes</a> *attr)</td></tr>
56 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxext_8h.html#a37">DMXAddInput</a> (Display *dpy, unsigned int mask, <a class="el" href="structDMXInputAttributes.html">DMXInputAttributes</a> *attr, int *id)</td></tr>
58 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxext_8h.html#a38">DMXRemoveInput</a> (Display *dpy, int id)</td></tr>
60 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxext_8h.html#a39">DMXAddBackendInput</a> (Display *dpy, int screen, int sendsCore, int *newId)</td></tr>
62 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxext_8h.html#a40">DMXAddConsoleInput</a> (Display *dpy, const char *name, int sendsCore, int *newId)</td></tr>
64 </table>
65 <hr><a name="_details"></a><h2>Detailed Description</h2>
66 This file describes the interface to the client-side libdmx.a library. All DMX-aware client-side applications should include this file.<hr><h2>Enumeration Type Documentation</h2>
67 <a class="anchor" name="a41" doxytag="dmxext.h::DMXInputEnum" ></a><p>
68 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
69 <tr>
70 <td class="mdRow">
71 <table cellpadding="0" cellspacing="0" border="0">
72 <tr>
73 <td class="md" nowrap valign="top"> enum <a class="el" href="dmxext_8h.html#a41">DMXInputEnum</a>
74 </table>
75 </td>
76 </tr>
77 </table>
78 <table cellspacing=5 cellpadding=0 border=0>
79 <tr>
80 <td>
81 &nbsp;
82 </td>
83 <td>
85 <p>
86 Enumeration for the #inputType field in the <a class="el" href="structDMXInputAttributes.html">DMXInputAttributes</a> structure. </td>
87 </tr>
88 </table>
89 <hr><h2>Function Documentation</h2>
90 <a class="anchor" name="a39" doxytag="dmxext.h::DMXAddBackendInput" ></a><p>
91 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
92 <tr>
93 <td class="mdRow">
94 <table cellpadding="0" cellspacing="0" border="0">
95 <tr>
96 <td class="md" nowrap valign="top"> Bool DMXAddBackendInput </td>
97 <td class="md" valign="top">(&nbsp;</td>
98 <td class="md" nowrap valign="top">Display *&nbsp;</td>
99 <td class="mdname" nowrap> <em>dpy</em>, </td>
100 </tr>
101 <tr>
102 <td></td>
103 <td></td>
104 <td class="md" nowrap>int&nbsp;</td>
105 <td class="mdname" nowrap> <em>screen</em>, </td>
106 </tr>
107 <tr>
108 <td></td>
109 <td></td>
110 <td class="md" nowrap>int&nbsp;</td>
111 <td class="mdname" nowrap> <em>sendsCore</em>, </td>
112 </tr>
113 <tr>
114 <td></td>
115 <td></td>
116 <td class="md" nowrap>int *&nbsp;</td>
117 <td class="mdname" nowrap> <em>newId</em></td>
118 </tr>
119 <tr>
120 <td></td>
121 <td class="md">)&nbsp;</td>
122 <td class="md" colspan="2"></td>
123 </tr>
125 </table>
126 </td>
127 </tr>
128 </table>
129 <table cellspacing=5 cellpadding=0 border=0>
130 <tr>
131 <td>
132 &nbsp;
133 </td>
134 <td>
137 Add backend input (a helper function that calls <a class="el" href="lib_2dmx_2dmx_8c.html#a30">DMXAddInput</a>). </td>
138 </tr>
139 </table>
140 <a class="anchor" name="a40" doxytag="dmxext.h::DMXAddConsoleInput" ></a><p>
141 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
142 <tr>
143 <td class="mdRow">
144 <table cellpadding="0" cellspacing="0" border="0">
145 <tr>
146 <td class="md" nowrap valign="top"> Bool DMXAddConsoleInput </td>
147 <td class="md" valign="top">(&nbsp;</td>
148 <td class="md" nowrap valign="top">Display *&nbsp;</td>
149 <td class="mdname" nowrap> <em>dpy</em>, </td>
150 </tr>
151 <tr>
152 <td></td>
153 <td></td>
154 <td class="md" nowrap>const char *&nbsp;</td>
155 <td class="mdname" nowrap> <em>name</em>, </td>
156 </tr>
157 <tr>
158 <td></td>
159 <td></td>
160 <td class="md" nowrap>int&nbsp;</td>
161 <td class="mdname" nowrap> <em>sendsCore</em>, </td>
162 </tr>
163 <tr>
164 <td></td>
165 <td></td>
166 <td class="md" nowrap>int *&nbsp;</td>
167 <td class="mdname" nowrap> <em>newId</em></td>
168 </tr>
169 <tr>
170 <td></td>
171 <td class="md">)&nbsp;</td>
172 <td class="md" colspan="2"></td>
173 </tr>
175 </table>
176 </td>
177 </tr>
178 </table>
179 <table cellspacing=5 cellpadding=0 border=0>
180 <tr>
181 <td>
182 &nbsp;
183 </td>
184 <td>
187 Add console input (a helper function that calls <a class="el" href="lib_2dmx_2dmx_8c.html#a30">DMXAddInput</a>). </td>
188 </tr>
189 </table>
190 <a class="anchor" name="a37" doxytag="dmxext.h::DMXAddInput" ></a><p>
191 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
192 <tr>
193 <td class="mdRow">
194 <table cellpadding="0" cellspacing="0" border="0">
195 <tr>
196 <td class="md" nowrap valign="top"> Bool DMXAddInput </td>
197 <td class="md" valign="top">(&nbsp;</td>
198 <td class="md" nowrap valign="top">Display *&nbsp;</td>
199 <td class="mdname" nowrap> <em>dpy</em>, </td>
200 </tr>
201 <tr>
202 <td></td>
203 <td></td>
204 <td class="md" nowrap>unsigned int&nbsp;</td>
205 <td class="mdname" nowrap> <em>mask</em>, </td>
206 </tr>
207 <tr>
208 <td></td>
209 <td></td>
210 <td class="md" nowrap><a class="el" href="structDMXInputAttributes.html">DMXInputAttributes</a> *&nbsp;</td>
211 <td class="mdname" nowrap> <em>attr</em>, </td>
212 </tr>
213 <tr>
214 <td></td>
215 <td></td>
216 <td class="md" nowrap>int *&nbsp;</td>
217 <td class="mdname" nowrap> <em>id</em></td>
218 </tr>
219 <tr>
220 <td></td>
221 <td class="md">)&nbsp;</td>
222 <td class="md" colspan="2"></td>
223 </tr>
225 </table>
226 </td>
227 </tr>
228 </table>
229 <table cellspacing=5 cellpadding=0 border=0>
230 <tr>
231 <td>
232 &nbsp;
233 </td>
234 <td>
237 Add input. </td>
238 </tr>
239 </table>
240 <a class="anchor" name="a30" doxytag="dmxext.h::DMXAddScreen" ></a><p>
241 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
242 <tr>
243 <td class="mdRow">
244 <table cellpadding="0" cellspacing="0" border="0">
245 <tr>
246 <td class="md" nowrap valign="top"> Bool DMXAddScreen </td>
247 <td class="md" valign="top">(&nbsp;</td>
248 <td class="md" nowrap valign="top">Display *&nbsp;</td>
249 <td class="mdname" nowrap> <em>dpy</em>, </td>
250 </tr>
251 <tr>
252 <td></td>
253 <td></td>
254 <td class="md" nowrap>const char *&nbsp;</td>
255 <td class="mdname" nowrap> <em>displayName</em>, </td>
256 </tr>
257 <tr>
258 <td></td>
259 <td></td>
260 <td class="md" nowrap>unsigned int&nbsp;</td>
261 <td class="mdname" nowrap> <em>mask</em>, </td>
262 </tr>
263 <tr>
264 <td></td>
265 <td></td>
266 <td class="md" nowrap><a class="el" href="structDMXScreenAttributes.html">DMXScreenAttributes</a> *&nbsp;</td>
267 <td class="mdname" nowrap> <em>attr</em>, </td>
268 </tr>
269 <tr>
270 <td></td>
271 <td></td>
272 <td class="md" nowrap>int *&nbsp;</td>
273 <td class="mdname" nowrap> <em>screen</em></td>
274 </tr>
275 <tr>
276 <td></td>
277 <td class="md">)&nbsp;</td>
278 <td class="md" colspan="2"></td>
279 </tr>
281 </table>
282 </td>
283 </tr>
284 </table>
285 <table cellspacing=5 cellpadding=0 border=0>
286 <tr>
287 <td>
288 &nbsp;
289 </td>
290 <td>
293 Add a screen. </td>
294 </tr>
295 </table>
296 <a class="anchor" name="a34" doxytag="dmxext.h::DMXChangeDesktopAttributes" ></a><p>
297 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
298 <tr>
299 <td class="mdRow">
300 <table cellpadding="0" cellspacing="0" border="0">
301 <tr>
302 <td class="md" nowrap valign="top"> int DMXChangeDesktopAttributes </td>
303 <td class="md" valign="top">(&nbsp;</td>
304 <td class="md" nowrap valign="top">Display *&nbsp;</td>
305 <td class="mdname" nowrap> <em>dpy</em>, </td>
306 </tr>
307 <tr>
308 <td></td>
309 <td></td>
310 <td class="md" nowrap>unsigned int&nbsp;</td>
311 <td class="mdname" nowrap> <em>mask</em>, </td>
312 </tr>
313 <tr>
314 <td></td>
315 <td></td>
316 <td class="md" nowrap><a class="el" href="structDMXDesktopAttributes.html">DMXDesktopAttributes</a> *&nbsp;</td>
317 <td class="mdname" nowrap> <em>attr</em></td>
318 </tr>
319 <tr>
320 <td></td>
321 <td class="md">)&nbsp;</td>
322 <td class="md" colspan="2"></td>
323 </tr>
325 </table>
326 </td>
327 </tr>
328 </table>
329 <table cellspacing=5 cellpadding=0 border=0>
330 <tr>
331 <td>
332 &nbsp;
333 </td>
334 <td>
337 Change the global bounding box and origin offset.<p>
338 Available in DMX Protocol Version 2.0 </td>
339 </tr>
340 </table>
341 <a class="anchor" name="a29" doxytag="dmxext.h::DMXChangeScreensAttributes" ></a><p>
342 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
343 <tr>
344 <td class="mdRow">
345 <table cellpadding="0" cellspacing="0" border="0">
346 <tr>
347 <td class="md" nowrap valign="top"> int DMXChangeScreensAttributes </td>
348 <td class="md" valign="top">(&nbsp;</td>
349 <td class="md" nowrap valign="top">Display *&nbsp;</td>
350 <td class="mdname" nowrap> <em>dpy</em>, </td>
351 </tr>
352 <tr>
353 <td></td>
354 <td></td>
355 <td class="md" nowrap>int&nbsp;</td>
356 <td class="mdname" nowrap> <em>screen_count</em>, </td>
357 </tr>
358 <tr>
359 <td></td>
360 <td></td>
361 <td class="md" nowrap>int *&nbsp;</td>
362 <td class="mdname" nowrap> <em>screens</em>, </td>
363 </tr>
364 <tr>
365 <td></td>
366 <td></td>
367 <td class="md" nowrap>int&nbsp;</td>
368 <td class="mdname" nowrap> <em>mask_count</em>, </td>
369 </tr>
370 <tr>
371 <td></td>
372 <td></td>
373 <td class="md" nowrap>unsigned int *&nbsp;</td>
374 <td class="mdname" nowrap> <em>masks</em>, </td>
375 </tr>
376 <tr>
377 <td></td>
378 <td></td>
379 <td class="md" nowrap><a class="el" href="structDMXScreenAttributes.html">DMXScreenAttributes</a> *&nbsp;</td>
380 <td class="mdname" nowrap> <em>attrs</em>, </td>
381 </tr>
382 <tr>
383 <td></td>
384 <td></td>
385 <td class="md" nowrap>int *&nbsp;</td>
386 <td class="mdname" nowrap> <em>error_screen</em></td>
387 </tr>
388 <tr>
389 <td></td>
390 <td class="md">)&nbsp;</td>
391 <td class="md" colspan="2"></td>
392 </tr>
394 </table>
395 </td>
396 </tr>
397 </table>
398 <table cellspacing=5 cellpadding=0 border=0>
399 <tr>
400 <td>
401 &nbsp;
402 </td>
403 <td>
406 Change geometries and positions of the DMX screen and root windows on the back-end X server. </td>
407 </tr>
408 </table>
409 <a class="anchor" name="a26" doxytag="dmxext.h::DMXForceWindowCreation" ></a><p>
410 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
411 <tr>
412 <td class="mdRow">
413 <table cellpadding="0" cellspacing="0" border="0">
414 <tr>
415 <td class="md" nowrap valign="top"> Bool DMXForceWindowCreation </td>
416 <td class="md" valign="top">(&nbsp;</td>
417 <td class="md" nowrap valign="top">Display *&nbsp;</td>
418 <td class="mdname" nowrap> <em>dpy</em>, </td>
419 </tr>
420 <tr>
421 <td></td>
422 <td></td>
423 <td class="md" nowrap>Window&nbsp;</td>
424 <td class="mdname" nowrap> <em>window</em></td>
425 </tr>
426 <tr>
427 <td></td>
428 <td class="md">)&nbsp;</td>
429 <td class="md" colspan="2"></td>
430 </tr>
432 </table>
433 </td>
434 </tr>
435 </table>
436 <table cellspacing=5 cellpadding=0 border=0>
437 <tr>
438 <td>
439 &nbsp;
440 </td>
441 <td>
444 The creation of the specified <em>window</em> will be forced.<p>
445 Available in DMX Protocol Version 1.2 Reply added in DMX Protocol Version 2.0 </td>
446 </tr>
447 </table>
448 <a class="anchor" name="a33" doxytag="dmxext.h::DMXGetDesktopAttributes" ></a><p>
449 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
450 <tr>
451 <td class="mdRow">
452 <table cellpadding="0" cellspacing="0" border="0">
453 <tr>
454 <td class="md" nowrap valign="top"> Bool DMXGetDesktopAttributes </td>
455 <td class="md" valign="top">(&nbsp;</td>
456 <td class="md" nowrap valign="top">Display *&nbsp;</td>
457 <td class="mdname" nowrap> <em>dpy</em>, </td>
458 </tr>
459 <tr>
460 <td></td>
461 <td></td>
462 <td class="md" nowrap><a class="el" href="structDMXDesktopAttributes.html">DMXDesktopAttributes</a> *&nbsp;</td>
463 <td class="mdname" nowrap> <em>attr</em></td>
464 </tr>
465 <tr>
466 <td></td>
467 <td class="md">)&nbsp;</td>
468 <td class="md" colspan="2"></td>
469 </tr>
471 </table>
472 </td>
473 </tr>
474 </table>
475 <table cellspacing=5 cellpadding=0 border=0>
476 <tr>
477 <td>
478 &nbsp;
479 </td>
480 <td>
483 If the DMXGetDesktopAttributes protocol request returns information correctly, the information will be placed in <em>attr</em>, and True will be returned. Otherwise, False will be returned.<p>
484 Available in DMX Protocol Version 2.0 </td>
485 </tr>
486 </table>
487 <a class="anchor" name="a36" doxytag="dmxext.h::DMXGetInputAttributes" ></a><p>
488 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
489 <tr>
490 <td class="mdRow">
491 <table cellpadding="0" cellspacing="0" border="0">
492 <tr>
493 <td class="md" nowrap valign="top"> Bool DMXGetInputAttributes </td>
494 <td class="md" valign="top">(&nbsp;</td>
495 <td class="md" nowrap valign="top">Display *&nbsp;</td>
496 <td class="mdname" nowrap> <em>dpy</em>, </td>
497 </tr>
498 <tr>
499 <td></td>
500 <td></td>
501 <td class="md" nowrap>int&nbsp;</td>
502 <td class="mdname" nowrap> <em>id</em>, </td>
503 </tr>
504 <tr>
505 <td></td>
506 <td></td>
507 <td class="md" nowrap><a class="el" href="structDMXInputAttributes.html">DMXInputAttributes</a> *&nbsp;</td>
508 <td class="mdname" nowrap> <em>inf</em></td>
509 </tr>
510 <tr>
511 <td></td>
512 <td class="md">)&nbsp;</td>
513 <td class="md" colspan="2"></td>
514 </tr>
516 </table>
517 </td>
518 </tr>
519 </table>
520 <table cellspacing=5 cellpadding=0 border=0>
521 <tr>
522 <td>
523 &nbsp;
524 </td>
525 <td>
528 If the DMXGetInputAttributes protocol request returns information about the input device with the specified <em>id</em>, information about the input device will be placed in <em>inf</em>, and True will be returned. Otherwise, False will be returned.<p>
529 Available in DMX Protocol Version 1.1 </td>
530 </tr>
531 </table>
532 <a class="anchor" name="a35" doxytag="dmxext.h::DMXGetInputCount" ></a><p>
533 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
534 <tr>
535 <td class="mdRow">
536 <table cellpadding="0" cellspacing="0" border="0">
537 <tr>
538 <td class="md" nowrap valign="top"> Bool DMXGetInputCount </td>
539 <td class="md" valign="top">(&nbsp;</td>
540 <td class="md" nowrap valign="top">Display *&nbsp;</td>
541 <td class="mdname" nowrap> <em>dpy</em>, </td>
542 </tr>
543 <tr>
544 <td></td>
545 <td></td>
546 <td class="md" nowrap>int *&nbsp;</td>
547 <td class="mdname" nowrap> <em>input_count</em></td>
548 </tr>
549 <tr>
550 <td></td>
551 <td class="md">)&nbsp;</td>
552 <td class="md" colspan="2"></td>
553 </tr>
555 </table>
556 </td>
557 </tr>
558 </table>
559 <table cellspacing=5 cellpadding=0 border=0>
560 <tr>
561 <td>
562 &nbsp;
563 </td>
564 <td>
567 If the DMXGetInputCount protocol request returns the input count, the value will be placed in <em>input_count</em>, and True will be returned. Otherwise, False will be returned.<p>
568 Available in DMX Protocol Version 1.1 </td>
569 </tr>
570 </table>
571 <a class="anchor" name="a28" doxytag="dmxext.h::DMXGetScreenAttributes" ></a><p>
572 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
573 <tr>
574 <td class="mdRow">
575 <table cellpadding="0" cellspacing="0" border="0">
576 <tr>
577 <td class="md" nowrap valign="top"> Bool DMXGetScreenAttributes </td>
578 <td class="md" valign="top">(&nbsp;</td>
579 <td class="md" nowrap valign="top">Display *&nbsp;</td>
580 <td class="mdname" nowrap> <em>dpy</em>, </td>
581 </tr>
582 <tr>
583 <td></td>
584 <td></td>
585 <td class="md" nowrap>int&nbsp;</td>
586 <td class="mdname" nowrap> <em>physical_screen</em>, </td>
587 </tr>
588 <tr>
589 <td></td>
590 <td></td>
591 <td class="md" nowrap><a class="el" href="structDMXScreenAttributes.html">DMXScreenAttributes</a> *&nbsp;</td>
592 <td class="mdname" nowrap> <em>attr</em></td>
593 </tr>
594 <tr>
595 <td></td>
596 <td class="md">)&nbsp;</td>
597 <td class="md" colspan="2"></td>
598 </tr>
600 </table>
601 </td>
602 </tr>
603 </table>
604 <table cellspacing=5 cellpadding=0 border=0>
605 <tr>
606 <td>
607 &nbsp;
608 </td>
609 <td>
612 If the DMXGetScreenAttributes protocol request returns information for the specified <em>physical_screen</em>, information about the screen will be placed in <em>attr</em>, and True will be returned. Otherwise, False will be returned.<p>
613 Available in DMX Protocol Version 1.0; Modified in Version 2.0 </td>
614 </tr>
615 </table>
616 <a class="anchor" name="a27" doxytag="dmxext.h::DMXGetScreenCount" ></a><p>
617 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
618 <tr>
619 <td class="mdRow">
620 <table cellpadding="0" cellspacing="0" border="0">
621 <tr>
622 <td class="md" nowrap valign="top"> Bool DMXGetScreenCount </td>
623 <td class="md" valign="top">(&nbsp;</td>
624 <td class="md" nowrap valign="top">Display *&nbsp;</td>
625 <td class="mdname" nowrap> <em>dpy</em>, </td>
626 </tr>
627 <tr>
628 <td></td>
629 <td></td>
630 <td class="md" nowrap>int *&nbsp;</td>
631 <td class="mdname" nowrap> <em>screen_count</em></td>
632 </tr>
633 <tr>
634 <td></td>
635 <td class="md">)&nbsp;</td>
636 <td class="md" colspan="2"></td>
637 </tr>
639 </table>
640 </td>
641 </tr>
642 </table>
643 <table cellspacing=5 cellpadding=0 border=0>
644 <tr>
645 <td>
646 &nbsp;
647 </td>
648 <td>
651 If the DMXGetScreenCount protocol request returns the screen count, the value will be placed in <em>screen_count</em>, and True will be returned. Otherwise, False will be returned.<p>
652 Available in DMX Protocol Version 1.0 </td>
653 </tr>
654 </table>
655 <a class="anchor" name="a32" doxytag="dmxext.h::DMXGetWindowAttributes" ></a><p>
656 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
657 <tr>
658 <td class="mdRow">
659 <table cellpadding="0" cellspacing="0" border="0">
660 <tr>
661 <td class="md" nowrap valign="top"> Bool DMXGetWindowAttributes </td>
662 <td class="md" valign="top">(&nbsp;</td>
663 <td class="md" nowrap valign="top">Display *&nbsp;</td>
664 <td class="mdname" nowrap> <em>dpy</em>, </td>
665 </tr>
666 <tr>
667 <td></td>
668 <td></td>
669 <td class="md" nowrap>Window&nbsp;</td>
670 <td class="mdname" nowrap> <em>window</em>, </td>
671 </tr>
672 <tr>
673 <td></td>
674 <td></td>
675 <td class="md" nowrap>int *&nbsp;</td>
676 <td class="mdname" nowrap> <em>screen_count</em>, </td>
677 </tr>
678 <tr>
679 <td></td>
680 <td></td>
681 <td class="md" nowrap>int&nbsp;</td>
682 <td class="mdname" nowrap> <em>available_count</em>, </td>
683 </tr>
684 <tr>
685 <td></td>
686 <td></td>
687 <td class="md" nowrap><a class="el" href="structDMXWindowAttributes.html">DMXWindowAttributes</a> *&nbsp;</td>
688 <td class="mdname" nowrap> <em>inf</em></td>
689 </tr>
690 <tr>
691 <td></td>
692 <td class="md">)&nbsp;</td>
693 <td class="md" colspan="2"></td>
694 </tr>
696 </table>
697 </td>
698 </tr>
699 </table>
700 <table cellspacing=5 cellpadding=0 border=0>
701 <tr>
702 <td>
703 &nbsp;
704 </td>
705 <td>
708 If the DMXGetWindowAttributes protocol request returns information about the specified <em>window</em>, the number of screens for which information is available will be returned in <em>screen_count</em> and information about the first <em>available_count</em> of those screens will be placed in <em>inf</em>. Because this call transports a great deal of information over the wire, please call <a class="el" href="lib_2dmx_2dmx_8c.html#a14">DMXGetScreenCount</a> first, and make sure <em>inf</em> is that large.<p>
709 Note that if the specified <em>window</em> has not yet been mapped when <a class="el" href="lib_2dmx_2dmx_8c.html#a23">DMXGetWindowAttributes</a> is called, then a subsequent XMapWindow call might be buffered in xlib while requests directly to the back-end X servers are processed. This race condition can be solved by calling <a class="el" href="lib_2dmx_2dmx_8c.html#a12">DMXSync</a> before talking directly to the back-end X servers.<p>
710 Available in DMX Protocol Version 1.0, but not working correctly until DMX Protocol Version 1.4 </td>
711 </tr>
712 </table>
713 <a class="anchor" name="a23" doxytag="dmxext.h::DMXQueryExtension" ></a><p>
714 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
715 <tr>
716 <td class="mdRow">
717 <table cellpadding="0" cellspacing="0" border="0">
718 <tr>
719 <td class="md" nowrap valign="top"> _XFUNCPROTOBEGIN Bool DMXQueryExtension </td>
720 <td class="md" valign="top">(&nbsp;</td>
721 <td class="md" nowrap valign="top">Display *&nbsp;</td>
722 <td class="mdname" nowrap> <em>dpy</em>, </td>
723 </tr>
724 <tr>
725 <td></td>
726 <td></td>
727 <td class="md" nowrap>int *&nbsp;</td>
728 <td class="mdname" nowrap> <em>event_basep</em>, </td>
729 </tr>
730 <tr>
731 <td></td>
732 <td></td>
733 <td class="md" nowrap>int *&nbsp;</td>
734 <td class="mdname" nowrap> <em>error_basep</em></td>
735 </tr>
736 <tr>
737 <td></td>
738 <td class="md">)&nbsp;</td>
739 <td class="md" colspan="2"></td>
740 </tr>
742 </table>
743 </td>
744 </tr>
745 </table>
746 <table cellspacing=5 cellpadding=0 border=0>
747 <tr>
748 <td>
749 &nbsp;
750 </td>
751 <td>
754 If the server has the DMX extension, the event and error bases will be placed in <em>event_basep</em> and <em>error_basep</em>, and True will be returned. Otherwise, False will be returned.<p>
755 Available in DMX Protocol Version 1.0 </td>
756 </tr>
757 </table>
758 <a class="anchor" name="a24" doxytag="dmxext.h::DMXQueryVersion" ></a><p>
759 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
760 <tr>
761 <td class="mdRow">
762 <table cellpadding="0" cellspacing="0" border="0">
763 <tr>
764 <td class="md" nowrap valign="top"> Bool DMXQueryVersion </td>
765 <td class="md" valign="top">(&nbsp;</td>
766 <td class="md" nowrap valign="top">Display *&nbsp;</td>
767 <td class="mdname" nowrap> <em>dpy</em>, </td>
768 </tr>
769 <tr>
770 <td></td>
771 <td></td>
772 <td class="md" nowrap>int *&nbsp;</td>
773 <td class="mdname" nowrap> <em>majorVersion</em>, </td>
774 </tr>
775 <tr>
776 <td></td>
777 <td></td>
778 <td class="md" nowrap>int *&nbsp;</td>
779 <td class="mdname" nowrap> <em>minorVersion</em>, </td>
780 </tr>
781 <tr>
782 <td></td>
783 <td></td>
784 <td class="md" nowrap>int *&nbsp;</td>
785 <td class="mdname" nowrap> <em>patchVersion</em></td>
786 </tr>
787 <tr>
788 <td></td>
789 <td class="md">)&nbsp;</td>
790 <td class="md" colspan="2"></td>
791 </tr>
793 </table>
794 </td>
795 </tr>
796 </table>
797 <table cellspacing=5 cellpadding=0 border=0>
798 <tr>
799 <td>
800 &nbsp;
801 </td>
802 <td>
805 If the DMXQueryVersion protocol request returns version information from the server, <em>majorVersion</em>, <em>minorVersion</em>, and <em>patchVersion</em> are filled in with the appropriate information and True is returned. Otherwise, False will be returned.<p>
806 Available in DMX Protocol Version 1.0 </td>
807 </tr>
808 </table>
809 <a class="anchor" name="a38" doxytag="dmxext.h::DMXRemoveInput" ></a><p>
810 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
811 <tr>
812 <td class="mdRow">
813 <table cellpadding="0" cellspacing="0" border="0">
814 <tr>
815 <td class="md" nowrap valign="top"> Bool DMXRemoveInput </td>
816 <td class="md" valign="top">(&nbsp;</td>
817 <td class="md" nowrap valign="top">Display *&nbsp;</td>
818 <td class="mdname" nowrap> <em>dpy</em>, </td>
819 </tr>
820 <tr>
821 <td></td>
822 <td></td>
823 <td class="md" nowrap>int&nbsp;</td>
824 <td class="mdname" nowrap> <em>id</em></td>
825 </tr>
826 <tr>
827 <td></td>
828 <td class="md">)&nbsp;</td>
829 <td class="md" colspan="2"></td>
830 </tr>
832 </table>
833 </td>
834 </tr>
835 </table>
836 <table cellspacing=5 cellpadding=0 border=0>
837 <tr>
838 <td>
839 &nbsp;
840 </td>
841 <td>
844 Remove an input. </td>
845 </tr>
846 </table>
847 <a class="anchor" name="a31" doxytag="dmxext.h::DMXRemoveScreen" ></a><p>
848 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
849 <tr>
850 <td class="mdRow">
851 <table cellpadding="0" cellspacing="0" border="0">
852 <tr>
853 <td class="md" nowrap valign="top"> Bool DMXRemoveScreen </td>
854 <td class="md" valign="top">(&nbsp;</td>
855 <td class="md" nowrap valign="top">Display *&nbsp;</td>
856 <td class="mdname" nowrap> <em>dpy</em>, </td>
857 </tr>
858 <tr>
859 <td></td>
860 <td></td>
861 <td class="md" nowrap>int&nbsp;</td>
862 <td class="mdname" nowrap> <em>screen</em></td>
863 </tr>
864 <tr>
865 <td></td>
866 <td class="md">)&nbsp;</td>
867 <td class="md" colspan="2"></td>
868 </tr>
870 </table>
871 </td>
872 </tr>
873 </table>
874 <table cellspacing=5 cellpadding=0 border=0>
875 <tr>
876 <td>
877 &nbsp;
878 </td>
879 <td>
882 Remove a screen. </td>
883 </tr>
884 </table>
885 <a class="anchor" name="a25" doxytag="dmxext.h::DMXSync" ></a><p>
886 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
887 <tr>
888 <td class="mdRow">
889 <table cellpadding="0" cellspacing="0" border="0">
890 <tr>
891 <td class="md" nowrap valign="top"> Bool DMXSync </td>
892 <td class="md" valign="top">(&nbsp;</td>
893 <td class="md" nowrap valign="top">Display *&nbsp;</td>
894 <td class="mdname1" valign="top" nowrap> <em>dpy</em> </td>
895 <td class="md" valign="top">&nbsp;)&nbsp;</td>
896 <td class="md" nowrap></td>
897 </tr>
899 </table>
900 </td>
901 </tr>
902 </table>
903 <table cellspacing=5 cellpadding=0 border=0>
904 <tr>
905 <td>
906 &nbsp;
907 </td>
908 <td>
911 Flush all pending dmxSync requests in DMX server.<p>
912 Available in DMX Protocol Version 1.5 </td>
913 </tr>
914 </table>
915 <hr>
916 <address>
917 <small>
918 Generated June 29, 2004 for <a
919 href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
920 <a href="http://www.doxygen.org/index.html">doxygen</a>
921 1.3.4.
922 </small>
923 </addres>
924 </hr>
925 </body>
926 </html>