dpnet: Implement IDirectPlay8Server Initialize.
[wine.git] / include / wine / server_protocol.h
blob0d69ad31de549a5403abf41389c744379766700d
1 /*
2 * Wine server protocol definitions
4 * This file is automatically generated; DO NO EDIT!
5 * Edit server/protocol.def instead and re-run tools/make_requests
6 */
8 #ifndef __WINE_WINE_SERVER_PROTOCOL_H
9 #define __WINE_WINE_SERVER_PROTOCOL_H
11 #include <stdarg.h>
12 #include <stdlib.h>
13 #include <time.h>
15 #include <windef.h>
16 #include <winbase.h>
18 typedef unsigned int obj_handle_t;
19 typedef unsigned int user_handle_t;
20 typedef unsigned int atom_t;
21 typedef unsigned int process_id_t;
22 typedef unsigned int thread_id_t;
23 typedef unsigned int data_size_t;
24 typedef unsigned int ioctl_code_t;
25 typedef unsigned __int64 lparam_t;
26 typedef unsigned __int64 apc_param_t;
27 typedef unsigned __int64 mem_size_t;
28 typedef unsigned __int64 file_pos_t;
29 typedef unsigned __int64 client_ptr_t;
30 typedef unsigned __int64 affinity_t;
31 typedef client_ptr_t mod_handle_t;
33 struct request_header
35 int req;
36 data_size_t request_size;
37 data_size_t reply_size;
40 struct reply_header
42 unsigned int error;
43 data_size_t reply_size;
48 struct request_max_size
50 int pad[16];
53 #define FIRST_USER_HANDLE 0x0020
54 #define LAST_USER_HANDLE 0xffef
58 typedef union
60 int code;
61 struct
63 int code;
64 int first;
65 unsigned int exc_code;
66 unsigned int flags;
67 client_ptr_t record;
68 client_ptr_t address;
69 int nb_params;
70 int __pad;
71 client_ptr_t params[15];
72 } exception;
73 struct
75 int code;
76 obj_handle_t handle;
77 client_ptr_t teb;
78 client_ptr_t start;
79 } create_thread;
80 struct
82 int code;
83 obj_handle_t file;
84 obj_handle_t process;
85 obj_handle_t thread;
86 mod_handle_t base;
87 int dbg_offset;
88 int dbg_size;
89 client_ptr_t teb;
90 client_ptr_t start;
91 client_ptr_t name;
92 int unicode;
93 } create_process;
94 struct
96 int code;
97 int exit_code;
98 } exit;
99 struct
101 int code;
102 obj_handle_t handle;
103 mod_handle_t base;
104 int dbg_offset;
105 int dbg_size;
106 client_ptr_t name;
107 int unicode;
108 } load_dll;
109 struct
111 int code;
112 int __pad;
113 mod_handle_t base;
114 } unload_dll;
115 struct
117 int code;
118 data_size_t length;
119 client_ptr_t string;
120 } output_string;
121 struct
123 int code;
124 int error;
125 int type;
126 } rip_info;
127 } debug_event_t;
130 enum cpu_type
132 CPU_x86, CPU_x86_64, CPU_POWERPC, CPU_ARM, CPU_ARM64
134 typedef int cpu_type_t;
137 typedef struct
139 cpu_type_t cpu;
140 unsigned int flags;
141 union
143 struct { unsigned int eip, ebp, esp, eflags, cs, ss; } i386_regs;
144 struct { unsigned __int64 rip, rbp, rsp;
145 unsigned int cs, ss, flags, __pad; } x86_64_regs;
146 struct { unsigned int iar, msr, ctr, lr, dar, dsisr, trap, __pad; } powerpc_regs;
147 struct { unsigned int sp, lr, pc, cpsr; } arm_regs;
148 struct { unsigned __int64 sp, pc, pstate; } arm64_regs;
149 } ctl;
150 union
152 struct { unsigned int eax, ebx, ecx, edx, esi, edi; } i386_regs;
153 struct { unsigned __int64 rax,rbx, rcx, rdx, rsi, rdi,
154 r8, r9, r10, r11, r12, r13, r14, r15; } x86_64_regs;
155 struct { unsigned int gpr[32], cr, xer; } powerpc_regs;
156 struct { unsigned int r[13]; } arm_regs;
157 struct { unsigned __int64 x[31]; } arm64_regs;
158 } integer;
159 union
161 struct { unsigned int ds, es, fs, gs; } i386_regs;
162 struct { unsigned int ds, es, fs, gs; } x86_64_regs;
163 } seg;
164 union
166 struct { unsigned int ctrl, status, tag, err_off, err_sel, data_off, data_sel, cr0npx;
167 unsigned char regs[80]; } i386_regs;
168 struct { struct { unsigned __int64 low, high; } fpregs[32]; } x86_64_regs;
169 struct { double fpr[32], fpscr; } powerpc_regs;
170 } fp;
171 union
173 struct { unsigned int dr0, dr1, dr2, dr3, dr6, dr7; } i386_regs;
174 struct { unsigned __int64 dr0, dr1, dr2, dr3, dr6, dr7; } x86_64_regs;
175 struct { unsigned int dr[8]; } powerpc_regs;
176 } debug;
177 union
179 unsigned char i386_regs[512];
180 } ext;
181 } context_t;
183 #define SERVER_CTX_CONTROL 0x01
184 #define SERVER_CTX_INTEGER 0x02
185 #define SERVER_CTX_SEGMENTS 0x04
186 #define SERVER_CTX_FLOATING_POINT 0x08
187 #define SERVER_CTX_DEBUG_REGISTERS 0x10
188 #define SERVER_CTX_EXTENDED_REGISTERS 0x20
191 struct send_fd
193 thread_id_t tid;
194 int fd;
198 struct wake_up_reply
200 client_ptr_t cookie;
201 int signaled;
202 int __pad;
206 typedef __int64 timeout_t;
207 #define TIMEOUT_INFINITE (((timeout_t)0x7fffffff) << 32 | 0xffffffff)
210 typedef struct
212 unsigned int debug_flags;
213 unsigned int console_flags;
214 obj_handle_t console;
215 obj_handle_t hstdin;
216 obj_handle_t hstdout;
217 obj_handle_t hstderr;
218 unsigned int x;
219 unsigned int y;
220 unsigned int xsize;
221 unsigned int ysize;
222 unsigned int xchars;
223 unsigned int ychars;
224 unsigned int attribute;
225 unsigned int flags;
226 unsigned int show;
227 data_size_t curdir_len;
228 data_size_t dllpath_len;
229 data_size_t imagepath_len;
230 data_size_t cmdline_len;
231 data_size_t title_len;
232 data_size_t desktop_len;
233 data_size_t shellinfo_len;
234 data_size_t runtime_len;
243 } startup_info_t;
246 typedef struct
248 atom_t atom;
249 int string;
250 lparam_t data;
251 } property_data_t;
254 typedef struct
256 int left;
257 int top;
258 int right;
259 int bottom;
260 } rectangle_t;
263 typedef struct
265 obj_handle_t handle;
266 obj_handle_t event;
267 client_ptr_t callback;
268 client_ptr_t iosb;
269 client_ptr_t arg;
270 apc_param_t cvalue;
271 } async_data_t;
275 struct hardware_msg_data
277 lparam_t info;
278 int x;
279 int y;
280 unsigned int hw_id;
281 unsigned int flags;
282 union
284 int type;
285 struct
287 int type;
288 unsigned int message;
289 unsigned short vkey;
290 unsigned short scan;
291 } kbd;
292 struct
294 int type;
295 int x;
296 int y;
297 unsigned int data;
298 } mouse;
299 } rawinput;
302 struct callback_msg_data
304 client_ptr_t callback;
305 lparam_t data;
306 lparam_t result;
309 struct winevent_msg_data
311 user_handle_t hook;
312 thread_id_t tid;
313 client_ptr_t hook_proc;
317 typedef union
319 int type;
320 struct
322 int type;
323 unsigned short vkey;
324 unsigned short scan;
325 unsigned int flags;
326 unsigned int time;
327 lparam_t info;
328 } kbd;
329 struct
331 int type;
332 int x;
333 int y;
334 unsigned int data;
335 unsigned int flags;
336 unsigned int time;
337 lparam_t info;
338 } mouse;
339 struct
341 int type;
342 unsigned int msg;
343 lparam_t lparam;
344 } hw;
345 } hw_input_t;
347 typedef union
349 unsigned char bytes[1];
350 struct hardware_msg_data hardware;
351 struct callback_msg_data callback;
352 struct winevent_msg_data winevent;
353 } message_data_t;
356 typedef struct
358 WCHAR ch;
359 unsigned short attr;
360 } char_info_t;
363 struct filesystem_event
365 int action;
366 data_size_t len;
367 char name[1];
370 typedef struct
372 unsigned int low_part;
373 int high_part;
374 } luid_t;
376 #define MAX_ACL_LEN 65535
378 struct security_descriptor
380 unsigned int control;
381 data_size_t owner_len;
382 data_size_t group_len;
383 data_size_t sacl_len;
384 data_size_t dacl_len;
391 struct object_attributes
393 obj_handle_t rootdir;
394 data_size_t sd_len;
395 data_size_t name_len;
400 struct token_groups
402 unsigned int count;
407 enum select_op
409 SELECT_NONE,
410 SELECT_WAIT,
411 SELECT_WAIT_ALL,
412 SELECT_SIGNAL_AND_WAIT,
413 SELECT_KEYED_EVENT_WAIT,
414 SELECT_KEYED_EVENT_RELEASE
417 typedef union
419 enum select_op op;
420 struct
422 enum select_op op;
423 obj_handle_t handles[MAXIMUM_WAIT_OBJECTS];
424 } wait;
425 struct
427 enum select_op op;
428 obj_handle_t wait;
429 obj_handle_t signal;
430 } signal_and_wait;
431 struct
433 enum select_op op;
434 obj_handle_t handle;
435 client_ptr_t key;
436 } keyed_event;
437 } select_op_t;
439 enum apc_type
441 APC_NONE,
442 APC_USER,
443 APC_TIMER,
444 APC_ASYNC_IO,
445 APC_VIRTUAL_ALLOC,
446 APC_VIRTUAL_FREE,
447 APC_VIRTUAL_QUERY,
448 APC_VIRTUAL_PROTECT,
449 APC_VIRTUAL_FLUSH,
450 APC_VIRTUAL_LOCK,
451 APC_VIRTUAL_UNLOCK,
452 APC_MAP_VIEW,
453 APC_UNMAP_VIEW,
454 APC_CREATE_THREAD
457 typedef union
459 enum apc_type type;
460 struct
462 enum apc_type type;
463 int __pad;
464 client_ptr_t func;
465 apc_param_t args[3];
466 } user;
467 struct
469 enum apc_type type;
470 int __pad;
471 client_ptr_t func;
472 timeout_t time;
473 client_ptr_t arg;
474 } timer;
475 struct
477 enum apc_type type;
478 unsigned int status;
479 client_ptr_t func;
480 client_ptr_t user;
481 client_ptr_t sb;
482 } async_io;
483 struct
485 enum apc_type type;
486 unsigned int op_type;
487 client_ptr_t addr;
488 mem_size_t size;
489 unsigned int zero_bits;
490 unsigned int prot;
491 } virtual_alloc;
492 struct
494 enum apc_type type;
495 unsigned int op_type;
496 client_ptr_t addr;
497 mem_size_t size;
498 } virtual_free;
499 struct
501 enum apc_type type;
502 int __pad;
503 client_ptr_t addr;
504 } virtual_query;
505 struct
507 enum apc_type type;
508 unsigned int prot;
509 client_ptr_t addr;
510 mem_size_t size;
511 } virtual_protect;
512 struct
514 enum apc_type type;
515 int __pad;
516 client_ptr_t addr;
517 mem_size_t size;
518 } virtual_flush;
519 struct
521 enum apc_type type;
522 int __pad;
523 client_ptr_t addr;
524 mem_size_t size;
525 } virtual_lock;
526 struct
528 enum apc_type type;
529 int __pad;
530 client_ptr_t addr;
531 mem_size_t size;
532 } virtual_unlock;
533 struct
535 enum apc_type type;
536 obj_handle_t handle;
537 client_ptr_t addr;
538 mem_size_t size;
539 file_pos_t offset;
540 unsigned int alloc_type;
541 unsigned short zero_bits;
542 unsigned short prot;
543 } map_view;
544 struct
546 enum apc_type type;
547 int __pad;
548 client_ptr_t addr;
549 } unmap_view;
550 struct
552 enum apc_type type;
553 int suspend;
554 client_ptr_t func;
555 client_ptr_t arg;
556 mem_size_t reserve;
557 mem_size_t commit;
558 } create_thread;
559 } apc_call_t;
561 typedef union
563 enum apc_type type;
564 struct
566 enum apc_type type;
567 unsigned int status;
568 client_ptr_t apc;
569 unsigned int total;
570 } async_io;
571 struct
573 enum apc_type type;
574 unsigned int status;
575 client_ptr_t addr;
576 mem_size_t size;
577 } virtual_alloc;
578 struct
580 enum apc_type type;
581 unsigned int status;
582 client_ptr_t addr;
583 mem_size_t size;
584 } virtual_free;
585 struct
587 enum apc_type type;
588 unsigned int status;
589 client_ptr_t base;
590 client_ptr_t alloc_base;
591 mem_size_t size;
592 unsigned short state;
593 unsigned short prot;
594 unsigned short alloc_prot;
595 unsigned short alloc_type;
596 } virtual_query;
597 struct
599 enum apc_type type;
600 unsigned int status;
601 client_ptr_t addr;
602 mem_size_t size;
603 unsigned int prot;
604 } virtual_protect;
605 struct
607 enum apc_type type;
608 unsigned int status;
609 client_ptr_t addr;
610 mem_size_t size;
611 } virtual_flush;
612 struct
614 enum apc_type type;
615 unsigned int status;
616 client_ptr_t addr;
617 mem_size_t size;
618 } virtual_lock;
619 struct
621 enum apc_type type;
622 unsigned int status;
623 client_ptr_t addr;
624 mem_size_t size;
625 } virtual_unlock;
626 struct
628 enum apc_type type;
629 unsigned int status;
630 client_ptr_t addr;
631 mem_size_t size;
632 } map_view;
633 struct
635 enum apc_type type;
636 unsigned int status;
637 } unmap_view;
638 struct
640 enum apc_type type;
641 unsigned int status;
642 thread_id_t tid;
643 obj_handle_t handle;
644 } create_thread;
645 } apc_result_t;
647 struct rawinput_device
649 unsigned short usage_page;
650 unsigned short usage;
651 unsigned int flags;
652 user_handle_t target;
659 struct new_process_request
661 struct request_header __header;
662 int inherit_all;
663 unsigned int create_flags;
664 int socket_fd;
665 obj_handle_t exe_file;
666 unsigned int process_access;
667 unsigned int process_attr;
668 unsigned int thread_access;
669 unsigned int thread_attr;
670 cpu_type_t cpu;
671 data_size_t info_size;
672 /* VARARG(info,startup_info,info_size); */
673 /* VARARG(env,unicode_str); */
674 char __pad_52[4];
676 struct new_process_reply
678 struct reply_header __header;
679 obj_handle_t info;
680 process_id_t pid;
681 obj_handle_t phandle;
682 thread_id_t tid;
683 obj_handle_t thandle;
684 char __pad_28[4];
689 struct get_new_process_info_request
691 struct request_header __header;
692 obj_handle_t info;
694 struct get_new_process_info_reply
696 struct reply_header __header;
697 int success;
698 int exit_code;
703 struct new_thread_request
705 struct request_header __header;
706 unsigned int access;
707 unsigned int attributes;
708 int suspend;
709 int request_fd;
710 char __pad_28[4];
712 struct new_thread_reply
714 struct reply_header __header;
715 thread_id_t tid;
716 obj_handle_t handle;
721 struct get_startup_info_request
723 struct request_header __header;
724 char __pad_12[4];
726 struct get_startup_info_reply
728 struct reply_header __header;
729 obj_handle_t exe_file;
730 data_size_t info_size;
731 /* VARARG(info,startup_info,info_size); */
732 /* VARARG(env,unicode_str); */
737 struct init_process_done_request
739 struct request_header __header;
740 int gui;
741 mod_handle_t module;
742 client_ptr_t ldt_copy;
743 client_ptr_t entry;
745 struct init_process_done_reply
747 struct reply_header __header;
752 struct init_thread_request
754 struct request_header __header;
755 int unix_pid;
756 int unix_tid;
757 int debug_level;
758 client_ptr_t teb;
759 client_ptr_t entry;
760 int reply_fd;
761 int wait_fd;
762 cpu_type_t cpu;
763 char __pad_52[4];
765 struct init_thread_reply
767 struct reply_header __header;
768 process_id_t pid;
769 thread_id_t tid;
770 timeout_t server_start;
771 data_size_t info_size;
772 int version;
773 unsigned int all_cpus;
774 char __pad_36[4];
779 struct terminate_process_request
781 struct request_header __header;
782 obj_handle_t handle;
783 int exit_code;
784 char __pad_20[4];
786 struct terminate_process_reply
788 struct reply_header __header;
789 int self;
790 char __pad_12[4];
795 struct terminate_thread_request
797 struct request_header __header;
798 obj_handle_t handle;
799 int exit_code;
800 char __pad_20[4];
802 struct terminate_thread_reply
804 struct reply_header __header;
805 int self;
806 int last;
811 struct get_process_info_request
813 struct request_header __header;
814 obj_handle_t handle;
816 struct get_process_info_reply
818 struct reply_header __header;
819 process_id_t pid;
820 process_id_t ppid;
821 affinity_t affinity;
822 client_ptr_t peb;
823 timeout_t start_time;
824 timeout_t end_time;
825 int exit_code;
826 int priority;
827 cpu_type_t cpu;
828 int debugger_present;
833 struct set_process_info_request
835 struct request_header __header;
836 obj_handle_t handle;
837 int mask;
838 int priority;
839 affinity_t affinity;
841 struct set_process_info_reply
843 struct reply_header __header;
845 #define SET_PROCESS_INFO_PRIORITY 0x01
846 #define SET_PROCESS_INFO_AFFINITY 0x02
850 struct get_thread_info_request
852 struct request_header __header;
853 obj_handle_t handle;
854 thread_id_t tid_in;
855 char __pad_20[4];
857 struct get_thread_info_reply
859 struct reply_header __header;
860 process_id_t pid;
861 thread_id_t tid;
862 client_ptr_t teb;
863 affinity_t affinity;
864 timeout_t creation_time;
865 timeout_t exit_time;
866 int exit_code;
867 int priority;
868 int last;
869 char __pad_60[4];
874 struct set_thread_info_request
876 struct request_header __header;
877 obj_handle_t handle;
878 int mask;
879 int priority;
880 affinity_t affinity;
881 obj_handle_t token;
882 char __pad_36[4];
884 struct set_thread_info_reply
886 struct reply_header __header;
888 #define SET_THREAD_INFO_PRIORITY 0x01
889 #define SET_THREAD_INFO_AFFINITY 0x02
890 #define SET_THREAD_INFO_TOKEN 0x04
894 struct get_dll_info_request
896 struct request_header __header;
897 obj_handle_t handle;
898 mod_handle_t base_address;
900 struct get_dll_info_reply
902 struct reply_header __header;
903 client_ptr_t entry_point;
904 data_size_t size;
905 data_size_t filename_len;
906 /* VARARG(filename,unicode_str); */
911 struct suspend_thread_request
913 struct request_header __header;
914 obj_handle_t handle;
916 struct suspend_thread_reply
918 struct reply_header __header;
919 int count;
920 char __pad_12[4];
925 struct resume_thread_request
927 struct request_header __header;
928 obj_handle_t handle;
930 struct resume_thread_reply
932 struct reply_header __header;
933 int count;
934 char __pad_12[4];
939 struct load_dll_request
941 struct request_header __header;
942 obj_handle_t mapping;
943 mod_handle_t base;
944 client_ptr_t name;
945 data_size_t size;
946 int dbg_offset;
947 int dbg_size;
948 /* VARARG(filename,unicode_str); */
949 char __pad_44[4];
951 struct load_dll_reply
953 struct reply_header __header;
958 struct unload_dll_request
960 struct request_header __header;
961 char __pad_12[4];
962 mod_handle_t base;
964 struct unload_dll_reply
966 struct reply_header __header;
971 struct queue_apc_request
973 struct request_header __header;
974 obj_handle_t handle;
975 apc_call_t call;
977 struct queue_apc_reply
979 struct reply_header __header;
980 obj_handle_t handle;
981 int self;
986 struct get_apc_result_request
988 struct request_header __header;
989 obj_handle_t handle;
991 struct get_apc_result_reply
993 struct reply_header __header;
994 apc_result_t result;
999 struct close_handle_request
1001 struct request_header __header;
1002 obj_handle_t handle;
1004 struct close_handle_reply
1006 struct reply_header __header;
1011 struct set_handle_info_request
1013 struct request_header __header;
1014 obj_handle_t handle;
1015 int flags;
1016 int mask;
1018 struct set_handle_info_reply
1020 struct reply_header __header;
1021 int old_flags;
1022 char __pad_12[4];
1027 struct dup_handle_request
1029 struct request_header __header;
1030 obj_handle_t src_process;
1031 obj_handle_t src_handle;
1032 obj_handle_t dst_process;
1033 unsigned int access;
1034 unsigned int attributes;
1035 unsigned int options;
1036 char __pad_36[4];
1038 struct dup_handle_reply
1040 struct reply_header __header;
1041 obj_handle_t handle;
1042 int self;
1043 int closed;
1044 char __pad_20[4];
1046 #define DUP_HANDLE_CLOSE_SOURCE DUPLICATE_CLOSE_SOURCE
1047 #define DUP_HANDLE_SAME_ACCESS DUPLICATE_SAME_ACCESS
1048 #define DUP_HANDLE_MAKE_GLOBAL 0x80000000
1052 struct open_process_request
1054 struct request_header __header;
1055 process_id_t pid;
1056 unsigned int access;
1057 unsigned int attributes;
1059 struct open_process_reply
1061 struct reply_header __header;
1062 obj_handle_t handle;
1063 char __pad_12[4];
1068 struct open_thread_request
1070 struct request_header __header;
1071 thread_id_t tid;
1072 unsigned int access;
1073 unsigned int attributes;
1075 struct open_thread_reply
1077 struct reply_header __header;
1078 obj_handle_t handle;
1079 char __pad_12[4];
1084 struct select_request
1086 struct request_header __header;
1087 int flags;
1088 client_ptr_t cookie;
1089 timeout_t timeout;
1090 obj_handle_t prev_apc;
1091 /* VARARG(result,apc_result); */
1092 /* VARARG(data,select_op); */
1093 char __pad_36[4];
1095 struct select_reply
1097 struct reply_header __header;
1098 timeout_t timeout;
1099 apc_call_t call;
1100 obj_handle_t apc_handle;
1101 char __pad_60[4];
1103 #define SELECT_ALERTABLE 1
1104 #define SELECT_INTERRUPTIBLE 2
1108 struct create_event_request
1110 struct request_header __header;
1111 unsigned int access;
1112 unsigned int attributes;
1113 int manual_reset;
1114 int initial_state;
1115 /* VARARG(objattr,object_attributes); */
1116 char __pad_28[4];
1118 struct create_event_reply
1120 struct reply_header __header;
1121 obj_handle_t handle;
1122 char __pad_12[4];
1126 struct event_op_request
1128 struct request_header __header;
1129 obj_handle_t handle;
1130 int op;
1131 char __pad_20[4];
1133 struct event_op_reply
1135 struct reply_header __header;
1137 enum event_op { PULSE_EVENT, SET_EVENT, RESET_EVENT };
1139 struct query_event_request
1141 struct request_header __header;
1142 obj_handle_t handle;
1144 struct query_event_reply
1146 struct reply_header __header;
1147 int manual_reset;
1148 int state;
1152 struct open_event_request
1154 struct request_header __header;
1155 unsigned int access;
1156 unsigned int attributes;
1157 obj_handle_t rootdir;
1158 /* VARARG(name,unicode_str); */
1160 struct open_event_reply
1162 struct reply_header __header;
1163 obj_handle_t handle;
1164 char __pad_12[4];
1169 struct create_keyed_event_request
1171 struct request_header __header;
1172 unsigned int access;
1173 unsigned int attributes;
1174 /* VARARG(objattr,object_attributes); */
1175 char __pad_20[4];
1177 struct create_keyed_event_reply
1179 struct reply_header __header;
1180 obj_handle_t handle;
1181 char __pad_12[4];
1185 struct open_keyed_event_request
1187 struct request_header __header;
1188 unsigned int access;
1189 unsigned int attributes;
1190 obj_handle_t rootdir;
1191 /* VARARG(name,unicode_str); */
1193 struct open_keyed_event_reply
1195 struct reply_header __header;
1196 obj_handle_t handle;
1197 char __pad_12[4];
1202 struct create_mutex_request
1204 struct request_header __header;
1205 unsigned int access;
1206 unsigned int attributes;
1207 int owned;
1208 /* VARARG(objattr,object_attributes); */
1210 struct create_mutex_reply
1212 struct reply_header __header;
1213 obj_handle_t handle;
1214 char __pad_12[4];
1219 struct release_mutex_request
1221 struct request_header __header;
1222 obj_handle_t handle;
1224 struct release_mutex_reply
1226 struct reply_header __header;
1227 unsigned int prev_count;
1228 char __pad_12[4];
1233 struct open_mutex_request
1235 struct request_header __header;
1236 unsigned int access;
1237 unsigned int attributes;
1238 obj_handle_t rootdir;
1239 /* VARARG(name,unicode_str); */
1241 struct open_mutex_reply
1243 struct reply_header __header;
1244 obj_handle_t handle;
1245 char __pad_12[4];
1250 struct create_semaphore_request
1252 struct request_header __header;
1253 unsigned int access;
1254 unsigned int attributes;
1255 unsigned int initial;
1256 unsigned int max;
1257 /* VARARG(objattr,object_attributes); */
1258 char __pad_28[4];
1260 struct create_semaphore_reply
1262 struct reply_header __header;
1263 obj_handle_t handle;
1264 char __pad_12[4];
1269 struct release_semaphore_request
1271 struct request_header __header;
1272 obj_handle_t handle;
1273 unsigned int count;
1274 char __pad_20[4];
1276 struct release_semaphore_reply
1278 struct reply_header __header;
1279 unsigned int prev_count;
1280 char __pad_12[4];
1283 struct query_semaphore_request
1285 struct request_header __header;
1286 obj_handle_t handle;
1288 struct query_semaphore_reply
1290 struct reply_header __header;
1291 unsigned int current;
1292 unsigned int max;
1296 struct open_semaphore_request
1298 struct request_header __header;
1299 unsigned int access;
1300 unsigned int attributes;
1301 obj_handle_t rootdir;
1302 /* VARARG(name,unicode_str); */
1304 struct open_semaphore_reply
1306 struct reply_header __header;
1307 obj_handle_t handle;
1308 char __pad_12[4];
1313 struct create_file_request
1315 struct request_header __header;
1316 unsigned int access;
1317 unsigned int attributes;
1318 unsigned int sharing;
1319 int create;
1320 unsigned int options;
1321 unsigned int attrs;
1322 /* VARARG(objattr,object_attributes); */
1323 /* VARARG(filename,string); */
1324 char __pad_36[4];
1326 struct create_file_reply
1328 struct reply_header __header;
1329 obj_handle_t handle;
1330 char __pad_12[4];
1335 struct open_file_object_request
1337 struct request_header __header;
1338 unsigned int access;
1339 unsigned int attributes;
1340 obj_handle_t rootdir;
1341 unsigned int sharing;
1342 unsigned int options;
1343 /* VARARG(filename,unicode_str); */
1345 struct open_file_object_reply
1347 struct reply_header __header;
1348 obj_handle_t handle;
1349 char __pad_12[4];
1354 struct alloc_file_handle_request
1356 struct request_header __header;
1357 unsigned int access;
1358 unsigned int attributes;
1359 int fd;
1361 struct alloc_file_handle_reply
1363 struct reply_header __header;
1364 obj_handle_t handle;
1365 char __pad_12[4];
1370 struct get_handle_unix_name_request
1372 struct request_header __header;
1373 obj_handle_t handle;
1375 struct get_handle_unix_name_reply
1377 struct reply_header __header;
1378 data_size_t name_len;
1379 /* VARARG(name,string); */
1380 char __pad_12[4];
1385 struct get_handle_fd_request
1387 struct request_header __header;
1388 obj_handle_t handle;
1390 struct get_handle_fd_reply
1392 struct reply_header __header;
1393 int type;
1394 int cacheable;
1395 unsigned int access;
1396 unsigned int options;
1398 enum server_fd_type
1400 FD_TYPE_INVALID,
1401 FD_TYPE_FILE,
1402 FD_TYPE_DIR,
1403 FD_TYPE_SOCKET,
1404 FD_TYPE_SERIAL,
1405 FD_TYPE_PIPE,
1406 FD_TYPE_MAILSLOT,
1407 FD_TYPE_CHAR,
1408 FD_TYPE_DEVICE,
1409 FD_TYPE_NB_TYPES
1414 struct flush_file_request
1416 struct request_header __header;
1417 obj_handle_t handle;
1419 struct flush_file_reply
1421 struct reply_header __header;
1422 obj_handle_t event;
1423 char __pad_12[4];
1428 struct lock_file_request
1430 struct request_header __header;
1431 obj_handle_t handle;
1432 file_pos_t offset;
1433 file_pos_t count;
1434 int shared;
1435 int wait;
1437 struct lock_file_reply
1439 struct reply_header __header;
1440 obj_handle_t handle;
1441 int overlapped;
1446 struct unlock_file_request
1448 struct request_header __header;
1449 obj_handle_t handle;
1450 file_pos_t offset;
1451 file_pos_t count;
1453 struct unlock_file_reply
1455 struct reply_header __header;
1460 struct create_socket_request
1462 struct request_header __header;
1463 unsigned int access;
1464 unsigned int attributes;
1465 int family;
1466 int type;
1467 int protocol;
1468 unsigned int flags;
1469 char __pad_36[4];
1471 struct create_socket_reply
1473 struct reply_header __header;
1474 obj_handle_t handle;
1475 char __pad_12[4];
1480 struct accept_socket_request
1482 struct request_header __header;
1483 obj_handle_t lhandle;
1484 unsigned int access;
1485 unsigned int attributes;
1487 struct accept_socket_reply
1489 struct reply_header __header;
1490 obj_handle_t handle;
1491 char __pad_12[4];
1496 struct accept_into_socket_request
1498 struct request_header __header;
1499 obj_handle_t lhandle;
1500 obj_handle_t ahandle;
1501 char __pad_20[4];
1503 struct accept_into_socket_reply
1505 struct reply_header __header;
1510 struct set_socket_event_request
1512 struct request_header __header;
1513 obj_handle_t handle;
1514 unsigned int mask;
1515 obj_handle_t event;
1516 user_handle_t window;
1517 unsigned int msg;
1519 struct set_socket_event_reply
1521 struct reply_header __header;
1526 struct get_socket_event_request
1528 struct request_header __header;
1529 obj_handle_t handle;
1530 int service;
1531 obj_handle_t c_event;
1533 struct get_socket_event_reply
1535 struct reply_header __header;
1536 unsigned int mask;
1537 unsigned int pmask;
1538 unsigned int state;
1539 /* VARARG(errors,ints); */
1540 char __pad_20[4];
1545 struct get_socket_info_request
1547 struct request_header __header;
1548 obj_handle_t handle;
1550 struct get_socket_info_reply
1552 struct reply_header __header;
1553 int family;
1554 int type;
1555 int protocol;
1556 char __pad_20[4];
1561 struct enable_socket_event_request
1563 struct request_header __header;
1564 obj_handle_t handle;
1565 unsigned int mask;
1566 unsigned int sstate;
1567 unsigned int cstate;
1568 char __pad_28[4];
1570 struct enable_socket_event_reply
1572 struct reply_header __header;
1575 struct set_socket_deferred_request
1577 struct request_header __header;
1578 obj_handle_t handle;
1579 obj_handle_t deferred;
1580 char __pad_20[4];
1582 struct set_socket_deferred_reply
1584 struct reply_header __header;
1588 struct alloc_console_request
1590 struct request_header __header;
1591 unsigned int access;
1592 unsigned int attributes;
1593 process_id_t pid;
1594 int input_fd;
1595 char __pad_28[4];
1597 struct alloc_console_reply
1599 struct reply_header __header;
1600 obj_handle_t handle_in;
1601 obj_handle_t event;
1606 struct free_console_request
1608 struct request_header __header;
1609 char __pad_12[4];
1611 struct free_console_reply
1613 struct reply_header __header;
1617 #define CONSOLE_RENDERER_NONE_EVENT 0x00
1618 #define CONSOLE_RENDERER_TITLE_EVENT 0x01
1619 #define CONSOLE_RENDERER_ACTIVE_SB_EVENT 0x02
1620 #define CONSOLE_RENDERER_SB_RESIZE_EVENT 0x03
1621 #define CONSOLE_RENDERER_UPDATE_EVENT 0x04
1622 #define CONSOLE_RENDERER_CURSOR_POS_EVENT 0x05
1623 #define CONSOLE_RENDERER_CURSOR_GEOM_EVENT 0x06
1624 #define CONSOLE_RENDERER_DISPLAY_EVENT 0x07
1625 #define CONSOLE_RENDERER_EXIT_EVENT 0x08
1626 struct console_renderer_event
1628 short event;
1629 union
1631 struct update
1633 short top;
1634 short bottom;
1635 } update;
1636 struct resize
1638 short width;
1639 short height;
1640 } resize;
1641 struct cursor_pos
1643 short x;
1644 short y;
1645 } cursor_pos;
1646 struct cursor_geom
1648 short visible;
1649 short size;
1650 } cursor_geom;
1651 struct display
1653 short left;
1654 short top;
1655 short width;
1656 short height;
1657 } display;
1658 } u;
1662 struct get_console_renderer_events_request
1664 struct request_header __header;
1665 obj_handle_t handle;
1667 struct get_console_renderer_events_reply
1669 struct reply_header __header;
1670 /* VARARG(data,bytes); */
1675 struct open_console_request
1677 struct request_header __header;
1678 obj_handle_t from;
1680 unsigned int access;
1681 unsigned int attributes;
1682 int share;
1683 char __pad_28[4];
1685 struct open_console_reply
1687 struct reply_header __header;
1688 obj_handle_t handle;
1689 char __pad_12[4];
1694 struct get_console_wait_event_request
1696 struct request_header __header;
1697 char __pad_12[4];
1699 struct get_console_wait_event_reply
1701 struct reply_header __header;
1702 obj_handle_t handle;
1703 char __pad_12[4];
1707 struct get_console_mode_request
1709 struct request_header __header;
1710 obj_handle_t handle;
1712 struct get_console_mode_reply
1714 struct reply_header __header;
1715 int mode;
1716 char __pad_12[4];
1721 struct set_console_mode_request
1723 struct request_header __header;
1724 obj_handle_t handle;
1725 int mode;
1726 char __pad_20[4];
1728 struct set_console_mode_reply
1730 struct reply_header __header;
1735 struct set_console_input_info_request
1737 struct request_header __header;
1738 obj_handle_t handle;
1739 int mask;
1740 obj_handle_t active_sb;
1741 int history_mode;
1742 int history_size;
1743 int edition_mode;
1744 int input_cp;
1745 int output_cp;
1746 user_handle_t win;
1747 /* VARARG(title,unicode_str); */
1749 struct set_console_input_info_reply
1751 struct reply_header __header;
1753 #define SET_CONSOLE_INPUT_INFO_ACTIVE_SB 0x01
1754 #define SET_CONSOLE_INPUT_INFO_TITLE 0x02
1755 #define SET_CONSOLE_INPUT_INFO_HISTORY_MODE 0x04
1756 #define SET_CONSOLE_INPUT_INFO_HISTORY_SIZE 0x08
1757 #define SET_CONSOLE_INPUT_INFO_EDITION_MODE 0x10
1758 #define SET_CONSOLE_INPUT_INFO_INPUT_CODEPAGE 0x20
1759 #define SET_CONSOLE_INPUT_INFO_OUTPUT_CODEPAGE 0x40
1760 #define SET_CONSOLE_INPUT_INFO_WIN 0x80
1764 struct get_console_input_info_request
1766 struct request_header __header;
1767 obj_handle_t handle;
1769 struct get_console_input_info_reply
1771 struct reply_header __header;
1772 int history_mode;
1773 int history_size;
1774 int history_index;
1775 int edition_mode;
1776 int input_cp;
1777 int output_cp;
1778 user_handle_t win;
1779 /* VARARG(title,unicode_str); */
1780 char __pad_36[4];
1785 struct append_console_input_history_request
1787 struct request_header __header;
1788 obj_handle_t handle;
1789 /* VARARG(line,unicode_str); */
1791 struct append_console_input_history_reply
1793 struct reply_header __header;
1798 struct get_console_input_history_request
1800 struct request_header __header;
1801 obj_handle_t handle;
1802 int index;
1803 char __pad_20[4];
1805 struct get_console_input_history_reply
1807 struct reply_header __header;
1808 int total;
1809 /* VARARG(line,unicode_str); */
1810 char __pad_12[4];
1815 struct create_console_output_request
1817 struct request_header __header;
1818 obj_handle_t handle_in;
1819 unsigned int access;
1820 unsigned int attributes;
1821 unsigned int share;
1822 int fd;
1824 struct create_console_output_reply
1826 struct reply_header __header;
1827 obj_handle_t handle_out;
1828 char __pad_12[4];
1833 struct set_console_output_info_request
1835 struct request_header __header;
1836 obj_handle_t handle;
1837 int mask;
1838 short int cursor_size;
1839 short int cursor_visible;
1840 short int cursor_x;
1841 short int cursor_y;
1842 short int width;
1843 short int height;
1844 short int attr;
1845 short int win_left;
1846 short int win_top;
1847 short int win_right;
1848 short int win_bottom;
1849 short int max_width;
1850 short int max_height;
1851 char __pad_46[2];
1853 struct set_console_output_info_reply
1855 struct reply_header __header;
1857 #define SET_CONSOLE_OUTPUT_INFO_CURSOR_GEOM 0x01
1858 #define SET_CONSOLE_OUTPUT_INFO_CURSOR_POS 0x02
1859 #define SET_CONSOLE_OUTPUT_INFO_SIZE 0x04
1860 #define SET_CONSOLE_OUTPUT_INFO_ATTR 0x08
1861 #define SET_CONSOLE_OUTPUT_INFO_DISPLAY_WINDOW 0x10
1862 #define SET_CONSOLE_OUTPUT_INFO_MAX_SIZE 0x20
1866 struct get_console_output_info_request
1868 struct request_header __header;
1869 obj_handle_t handle;
1871 struct get_console_output_info_reply
1873 struct reply_header __header;
1874 short int cursor_size;
1875 short int cursor_visible;
1876 short int cursor_x;
1877 short int cursor_y;
1878 short int width;
1879 short int height;
1880 short int attr;
1881 short int win_left;
1882 short int win_top;
1883 short int win_right;
1884 short int win_bottom;
1885 short int max_width;
1886 short int max_height;
1887 char __pad_34[6];
1891 struct write_console_input_request
1893 struct request_header __header;
1894 obj_handle_t handle;
1895 /* VARARG(rec,input_records); */
1897 struct write_console_input_reply
1899 struct reply_header __header;
1900 int written;
1901 char __pad_12[4];
1906 struct read_console_input_request
1908 struct request_header __header;
1909 obj_handle_t handle;
1910 int flush;
1911 char __pad_20[4];
1913 struct read_console_input_reply
1915 struct reply_header __header;
1916 int read;
1917 /* VARARG(rec,input_records); */
1918 char __pad_12[4];
1923 struct write_console_output_request
1925 struct request_header __header;
1926 obj_handle_t handle;
1927 int x;
1928 int y;
1929 int mode;
1930 int wrap;
1931 /* VARARG(data,bytes); */
1933 struct write_console_output_reply
1935 struct reply_header __header;
1936 int written;
1937 int width;
1938 int height;
1939 char __pad_20[4];
1941 enum char_info_mode
1943 CHAR_INFO_MODE_TEXT,
1944 CHAR_INFO_MODE_ATTR,
1945 CHAR_INFO_MODE_TEXTATTR,
1946 CHAR_INFO_MODE_TEXTSTDATTR
1951 struct fill_console_output_request
1953 struct request_header __header;
1954 obj_handle_t handle;
1955 int x;
1956 int y;
1957 int mode;
1958 int count;
1959 int wrap;
1960 char_info_t data;
1962 struct fill_console_output_reply
1964 struct reply_header __header;
1965 int written;
1966 char __pad_12[4];
1971 struct read_console_output_request
1973 struct request_header __header;
1974 obj_handle_t handle;
1975 int x;
1976 int y;
1977 int mode;
1978 int wrap;
1980 struct read_console_output_reply
1982 struct reply_header __header;
1983 int width;
1984 int height;
1985 /* VARARG(data,bytes); */
1990 struct move_console_output_request
1992 struct request_header __header;
1993 obj_handle_t handle;
1994 short int x_src;
1995 short int y_src;
1996 short int x_dst;
1997 short int y_dst;
1998 short int w;
1999 short int h;
2000 char __pad_28[4];
2002 struct move_console_output_reply
2004 struct reply_header __header;
2009 struct send_console_signal_request
2011 struct request_header __header;
2012 int signal;
2013 process_id_t group_id;
2014 char __pad_20[4];
2016 struct send_console_signal_reply
2018 struct reply_header __header;
2023 struct read_directory_changes_request
2025 struct request_header __header;
2026 unsigned int filter;
2027 int subtree;
2028 int want_data;
2029 async_data_t async;
2031 struct read_directory_changes_reply
2033 struct reply_header __header;
2037 struct read_change_request
2039 struct request_header __header;
2040 obj_handle_t handle;
2042 struct read_change_reply
2044 struct reply_header __header;
2045 /* VARARG(events,filesystem_event); */
2050 struct create_mapping_request
2052 struct request_header __header;
2053 unsigned int access;
2054 unsigned int attributes;
2055 unsigned int protect;
2056 mem_size_t size;
2057 obj_handle_t file_handle;
2058 /* VARARG(objattr,object_attributes); */
2059 char __pad_36[4];
2061 struct create_mapping_reply
2063 struct reply_header __header;
2064 obj_handle_t handle;
2065 char __pad_12[4];
2068 #define VPROT_READ 0x01
2069 #define VPROT_WRITE 0x02
2070 #define VPROT_EXEC 0x04
2071 #define VPROT_WRITECOPY 0x08
2072 #define VPROT_GUARD 0x10
2073 #define VPROT_NOCACHE 0x20
2074 #define VPROT_COMMITTED 0x40
2075 #define VPROT_WRITEWATCH 0x80
2077 #define VPROT_IMAGE 0x0100
2078 #define VPROT_SYSTEM 0x0200
2079 #define VPROT_VALLOC 0x0400
2080 #define VPROT_NOEXEC 0x0800
2084 struct open_mapping_request
2086 struct request_header __header;
2087 unsigned int access;
2088 unsigned int attributes;
2089 obj_handle_t rootdir;
2090 /* VARARG(name,unicode_str); */
2092 struct open_mapping_reply
2094 struct reply_header __header;
2095 obj_handle_t handle;
2096 char __pad_12[4];
2101 struct get_mapping_info_request
2103 struct request_header __header;
2104 obj_handle_t handle;
2105 unsigned int access;
2106 char __pad_20[4];
2108 struct get_mapping_info_reply
2110 struct reply_header __header;
2111 mem_size_t size;
2112 int protect;
2113 int header_size;
2114 client_ptr_t base;
2115 obj_handle_t mapping;
2116 obj_handle_t shared_file;
2121 struct get_mapping_committed_range_request
2123 struct request_header __header;
2124 obj_handle_t handle;
2125 file_pos_t offset;
2127 struct get_mapping_committed_range_reply
2129 struct reply_header __header;
2130 mem_size_t size;
2131 int committed;
2132 char __pad_20[4];
2137 struct add_mapping_committed_range_request
2139 struct request_header __header;
2140 obj_handle_t handle;
2141 file_pos_t offset;
2142 mem_size_t size;
2144 struct add_mapping_committed_range_reply
2146 struct reply_header __header;
2150 #define SNAP_PROCESS 0x00000001
2151 #define SNAP_THREAD 0x00000002
2153 struct create_snapshot_request
2155 struct request_header __header;
2156 unsigned int attributes;
2157 unsigned int flags;
2158 char __pad_20[4];
2160 struct create_snapshot_reply
2162 struct reply_header __header;
2163 obj_handle_t handle;
2164 char __pad_12[4];
2169 struct next_process_request
2171 struct request_header __header;
2172 obj_handle_t handle;
2173 int reset;
2174 char __pad_20[4];
2176 struct next_process_reply
2178 struct reply_header __header;
2179 int count;
2180 process_id_t pid;
2181 process_id_t ppid;
2182 int threads;
2183 int priority;
2184 int handles;
2185 int unix_pid;
2186 /* VARARG(filename,unicode_str); */
2187 char __pad_36[4];
2192 struct next_thread_request
2194 struct request_header __header;
2195 obj_handle_t handle;
2196 int reset;
2197 char __pad_20[4];
2199 struct next_thread_reply
2201 struct reply_header __header;
2202 int count;
2203 process_id_t pid;
2204 thread_id_t tid;
2205 int base_pri;
2206 int delta_pri;
2207 char __pad_28[4];
2212 struct wait_debug_event_request
2214 struct request_header __header;
2215 int get_handle;
2217 struct wait_debug_event_reply
2219 struct reply_header __header;
2220 process_id_t pid;
2221 thread_id_t tid;
2222 obj_handle_t wait;
2223 /* VARARG(event,debug_event); */
2224 char __pad_20[4];
2229 struct queue_exception_event_request
2231 struct request_header __header;
2232 int first;
2233 unsigned int code;
2234 unsigned int flags;
2235 client_ptr_t record;
2236 client_ptr_t address;
2237 data_size_t len;
2238 /* VARARG(params,uints64,len); */
2239 /* VARARG(context,context); */
2240 char __pad_44[4];
2242 struct queue_exception_event_reply
2244 struct reply_header __header;
2245 obj_handle_t handle;
2246 char __pad_12[4];
2251 struct get_exception_status_request
2253 struct request_header __header;
2254 obj_handle_t handle;
2256 struct get_exception_status_reply
2258 struct reply_header __header;
2259 /* VARARG(context,context); */
2264 struct output_debug_string_request
2266 struct request_header __header;
2267 data_size_t length;
2268 client_ptr_t string;
2270 struct output_debug_string_reply
2272 struct reply_header __header;
2277 struct continue_debug_event_request
2279 struct request_header __header;
2280 process_id_t pid;
2281 thread_id_t tid;
2282 int status;
2284 struct continue_debug_event_reply
2286 struct reply_header __header;
2291 struct debug_process_request
2293 struct request_header __header;
2294 process_id_t pid;
2295 int attach;
2296 char __pad_20[4];
2298 struct debug_process_reply
2300 struct reply_header __header;
2305 struct debug_break_request
2307 struct request_header __header;
2308 obj_handle_t handle;
2310 struct debug_break_reply
2312 struct reply_header __header;
2313 int self;
2314 char __pad_12[4];
2319 struct set_debugger_kill_on_exit_request
2321 struct request_header __header;
2322 int kill_on_exit;
2324 struct set_debugger_kill_on_exit_reply
2326 struct reply_header __header;
2331 struct read_process_memory_request
2333 struct request_header __header;
2334 obj_handle_t handle;
2335 client_ptr_t addr;
2337 struct read_process_memory_reply
2339 struct reply_header __header;
2340 /* VARARG(data,bytes); */
2345 struct write_process_memory_request
2347 struct request_header __header;
2348 obj_handle_t handle;
2349 client_ptr_t addr;
2350 /* VARARG(data,bytes); */
2352 struct write_process_memory_reply
2354 struct reply_header __header;
2359 struct create_key_request
2361 struct request_header __header;
2362 obj_handle_t parent;
2363 unsigned int access;
2364 unsigned int attributes;
2365 unsigned int options;
2366 data_size_t namelen;
2367 /* VARARG(name,unicode_str,namelen); */
2368 /* VARARG(class,unicode_str); */
2370 struct create_key_reply
2372 struct reply_header __header;
2373 obj_handle_t hkey;
2374 int created;
2378 struct open_key_request
2380 struct request_header __header;
2381 obj_handle_t parent;
2382 unsigned int access;
2383 unsigned int attributes;
2384 /* VARARG(name,unicode_str); */
2386 struct open_key_reply
2388 struct reply_header __header;
2389 obj_handle_t hkey;
2390 char __pad_12[4];
2395 struct delete_key_request
2397 struct request_header __header;
2398 obj_handle_t hkey;
2400 struct delete_key_reply
2402 struct reply_header __header;
2407 struct flush_key_request
2409 struct request_header __header;
2410 obj_handle_t hkey;
2412 struct flush_key_reply
2414 struct reply_header __header;
2419 struct enum_key_request
2421 struct request_header __header;
2422 obj_handle_t hkey;
2423 int index;
2424 int info_class;
2426 struct enum_key_reply
2428 struct reply_header __header;
2429 int subkeys;
2430 int max_subkey;
2431 int max_class;
2432 int values;
2433 int max_value;
2434 int max_data;
2435 timeout_t modif;
2436 data_size_t total;
2437 data_size_t namelen;
2438 /* VARARG(name,unicode_str,namelen); */
2439 /* VARARG(class,unicode_str); */
2444 struct set_key_value_request
2446 struct request_header __header;
2447 obj_handle_t hkey;
2448 int type;
2449 data_size_t namelen;
2450 /* VARARG(name,unicode_str,namelen); */
2451 /* VARARG(data,bytes); */
2453 struct set_key_value_reply
2455 struct reply_header __header;
2460 struct get_key_value_request
2462 struct request_header __header;
2463 obj_handle_t hkey;
2464 /* VARARG(name,unicode_str); */
2466 struct get_key_value_reply
2468 struct reply_header __header;
2469 int type;
2470 data_size_t total;
2471 /* VARARG(data,bytes); */
2476 struct enum_key_value_request
2478 struct request_header __header;
2479 obj_handle_t hkey;
2480 int index;
2481 int info_class;
2483 struct enum_key_value_reply
2485 struct reply_header __header;
2486 int type;
2487 data_size_t total;
2488 data_size_t namelen;
2489 /* VARARG(name,unicode_str,namelen); */
2490 /* VARARG(data,bytes); */
2491 char __pad_20[4];
2496 struct delete_key_value_request
2498 struct request_header __header;
2499 obj_handle_t hkey;
2500 /* VARARG(name,unicode_str); */
2502 struct delete_key_value_reply
2504 struct reply_header __header;
2509 struct load_registry_request
2511 struct request_header __header;
2512 obj_handle_t hkey;
2513 obj_handle_t file;
2514 /* VARARG(name,unicode_str); */
2515 char __pad_20[4];
2517 struct load_registry_reply
2519 struct reply_header __header;
2524 struct unload_registry_request
2526 struct request_header __header;
2527 obj_handle_t hkey;
2529 struct unload_registry_reply
2531 struct reply_header __header;
2536 struct save_registry_request
2538 struct request_header __header;
2539 obj_handle_t hkey;
2540 obj_handle_t file;
2541 char __pad_20[4];
2543 struct save_registry_reply
2545 struct reply_header __header;
2550 struct set_registry_notification_request
2552 struct request_header __header;
2553 obj_handle_t hkey;
2554 obj_handle_t event;
2555 int subtree;
2556 unsigned int filter;
2557 char __pad_28[4];
2559 struct set_registry_notification_reply
2561 struct reply_header __header;
2566 struct create_timer_request
2568 struct request_header __header;
2569 unsigned int access;
2570 unsigned int attributes;
2571 obj_handle_t rootdir;
2572 int manual;
2573 /* VARARG(name,unicode_str); */
2574 char __pad_28[4];
2576 struct create_timer_reply
2578 struct reply_header __header;
2579 obj_handle_t handle;
2580 char __pad_12[4];
2585 struct open_timer_request
2587 struct request_header __header;
2588 unsigned int access;
2589 unsigned int attributes;
2590 obj_handle_t rootdir;
2591 /* VARARG(name,unicode_str); */
2593 struct open_timer_reply
2595 struct reply_header __header;
2596 obj_handle_t handle;
2597 char __pad_12[4];
2601 struct set_timer_request
2603 struct request_header __header;
2604 obj_handle_t handle;
2605 timeout_t expire;
2606 client_ptr_t callback;
2607 client_ptr_t arg;
2608 int period;
2609 char __pad_44[4];
2611 struct set_timer_reply
2613 struct reply_header __header;
2614 int signaled;
2615 char __pad_12[4];
2619 struct cancel_timer_request
2621 struct request_header __header;
2622 obj_handle_t handle;
2624 struct cancel_timer_reply
2626 struct reply_header __header;
2627 int signaled;
2628 char __pad_12[4];
2632 struct get_timer_info_request
2634 struct request_header __header;
2635 obj_handle_t handle;
2637 struct get_timer_info_reply
2639 struct reply_header __header;
2640 timeout_t when;
2641 int signaled;
2642 char __pad_20[4];
2647 struct get_thread_context_request
2649 struct request_header __header;
2650 obj_handle_t handle;
2651 unsigned int flags;
2652 int suspend;
2654 struct get_thread_context_reply
2656 struct reply_header __header;
2657 int self;
2658 /* VARARG(context,context); */
2659 char __pad_12[4];
2664 struct set_thread_context_request
2666 struct request_header __header;
2667 obj_handle_t handle;
2668 int suspend;
2669 /* VARARG(context,context); */
2670 char __pad_20[4];
2672 struct set_thread_context_reply
2674 struct reply_header __header;
2675 int self;
2676 char __pad_12[4];
2681 struct get_selector_entry_request
2683 struct request_header __header;
2684 obj_handle_t handle;
2685 int entry;
2686 char __pad_20[4];
2688 struct get_selector_entry_reply
2690 struct reply_header __header;
2691 unsigned int base;
2692 unsigned int limit;
2693 unsigned char flags;
2694 char __pad_17[7];
2699 struct add_atom_request
2701 struct request_header __header;
2702 obj_handle_t table;
2703 /* VARARG(name,unicode_str); */
2705 struct add_atom_reply
2707 struct reply_header __header;
2708 atom_t atom;
2709 char __pad_12[4];
2714 struct delete_atom_request
2716 struct request_header __header;
2717 obj_handle_t table;
2718 atom_t atom;
2719 char __pad_20[4];
2721 struct delete_atom_reply
2723 struct reply_header __header;
2728 struct find_atom_request
2730 struct request_header __header;
2731 obj_handle_t table;
2732 /* VARARG(name,unicode_str); */
2734 struct find_atom_reply
2736 struct reply_header __header;
2737 atom_t atom;
2738 char __pad_12[4];
2743 struct get_atom_information_request
2745 struct request_header __header;
2746 obj_handle_t table;
2747 atom_t atom;
2748 char __pad_20[4];
2750 struct get_atom_information_reply
2752 struct reply_header __header;
2753 int count;
2754 int pinned;
2755 data_size_t total;
2756 /* VARARG(name,unicode_str); */
2757 char __pad_20[4];
2762 struct set_atom_information_request
2764 struct request_header __header;
2765 obj_handle_t table;
2766 atom_t atom;
2767 int pinned;
2769 struct set_atom_information_reply
2771 struct reply_header __header;
2776 struct empty_atom_table_request
2778 struct request_header __header;
2779 obj_handle_t table;
2780 int if_pinned;
2781 char __pad_20[4];
2783 struct empty_atom_table_reply
2785 struct reply_header __header;
2790 struct init_atom_table_request
2792 struct request_header __header;
2793 int entries;
2795 struct init_atom_table_reply
2797 struct reply_header __header;
2798 obj_handle_t table;
2799 char __pad_12[4];
2804 struct get_msg_queue_request
2806 struct request_header __header;
2807 char __pad_12[4];
2809 struct get_msg_queue_reply
2811 struct reply_header __header;
2812 obj_handle_t handle;
2813 char __pad_12[4];
2818 struct set_queue_fd_request
2820 struct request_header __header;
2821 obj_handle_t handle;
2823 struct set_queue_fd_reply
2825 struct reply_header __header;
2830 struct set_queue_mask_request
2832 struct request_header __header;
2833 unsigned int wake_mask;
2834 unsigned int changed_mask;
2835 int skip_wait;
2837 struct set_queue_mask_reply
2839 struct reply_header __header;
2840 unsigned int wake_bits;
2841 unsigned int changed_bits;
2846 struct get_queue_status_request
2848 struct request_header __header;
2849 int clear;
2851 struct get_queue_status_reply
2853 struct reply_header __header;
2854 unsigned int wake_bits;
2855 unsigned int changed_bits;
2860 struct get_process_idle_event_request
2862 struct request_header __header;
2863 obj_handle_t handle;
2865 struct get_process_idle_event_reply
2867 struct reply_header __header;
2868 obj_handle_t event;
2869 char __pad_12[4];
2874 struct send_message_request
2876 struct request_header __header;
2877 thread_id_t id;
2878 int type;
2879 int flags;
2880 user_handle_t win;
2881 unsigned int msg;
2882 lparam_t wparam;
2883 lparam_t lparam;
2884 timeout_t timeout;
2885 /* VARARG(data,message_data); */
2887 struct send_message_reply
2889 struct reply_header __header;
2892 struct post_quit_message_request
2894 struct request_header __header;
2895 int exit_code;
2897 struct post_quit_message_reply
2899 struct reply_header __header;
2902 enum message_type
2904 MSG_ASCII,
2905 MSG_UNICODE,
2906 MSG_NOTIFY,
2907 MSG_CALLBACK,
2908 MSG_CALLBACK_RESULT,
2909 MSG_OTHER_PROCESS,
2910 MSG_POSTED,
2911 MSG_HARDWARE,
2912 MSG_WINEVENT,
2913 MSG_HOOK_LL
2915 #define SEND_MSG_ABORT_IF_HUNG 0x01
2919 struct send_hardware_message_request
2921 struct request_header __header;
2922 user_handle_t win;
2923 hw_input_t input;
2924 unsigned int flags;
2925 char __pad_52[4];
2927 struct send_hardware_message_reply
2929 struct reply_header __header;
2930 int wait;
2931 int prev_x;
2932 int prev_y;
2933 int new_x;
2934 int new_y;
2935 /* VARARG(keystate,bytes); */
2936 char __pad_28[4];
2938 #define SEND_HWMSG_INJECTED 0x01
2942 struct get_message_request
2944 struct request_header __header;
2945 unsigned int flags;
2946 user_handle_t get_win;
2947 unsigned int get_first;
2948 unsigned int get_last;
2949 unsigned int hw_id;
2950 unsigned int wake_mask;
2951 unsigned int changed_mask;
2953 struct get_message_reply
2955 struct reply_header __header;
2956 user_handle_t win;
2957 unsigned int msg;
2958 lparam_t wparam;
2959 lparam_t lparam;
2960 int type;
2961 unsigned int time;
2962 unsigned int active_hooks;
2963 data_size_t total;
2964 /* VARARG(data,message_data); */
2969 struct reply_message_request
2971 struct request_header __header;
2972 int remove;
2973 lparam_t result;
2974 /* VARARG(data,bytes); */
2976 struct reply_message_reply
2978 struct reply_header __header;
2983 struct accept_hardware_message_request
2985 struct request_header __header;
2986 unsigned int hw_id;
2987 int remove;
2988 user_handle_t new_win;
2990 struct accept_hardware_message_reply
2992 struct reply_header __header;
2997 struct get_message_reply_request
2999 struct request_header __header;
3000 int cancel;
3002 struct get_message_reply_reply
3004 struct reply_header __header;
3005 lparam_t result;
3006 /* VARARG(data,bytes); */
3011 struct set_win_timer_request
3013 struct request_header __header;
3014 user_handle_t win;
3015 unsigned int msg;
3016 unsigned int rate;
3017 lparam_t id;
3018 lparam_t lparam;
3020 struct set_win_timer_reply
3022 struct reply_header __header;
3023 lparam_t id;
3028 struct kill_win_timer_request
3030 struct request_header __header;
3031 user_handle_t win;
3032 lparam_t id;
3033 unsigned int msg;
3034 char __pad_28[4];
3036 struct kill_win_timer_reply
3038 struct reply_header __header;
3043 struct is_window_hung_request
3045 struct request_header __header;
3046 user_handle_t win;
3048 struct is_window_hung_reply
3050 struct reply_header __header;
3051 int is_hung;
3052 char __pad_12[4];
3057 struct get_serial_info_request
3059 struct request_header __header;
3060 obj_handle_t handle;
3061 int flags;
3062 char __pad_20[4];
3064 struct get_serial_info_reply
3066 struct reply_header __header;
3067 unsigned int readinterval;
3068 unsigned int readconst;
3069 unsigned int readmult;
3070 unsigned int writeconst;
3071 unsigned int writemult;
3072 unsigned int eventmask;
3073 unsigned int cookie;
3074 unsigned int pending_write;
3079 struct set_serial_info_request
3081 struct request_header __header;
3082 obj_handle_t handle;
3083 int flags;
3084 unsigned int readinterval;
3085 unsigned int readconst;
3086 unsigned int readmult;
3087 unsigned int writeconst;
3088 unsigned int writemult;
3089 unsigned int eventmask;
3090 char __pad_44[4];
3092 struct set_serial_info_reply
3094 struct reply_header __header;
3096 #define SERIALINFO_SET_TIMEOUTS 0x01
3097 #define SERIALINFO_SET_MASK 0x02
3098 #define SERIALINFO_PENDING_WRITE 0x04
3099 #define SERIALINFO_PENDING_WAIT 0x08
3103 struct register_async_request
3105 struct request_header __header;
3106 int type;
3107 async_data_t async;
3108 int count;
3109 char __pad_60[4];
3111 struct register_async_reply
3113 struct reply_header __header;
3115 #define ASYNC_TYPE_READ 0x01
3116 #define ASYNC_TYPE_WRITE 0x02
3117 #define ASYNC_TYPE_WAIT 0x03
3121 struct cancel_async_request
3123 struct request_header __header;
3124 obj_handle_t handle;
3125 client_ptr_t iosb;
3126 int only_thread;
3127 char __pad_28[4];
3129 struct cancel_async_reply
3131 struct reply_header __header;
3136 struct ioctl_request
3138 struct request_header __header;
3139 ioctl_code_t code;
3140 async_data_t async;
3141 int blocking;
3142 /* VARARG(in_data,bytes); */
3143 char __pad_60[4];
3145 struct ioctl_reply
3147 struct reply_header __header;
3148 obj_handle_t wait;
3149 unsigned int options;
3150 /* VARARG(out_data,bytes); */
3155 struct get_ioctl_result_request
3157 struct request_header __header;
3158 obj_handle_t handle;
3159 client_ptr_t user_arg;
3161 struct get_ioctl_result_reply
3163 struct reply_header __header;
3164 /* VARARG(out_data,bytes); */
3169 struct create_named_pipe_request
3171 struct request_header __header;
3172 unsigned int access;
3173 unsigned int attributes;
3174 obj_handle_t rootdir;
3175 unsigned int options;
3176 unsigned int sharing;
3177 unsigned int maxinstances;
3178 unsigned int outsize;
3179 unsigned int insize;
3180 char __pad_44[4];
3181 timeout_t timeout;
3182 unsigned int flags;
3183 /* VARARG(name,unicode_str); */
3184 char __pad_60[4];
3186 struct create_named_pipe_reply
3188 struct reply_header __header;
3189 obj_handle_t handle;
3190 char __pad_12[4];
3194 #define NAMED_PIPE_MESSAGE_STREAM_WRITE 0x0001
3195 #define NAMED_PIPE_MESSAGE_STREAM_READ 0x0002
3196 #define NAMED_PIPE_NONBLOCKING_MODE 0x0004
3197 #define NAMED_PIPE_SERVER_END 0x8000
3200 struct get_named_pipe_info_request
3202 struct request_header __header;
3203 obj_handle_t handle;
3205 struct get_named_pipe_info_reply
3207 struct reply_header __header;
3208 unsigned int flags;
3209 unsigned int sharing;
3210 unsigned int maxinstances;
3211 unsigned int instances;
3212 unsigned int outsize;
3213 unsigned int insize;
3218 struct create_window_request
3220 struct request_header __header;
3221 user_handle_t parent;
3222 user_handle_t owner;
3223 atom_t atom;
3224 mod_handle_t instance;
3225 /* VARARG(class,unicode_str); */
3227 struct create_window_reply
3229 struct reply_header __header;
3230 user_handle_t handle;
3231 user_handle_t parent;
3232 user_handle_t owner;
3233 int extra;
3234 client_ptr_t class_ptr;
3239 struct destroy_window_request
3241 struct request_header __header;
3242 user_handle_t handle;
3244 struct destroy_window_reply
3246 struct reply_header __header;
3251 struct get_desktop_window_request
3253 struct request_header __header;
3254 int force;
3256 struct get_desktop_window_reply
3258 struct reply_header __header;
3259 user_handle_t top_window;
3260 user_handle_t msg_window;
3265 struct set_window_owner_request
3267 struct request_header __header;
3268 user_handle_t handle;
3269 user_handle_t owner;
3270 char __pad_20[4];
3272 struct set_window_owner_reply
3274 struct reply_header __header;
3275 user_handle_t full_owner;
3276 user_handle_t prev_owner;
3281 struct get_window_info_request
3283 struct request_header __header;
3284 user_handle_t handle;
3286 struct get_window_info_reply
3288 struct reply_header __header;
3289 user_handle_t full_handle;
3290 user_handle_t last_active;
3291 process_id_t pid;
3292 thread_id_t tid;
3293 atom_t atom;
3294 int is_unicode;
3299 struct set_window_info_request
3301 struct request_header __header;
3302 unsigned short flags;
3303 short int is_unicode;
3304 user_handle_t handle;
3305 unsigned int style;
3306 unsigned int ex_style;
3307 unsigned int id;
3308 mod_handle_t instance;
3309 lparam_t user_data;
3310 int extra_offset;
3311 data_size_t extra_size;
3312 lparam_t extra_value;
3314 struct set_window_info_reply
3316 struct reply_header __header;
3317 unsigned int old_style;
3318 unsigned int old_ex_style;
3319 mod_handle_t old_instance;
3320 lparam_t old_user_data;
3321 lparam_t old_extra_value;
3322 unsigned int old_id;
3323 char __pad_44[4];
3325 #define SET_WIN_STYLE 0x01
3326 #define SET_WIN_EXSTYLE 0x02
3327 #define SET_WIN_ID 0x04
3328 #define SET_WIN_INSTANCE 0x08
3329 #define SET_WIN_USERDATA 0x10
3330 #define SET_WIN_EXTRA 0x20
3331 #define SET_WIN_UNICODE 0x40
3335 struct set_parent_request
3337 struct request_header __header;
3338 user_handle_t handle;
3339 user_handle_t parent;
3340 char __pad_20[4];
3342 struct set_parent_reply
3344 struct reply_header __header;
3345 user_handle_t old_parent;
3346 user_handle_t full_parent;
3351 struct get_window_parents_request
3353 struct request_header __header;
3354 user_handle_t handle;
3356 struct get_window_parents_reply
3358 struct reply_header __header;
3359 int count;
3360 /* VARARG(parents,user_handles); */
3361 char __pad_12[4];
3366 struct get_window_children_request
3368 struct request_header __header;
3369 obj_handle_t desktop;
3370 user_handle_t parent;
3371 atom_t atom;
3372 thread_id_t tid;
3373 /* VARARG(class,unicode_str); */
3374 char __pad_28[4];
3376 struct get_window_children_reply
3378 struct reply_header __header;
3379 int count;
3380 /* VARARG(children,user_handles); */
3381 char __pad_12[4];
3386 struct get_window_children_from_point_request
3388 struct request_header __header;
3389 user_handle_t parent;
3390 int x;
3391 int y;
3393 struct get_window_children_from_point_reply
3395 struct reply_header __header;
3396 int count;
3397 /* VARARG(children,user_handles); */
3398 char __pad_12[4];
3403 struct get_window_tree_request
3405 struct request_header __header;
3406 user_handle_t handle;
3408 struct get_window_tree_reply
3410 struct reply_header __header;
3411 user_handle_t parent;
3412 user_handle_t owner;
3413 user_handle_t next_sibling;
3414 user_handle_t prev_sibling;
3415 user_handle_t first_sibling;
3416 user_handle_t last_sibling;
3417 user_handle_t first_child;
3418 user_handle_t last_child;
3422 struct set_window_pos_request
3424 struct request_header __header;
3425 unsigned short swp_flags;
3426 unsigned short paint_flags;
3427 user_handle_t handle;
3428 user_handle_t previous;
3429 rectangle_t window;
3430 rectangle_t client;
3431 /* VARARG(valid,rectangles); */
3433 struct set_window_pos_reply
3435 struct reply_header __header;
3436 unsigned int new_style;
3437 unsigned int new_ex_style;
3438 user_handle_t surface_win;
3439 char __pad_20[4];
3441 #define SET_WINPOS_PAINT_SURFACE 0x01
3442 #define SET_WINPOS_PIXEL_FORMAT 0x02
3445 struct get_window_rectangles_request
3447 struct request_header __header;
3448 user_handle_t handle;
3449 int relative;
3450 char __pad_20[4];
3452 struct get_window_rectangles_reply
3454 struct reply_header __header;
3455 rectangle_t window;
3456 rectangle_t visible;
3457 rectangle_t client;
3459 enum coords_relative
3461 COORDS_CLIENT,
3462 COORDS_WINDOW,
3463 COORDS_PARENT,
3464 COORDS_SCREEN
3469 struct get_window_text_request
3471 struct request_header __header;
3472 user_handle_t handle;
3474 struct get_window_text_reply
3476 struct reply_header __header;
3477 /* VARARG(text,unicode_str); */
3482 struct set_window_text_request
3484 struct request_header __header;
3485 user_handle_t handle;
3486 /* VARARG(text,unicode_str); */
3488 struct set_window_text_reply
3490 struct reply_header __header;
3495 struct get_windows_offset_request
3497 struct request_header __header;
3498 user_handle_t from;
3499 user_handle_t to;
3500 char __pad_20[4];
3502 struct get_windows_offset_reply
3504 struct reply_header __header;
3505 int x;
3506 int y;
3507 int mirror;
3508 char __pad_20[4];
3513 struct get_visible_region_request
3515 struct request_header __header;
3516 user_handle_t window;
3517 unsigned int flags;
3518 char __pad_20[4];
3520 struct get_visible_region_reply
3522 struct reply_header __header;
3523 user_handle_t top_win;
3524 rectangle_t top_rect;
3525 rectangle_t win_rect;
3526 unsigned int paint_flags;
3527 data_size_t total_size;
3528 /* VARARG(region,rectangles); */
3529 char __pad_52[4];
3534 struct get_surface_region_request
3536 struct request_header __header;
3537 user_handle_t window;
3539 struct get_surface_region_reply
3541 struct reply_header __header;
3542 rectangle_t visible_rect;
3543 data_size_t total_size;
3544 /* VARARG(region,rectangles); */
3545 char __pad_28[4];
3550 struct get_window_region_request
3552 struct request_header __header;
3553 user_handle_t window;
3555 struct get_window_region_reply
3557 struct reply_header __header;
3558 data_size_t total_size;
3559 /* VARARG(region,rectangles); */
3560 char __pad_12[4];
3565 struct set_window_region_request
3567 struct request_header __header;
3568 user_handle_t window;
3569 int redraw;
3570 /* VARARG(region,rectangles); */
3571 char __pad_20[4];
3573 struct set_window_region_reply
3575 struct reply_header __header;
3580 struct get_update_region_request
3582 struct request_header __header;
3583 user_handle_t window;
3584 user_handle_t from_child;
3585 unsigned int flags;
3587 struct get_update_region_reply
3589 struct reply_header __header;
3590 user_handle_t child;
3591 unsigned int flags;
3592 data_size_t total_size;
3593 /* VARARG(region,rectangles); */
3594 char __pad_20[4];
3596 #define UPDATE_NONCLIENT 0x01
3597 #define UPDATE_ERASE 0x02
3598 #define UPDATE_PAINT 0x04
3599 #define UPDATE_INTERNALPAINT 0x08
3600 #define UPDATE_ALLCHILDREN 0x10
3601 #define UPDATE_NOCHILDREN 0x20
3602 #define UPDATE_NOREGION 0x40
3603 #define UPDATE_DELAYED_ERASE 0x80
3607 struct update_window_zorder_request
3609 struct request_header __header;
3610 user_handle_t window;
3611 rectangle_t rect;
3613 struct update_window_zorder_reply
3615 struct reply_header __header;
3620 struct redraw_window_request
3622 struct request_header __header;
3623 user_handle_t window;
3624 unsigned int flags;
3625 /* VARARG(region,rectangles); */
3626 char __pad_20[4];
3628 struct redraw_window_reply
3630 struct reply_header __header;
3635 struct set_window_property_request
3637 struct request_header __header;
3638 user_handle_t window;
3639 lparam_t data;
3640 atom_t atom;
3641 /* VARARG(name,unicode_str); */
3642 char __pad_28[4];
3644 struct set_window_property_reply
3646 struct reply_header __header;
3651 struct remove_window_property_request
3653 struct request_header __header;
3654 user_handle_t window;
3655 atom_t atom;
3656 /* VARARG(name,unicode_str); */
3657 char __pad_20[4];
3659 struct remove_window_property_reply
3661 struct reply_header __header;
3662 lparam_t data;
3667 struct get_window_property_request
3669 struct request_header __header;
3670 user_handle_t window;
3671 atom_t atom;
3672 /* VARARG(name,unicode_str); */
3673 char __pad_20[4];
3675 struct get_window_property_reply
3677 struct reply_header __header;
3678 lparam_t data;
3683 struct get_window_properties_request
3685 struct request_header __header;
3686 user_handle_t window;
3688 struct get_window_properties_reply
3690 struct reply_header __header;
3691 int total;
3692 /* VARARG(props,properties); */
3693 char __pad_12[4];
3698 struct create_winstation_request
3700 struct request_header __header;
3701 unsigned int flags;
3702 unsigned int access;
3703 unsigned int attributes;
3704 /* VARARG(name,unicode_str); */
3706 struct create_winstation_reply
3708 struct reply_header __header;
3709 obj_handle_t handle;
3710 char __pad_12[4];
3715 struct open_winstation_request
3717 struct request_header __header;
3718 unsigned int access;
3719 unsigned int attributes;
3720 /* VARARG(name,unicode_str); */
3721 char __pad_20[4];
3723 struct open_winstation_reply
3725 struct reply_header __header;
3726 obj_handle_t handle;
3727 char __pad_12[4];
3732 struct close_winstation_request
3734 struct request_header __header;
3735 obj_handle_t handle;
3737 struct close_winstation_reply
3739 struct reply_header __header;
3744 struct get_process_winstation_request
3746 struct request_header __header;
3747 char __pad_12[4];
3749 struct get_process_winstation_reply
3751 struct reply_header __header;
3752 obj_handle_t handle;
3753 char __pad_12[4];
3758 struct set_process_winstation_request
3760 struct request_header __header;
3761 obj_handle_t handle;
3763 struct set_process_winstation_reply
3765 struct reply_header __header;
3770 struct enum_winstation_request
3772 struct request_header __header;
3773 unsigned int index;
3775 struct enum_winstation_reply
3777 struct reply_header __header;
3778 unsigned int next;
3779 /* VARARG(name,unicode_str); */
3780 char __pad_12[4];
3785 struct create_desktop_request
3787 struct request_header __header;
3788 unsigned int flags;
3789 unsigned int access;
3790 unsigned int attributes;
3791 /* VARARG(name,unicode_str); */
3793 struct create_desktop_reply
3795 struct reply_header __header;
3796 obj_handle_t handle;
3797 char __pad_12[4];
3802 struct open_desktop_request
3804 struct request_header __header;
3805 obj_handle_t winsta;
3806 unsigned int flags;
3807 unsigned int access;
3808 unsigned int attributes;
3809 /* VARARG(name,unicode_str); */
3810 char __pad_28[4];
3812 struct open_desktop_reply
3814 struct reply_header __header;
3815 obj_handle_t handle;
3816 char __pad_12[4];
3821 struct open_input_desktop_request
3823 struct request_header __header;
3824 unsigned int flags;
3825 unsigned int access;
3826 unsigned int attributes;
3828 struct open_input_desktop_reply
3830 struct reply_header __header;
3831 obj_handle_t handle;
3832 char __pad_12[4];
3837 struct close_desktop_request
3839 struct request_header __header;
3840 obj_handle_t handle;
3842 struct close_desktop_reply
3844 struct reply_header __header;
3849 struct get_thread_desktop_request
3851 struct request_header __header;
3852 thread_id_t tid;
3854 struct get_thread_desktop_reply
3856 struct reply_header __header;
3857 obj_handle_t handle;
3858 char __pad_12[4];
3863 struct set_thread_desktop_request
3865 struct request_header __header;
3866 obj_handle_t handle;
3868 struct set_thread_desktop_reply
3870 struct reply_header __header;
3875 struct enum_desktop_request
3877 struct request_header __header;
3878 obj_handle_t winstation;
3879 unsigned int index;
3880 char __pad_20[4];
3882 struct enum_desktop_reply
3884 struct reply_header __header;
3885 unsigned int next;
3886 /* VARARG(name,unicode_str); */
3887 char __pad_12[4];
3892 struct set_user_object_info_request
3894 struct request_header __header;
3895 obj_handle_t handle;
3896 unsigned int flags;
3897 unsigned int obj_flags;
3899 struct set_user_object_info_reply
3901 struct reply_header __header;
3902 int is_desktop;
3903 unsigned int old_obj_flags;
3904 /* VARARG(name,unicode_str); */
3906 #define SET_USER_OBJECT_FLAGS 1
3910 struct register_hotkey_request
3912 struct request_header __header;
3913 user_handle_t window;
3914 int id;
3915 unsigned int flags;
3916 unsigned int vkey;
3917 char __pad_28[4];
3919 struct register_hotkey_reply
3921 struct reply_header __header;
3922 int replaced;
3923 unsigned int flags;
3924 unsigned int vkey;
3925 char __pad_20[4];
3930 struct unregister_hotkey_request
3932 struct request_header __header;
3933 user_handle_t window;
3934 int id;
3935 char __pad_20[4];
3937 struct unregister_hotkey_reply
3939 struct reply_header __header;
3940 unsigned int flags;
3941 unsigned int vkey;
3946 struct attach_thread_input_request
3948 struct request_header __header;
3949 thread_id_t tid_from;
3950 thread_id_t tid_to;
3951 int attach;
3953 struct attach_thread_input_reply
3955 struct reply_header __header;
3960 struct get_thread_input_request
3962 struct request_header __header;
3963 thread_id_t tid;
3965 struct get_thread_input_reply
3967 struct reply_header __header;
3968 user_handle_t focus;
3969 user_handle_t capture;
3970 user_handle_t active;
3971 user_handle_t foreground;
3972 user_handle_t menu_owner;
3973 user_handle_t move_size;
3974 user_handle_t caret;
3975 user_handle_t cursor;
3976 int show_count;
3977 rectangle_t rect;
3978 char __pad_60[4];
3983 struct get_last_input_time_request
3985 struct request_header __header;
3986 char __pad_12[4];
3988 struct get_last_input_time_reply
3990 struct reply_header __header;
3991 unsigned int time;
3992 char __pad_12[4];
3997 struct get_key_state_request
3999 struct request_header __header;
4000 thread_id_t tid;
4001 int key;
4002 char __pad_20[4];
4004 struct get_key_state_reply
4006 struct reply_header __header;
4007 unsigned char state;
4008 /* VARARG(keystate,bytes); */
4009 char __pad_9[7];
4013 struct set_key_state_request
4015 struct request_header __header;
4016 thread_id_t tid;
4017 int async;
4018 /* VARARG(keystate,bytes); */
4019 char __pad_20[4];
4021 struct set_key_state_reply
4023 struct reply_header __header;
4027 struct set_foreground_window_request
4029 struct request_header __header;
4030 user_handle_t handle;
4032 struct set_foreground_window_reply
4034 struct reply_header __header;
4035 user_handle_t previous;
4036 int send_msg_old;
4037 int send_msg_new;
4038 char __pad_20[4];
4042 struct set_focus_window_request
4044 struct request_header __header;
4045 user_handle_t handle;
4047 struct set_focus_window_reply
4049 struct reply_header __header;
4050 user_handle_t previous;
4051 char __pad_12[4];
4055 struct set_active_window_request
4057 struct request_header __header;
4058 user_handle_t handle;
4060 struct set_active_window_reply
4062 struct reply_header __header;
4063 user_handle_t previous;
4064 char __pad_12[4];
4068 struct set_capture_window_request
4070 struct request_header __header;
4071 user_handle_t handle;
4072 unsigned int flags;
4073 char __pad_20[4];
4075 struct set_capture_window_reply
4077 struct reply_header __header;
4078 user_handle_t previous;
4079 user_handle_t full_handle;
4081 #define CAPTURE_MENU 0x01
4082 #define CAPTURE_MOVESIZE 0x02
4086 struct set_caret_window_request
4088 struct request_header __header;
4089 user_handle_t handle;
4090 int width;
4091 int height;
4093 struct set_caret_window_reply
4095 struct reply_header __header;
4096 user_handle_t previous;
4097 rectangle_t old_rect;
4098 int old_hide;
4099 int old_state;
4100 char __pad_36[4];
4105 struct set_caret_info_request
4107 struct request_header __header;
4108 unsigned int flags;
4109 user_handle_t handle;
4110 int x;
4111 int y;
4112 int hide;
4113 int state;
4114 char __pad_36[4];
4116 struct set_caret_info_reply
4118 struct reply_header __header;
4119 user_handle_t full_handle;
4120 rectangle_t old_rect;
4121 int old_hide;
4122 int old_state;
4123 char __pad_36[4];
4125 #define SET_CARET_POS 0x01
4126 #define SET_CARET_HIDE 0x02
4127 #define SET_CARET_STATE 0x04
4131 struct set_hook_request
4133 struct request_header __header;
4134 int id;
4135 process_id_t pid;
4136 thread_id_t tid;
4137 int event_min;
4138 int event_max;
4139 client_ptr_t proc;
4140 int flags;
4141 int unicode;
4142 /* VARARG(module,unicode_str); */
4144 struct set_hook_reply
4146 struct reply_header __header;
4147 user_handle_t handle;
4148 unsigned int active_hooks;
4153 struct remove_hook_request
4155 struct request_header __header;
4156 user_handle_t handle;
4157 client_ptr_t proc;
4158 int id;
4159 char __pad_28[4];
4161 struct remove_hook_reply
4163 struct reply_header __header;
4164 unsigned int active_hooks;
4165 char __pad_12[4];
4170 struct start_hook_chain_request
4172 struct request_header __header;
4173 int id;
4174 int event;
4175 user_handle_t window;
4176 int object_id;
4177 int child_id;
4179 struct start_hook_chain_reply
4181 struct reply_header __header;
4182 user_handle_t handle;
4183 process_id_t pid;
4184 thread_id_t tid;
4185 int unicode;
4186 client_ptr_t proc;
4187 unsigned int active_hooks;
4188 /* VARARG(module,unicode_str); */
4189 char __pad_36[4];
4194 struct finish_hook_chain_request
4196 struct request_header __header;
4197 int id;
4199 struct finish_hook_chain_reply
4201 struct reply_header __header;
4206 struct get_hook_info_request
4208 struct request_header __header;
4209 user_handle_t handle;
4210 int get_next;
4211 int event;
4212 user_handle_t window;
4213 int object_id;
4214 int child_id;
4215 char __pad_36[4];
4217 struct get_hook_info_reply
4219 struct reply_header __header;
4220 user_handle_t handle;
4221 int id;
4222 process_id_t pid;
4223 thread_id_t tid;
4224 client_ptr_t proc;
4225 int unicode;
4226 /* VARARG(module,unicode_str); */
4227 char __pad_36[4];
4232 struct create_class_request
4234 struct request_header __header;
4235 int local;
4236 atom_t atom;
4237 unsigned int style;
4238 mod_handle_t instance;
4239 int extra;
4240 int win_extra;
4241 client_ptr_t client_ptr;
4242 /* VARARG(name,unicode_str); */
4244 struct create_class_reply
4246 struct reply_header __header;
4247 atom_t atom;
4248 char __pad_12[4];
4253 struct destroy_class_request
4255 struct request_header __header;
4256 atom_t atom;
4257 mod_handle_t instance;
4258 /* VARARG(name,unicode_str); */
4260 struct destroy_class_reply
4262 struct reply_header __header;
4263 client_ptr_t client_ptr;
4268 struct set_class_info_request
4270 struct request_header __header;
4271 user_handle_t window;
4272 unsigned int flags;
4273 atom_t atom;
4274 unsigned int style;
4275 int win_extra;
4276 mod_handle_t instance;
4277 int extra_offset;
4278 data_size_t extra_size;
4279 lparam_t extra_value;
4281 struct set_class_info_reply
4283 struct reply_header __header;
4284 atom_t old_atom;
4285 unsigned int old_style;
4286 int old_extra;
4287 int old_win_extra;
4288 mod_handle_t old_instance;
4289 lparam_t old_extra_value;
4291 #define SET_CLASS_ATOM 0x0001
4292 #define SET_CLASS_STYLE 0x0002
4293 #define SET_CLASS_WINEXTRA 0x0004
4294 #define SET_CLASS_INSTANCE 0x0008
4295 #define SET_CLASS_EXTRA 0x0010
4299 struct set_clipboard_info_request
4301 struct request_header __header;
4302 unsigned int flags;
4303 user_handle_t clipboard;
4304 user_handle_t owner;
4305 user_handle_t viewer;
4306 unsigned int seqno;
4308 struct set_clipboard_info_reply
4310 struct reply_header __header;
4311 unsigned int flags;
4312 user_handle_t old_clipboard;
4313 user_handle_t old_owner;
4314 user_handle_t old_viewer;
4315 unsigned int seqno;
4316 char __pad_28[4];
4319 #define SET_CB_OPEN 0x001
4320 #define SET_CB_OWNER 0x002
4321 #define SET_CB_VIEWER 0x004
4322 #define SET_CB_SEQNO 0x008
4323 #define SET_CB_RELOWNER 0x010
4324 #define SET_CB_CLOSE 0x020
4325 #define CB_OPEN 0x040
4326 #define CB_OWNER 0x080
4327 #define CB_PROCESS 0x100
4331 struct open_token_request
4333 struct request_header __header;
4334 obj_handle_t handle;
4335 unsigned int access;
4336 unsigned int attributes;
4337 unsigned int flags;
4338 char __pad_28[4];
4340 struct open_token_reply
4342 struct reply_header __header;
4343 obj_handle_t token;
4344 char __pad_12[4];
4346 #define OPEN_TOKEN_THREAD 1
4347 #define OPEN_TOKEN_AS_SELF 2
4351 struct set_global_windows_request
4353 struct request_header __header;
4354 unsigned int flags;
4355 user_handle_t shell_window;
4356 user_handle_t shell_listview;
4357 user_handle_t progman_window;
4358 user_handle_t taskman_window;
4360 struct set_global_windows_reply
4362 struct reply_header __header;
4363 user_handle_t old_shell_window;
4364 user_handle_t old_shell_listview;
4365 user_handle_t old_progman_window;
4366 user_handle_t old_taskman_window;
4368 #define SET_GLOBAL_SHELL_WINDOWS 0x01
4369 #define SET_GLOBAL_PROGMAN_WINDOW 0x02
4370 #define SET_GLOBAL_TASKMAN_WINDOW 0x04
4373 struct adjust_token_privileges_request
4375 struct request_header __header;
4376 obj_handle_t handle;
4377 int disable_all;
4378 int get_modified_state;
4379 /* VARARG(privileges,LUID_AND_ATTRIBUTES); */
4381 struct adjust_token_privileges_reply
4383 struct reply_header __header;
4384 unsigned int len;
4385 /* VARARG(privileges,LUID_AND_ATTRIBUTES); */
4386 char __pad_12[4];
4390 struct get_token_privileges_request
4392 struct request_header __header;
4393 obj_handle_t handle;
4395 struct get_token_privileges_reply
4397 struct reply_header __header;
4398 unsigned int len;
4399 /* VARARG(privileges,LUID_AND_ATTRIBUTES); */
4400 char __pad_12[4];
4404 struct check_token_privileges_request
4406 struct request_header __header;
4407 obj_handle_t handle;
4408 int all_required;
4409 /* VARARG(privileges,LUID_AND_ATTRIBUTES); */
4410 char __pad_20[4];
4412 struct check_token_privileges_reply
4414 struct reply_header __header;
4415 int has_privileges;
4416 /* VARARG(privileges,LUID_AND_ATTRIBUTES); */
4417 char __pad_12[4];
4420 struct duplicate_token_request
4422 struct request_header __header;
4423 obj_handle_t handle;
4424 unsigned int access;
4425 unsigned int attributes;
4426 int primary;
4427 int impersonation_level;
4429 struct duplicate_token_reply
4431 struct reply_header __header;
4432 obj_handle_t new_handle;
4433 char __pad_12[4];
4436 struct access_check_request
4438 struct request_header __header;
4439 obj_handle_t handle;
4440 unsigned int desired_access;
4441 unsigned int mapping_read;
4442 unsigned int mapping_write;
4443 unsigned int mapping_execute;
4444 unsigned int mapping_all;
4445 /* VARARG(sd,security_descriptor); */
4446 char __pad_36[4];
4448 struct access_check_reply
4450 struct reply_header __header;
4451 unsigned int access_granted;
4452 unsigned int access_status;
4453 unsigned int privileges_len;
4454 /* VARARG(privileges,LUID_AND_ATTRIBUTES); */
4455 char __pad_20[4];
4458 struct get_token_sid_request
4460 struct request_header __header;
4461 obj_handle_t handle;
4462 unsigned int which_sid;
4463 char __pad_20[4];
4465 struct get_token_sid_reply
4467 struct reply_header __header;
4468 data_size_t sid_len;
4469 /* VARARG(sid,SID); */
4470 char __pad_12[4];
4473 struct get_token_groups_request
4475 struct request_header __header;
4476 obj_handle_t handle;
4478 struct get_token_groups_reply
4480 struct reply_header __header;
4481 data_size_t user_len;
4482 /* VARARG(user,token_groups); */
4483 char __pad_12[4];
4486 struct get_token_default_dacl_request
4488 struct request_header __header;
4489 obj_handle_t handle;
4491 struct get_token_default_dacl_reply
4493 struct reply_header __header;
4494 data_size_t acl_len;
4495 /* VARARG(acl,ACL); */
4496 char __pad_12[4];
4499 struct set_token_default_dacl_request
4501 struct request_header __header;
4502 obj_handle_t handle;
4503 /* VARARG(acl,ACL); */
4505 struct set_token_default_dacl_reply
4507 struct reply_header __header;
4510 struct set_security_object_request
4512 struct request_header __header;
4513 obj_handle_t handle;
4514 unsigned int security_info;
4515 /* VARARG(sd,security_descriptor); */
4516 char __pad_20[4];
4518 struct set_security_object_reply
4520 struct reply_header __header;
4523 struct get_security_object_request
4525 struct request_header __header;
4526 obj_handle_t handle;
4527 unsigned int security_info;
4528 char __pad_20[4];
4530 struct get_security_object_reply
4532 struct reply_header __header;
4533 unsigned int sd_len;
4534 /* VARARG(sd,security_descriptor); */
4535 char __pad_12[4];
4539 struct create_mailslot_request
4541 struct request_header __header;
4542 unsigned int access;
4543 unsigned int attributes;
4544 obj_handle_t rootdir;
4545 timeout_t read_timeout;
4546 unsigned int max_msgsize;
4547 /* VARARG(name,unicode_str); */
4548 char __pad_36[4];
4550 struct create_mailslot_reply
4552 struct reply_header __header;
4553 obj_handle_t handle;
4554 char __pad_12[4];
4559 struct set_mailslot_info_request
4561 struct request_header __header;
4562 obj_handle_t handle;
4563 timeout_t read_timeout;
4564 unsigned int flags;
4565 char __pad_28[4];
4567 struct set_mailslot_info_reply
4569 struct reply_header __header;
4570 timeout_t read_timeout;
4571 unsigned int max_msgsize;
4572 char __pad_20[4];
4574 #define MAILSLOT_SET_READ_TIMEOUT 1
4578 struct create_directory_request
4580 struct request_header __header;
4581 unsigned int access;
4582 unsigned int attributes;
4583 obj_handle_t rootdir;
4584 /* VARARG(directory_name,unicode_str); */
4586 struct create_directory_reply
4588 struct reply_header __header;
4589 obj_handle_t handle;
4590 char __pad_12[4];
4595 struct open_directory_request
4597 struct request_header __header;
4598 unsigned int access;
4599 unsigned int attributes;
4600 obj_handle_t rootdir;
4601 /* VARARG(directory_name,unicode_str); */
4603 struct open_directory_reply
4605 struct reply_header __header;
4606 obj_handle_t handle;
4607 char __pad_12[4];
4612 struct get_directory_entry_request
4614 struct request_header __header;
4615 obj_handle_t handle;
4616 unsigned int index;
4617 char __pad_20[4];
4619 struct get_directory_entry_reply
4621 struct reply_header __header;
4622 data_size_t name_len;
4623 /* VARARG(name,unicode_str,name_len); */
4624 /* VARARG(type,unicode_str); */
4625 char __pad_12[4];
4630 struct create_symlink_request
4632 struct request_header __header;
4633 unsigned int access;
4634 unsigned int attributes;
4635 obj_handle_t rootdir;
4636 data_size_t name_len;
4637 /* VARARG(name,unicode_str,name_len); */
4638 /* VARARG(target_name,unicode_str); */
4639 char __pad_28[4];
4641 struct create_symlink_reply
4643 struct reply_header __header;
4644 obj_handle_t handle;
4645 char __pad_12[4];
4650 struct open_symlink_request
4652 struct request_header __header;
4653 unsigned int access;
4654 unsigned int attributes;
4655 obj_handle_t rootdir;
4656 /* VARARG(name,unicode_str); */
4658 struct open_symlink_reply
4660 struct reply_header __header;
4661 obj_handle_t handle;
4662 char __pad_12[4];
4667 struct query_symlink_request
4669 struct request_header __header;
4670 obj_handle_t handle;
4672 struct query_symlink_reply
4674 struct reply_header __header;
4675 data_size_t total;
4676 /* VARARG(target_name,unicode_str); */
4677 char __pad_12[4];
4682 struct get_object_info_request
4684 struct request_header __header;
4685 obj_handle_t handle;
4687 struct get_object_info_reply
4689 struct reply_header __header;
4690 unsigned int access;
4691 unsigned int ref_count;
4692 data_size_t total;
4693 /* VARARG(name,unicode_str); */
4694 char __pad_20[4];
4699 struct unlink_object_request
4701 struct request_header __header;
4702 obj_handle_t handle;
4704 struct unlink_object_reply
4706 struct reply_header __header;
4711 struct get_token_impersonation_level_request
4713 struct request_header __header;
4714 obj_handle_t handle;
4716 struct get_token_impersonation_level_reply
4718 struct reply_header __header;
4719 int impersonation_level;
4720 char __pad_12[4];
4724 struct allocate_locally_unique_id_request
4726 struct request_header __header;
4727 char __pad_12[4];
4729 struct allocate_locally_unique_id_reply
4731 struct reply_header __header;
4732 luid_t luid;
4737 struct create_device_manager_request
4739 struct request_header __header;
4740 unsigned int access;
4741 unsigned int attributes;
4742 char __pad_20[4];
4744 struct create_device_manager_reply
4746 struct reply_header __header;
4747 obj_handle_t handle;
4748 char __pad_12[4];
4753 struct create_device_request
4755 struct request_header __header;
4756 unsigned int access;
4757 unsigned int attributes;
4758 obj_handle_t rootdir;
4759 client_ptr_t user_ptr;
4760 obj_handle_t manager;
4761 /* VARARG(name,unicode_str); */
4762 char __pad_36[4];
4764 struct create_device_reply
4766 struct reply_header __header;
4767 obj_handle_t handle;
4768 char __pad_12[4];
4773 struct delete_device_request
4775 struct request_header __header;
4776 obj_handle_t handle;
4778 struct delete_device_reply
4780 struct reply_header __header;
4785 struct get_next_device_request_request
4787 struct request_header __header;
4788 obj_handle_t manager;
4789 obj_handle_t prev;
4790 unsigned int status;
4791 /* VARARG(prev_data,bytes); */
4793 struct get_next_device_request_reply
4795 struct reply_header __header;
4796 obj_handle_t next;
4797 ioctl_code_t code;
4798 client_ptr_t user_ptr;
4799 process_id_t client_pid;
4800 thread_id_t client_tid;
4801 data_size_t in_size;
4802 data_size_t out_size;
4803 /* VARARG(next_data,bytes); */
4808 struct make_process_system_request
4810 struct request_header __header;
4811 char __pad_12[4];
4813 struct make_process_system_reply
4815 struct reply_header __header;
4816 obj_handle_t event;
4817 char __pad_12[4];
4822 struct get_token_statistics_request
4824 struct request_header __header;
4825 obj_handle_t handle;
4827 struct get_token_statistics_reply
4829 struct reply_header __header;
4830 luid_t token_id;
4831 luid_t modified_id;
4832 int primary;
4833 int impersonation_level;
4834 int group_count;
4835 int privilege_count;
4840 struct create_completion_request
4842 struct request_header __header;
4843 unsigned int access;
4844 unsigned int attributes;
4845 unsigned int concurrent;
4846 obj_handle_t rootdir;
4847 /* VARARG(filename,string); */
4848 char __pad_28[4];
4850 struct create_completion_reply
4852 struct reply_header __header;
4853 obj_handle_t handle;
4854 char __pad_12[4];
4859 struct open_completion_request
4861 struct request_header __header;
4862 unsigned int access;
4863 unsigned int attributes;
4864 obj_handle_t rootdir;
4865 /* VARARG(filename,string); */
4867 struct open_completion_reply
4869 struct reply_header __header;
4870 obj_handle_t handle;
4871 char __pad_12[4];
4876 struct add_completion_request
4878 struct request_header __header;
4879 obj_handle_t handle;
4880 apc_param_t ckey;
4881 apc_param_t cvalue;
4882 apc_param_t information;
4883 unsigned int status;
4884 char __pad_44[4];
4886 struct add_completion_reply
4888 struct reply_header __header;
4893 struct remove_completion_request
4895 struct request_header __header;
4896 obj_handle_t handle;
4898 struct remove_completion_reply
4900 struct reply_header __header;
4901 apc_param_t ckey;
4902 apc_param_t cvalue;
4903 apc_param_t information;
4904 unsigned int status;
4905 char __pad_36[4];
4910 struct query_completion_request
4912 struct request_header __header;
4913 obj_handle_t handle;
4915 struct query_completion_reply
4917 struct reply_header __header;
4918 unsigned int depth;
4919 char __pad_12[4];
4924 struct set_completion_info_request
4926 struct request_header __header;
4927 obj_handle_t handle;
4928 apc_param_t ckey;
4929 obj_handle_t chandle;
4930 char __pad_28[4];
4932 struct set_completion_info_reply
4934 struct reply_header __header;
4939 struct add_fd_completion_request
4941 struct request_header __header;
4942 obj_handle_t handle;
4943 apc_param_t cvalue;
4944 apc_param_t information;
4945 unsigned int status;
4946 char __pad_36[4];
4948 struct add_fd_completion_reply
4950 struct reply_header __header;
4955 struct get_window_layered_info_request
4957 struct request_header __header;
4958 user_handle_t handle;
4960 struct get_window_layered_info_reply
4962 struct reply_header __header;
4963 unsigned int color_key;
4964 unsigned int alpha;
4965 unsigned int flags;
4966 char __pad_20[4];
4971 struct set_window_layered_info_request
4973 struct request_header __header;
4974 user_handle_t handle;
4975 unsigned int color_key;
4976 unsigned int alpha;
4977 unsigned int flags;
4978 char __pad_28[4];
4980 struct set_window_layered_info_reply
4982 struct reply_header __header;
4987 struct alloc_user_handle_request
4989 struct request_header __header;
4990 char __pad_12[4];
4992 struct alloc_user_handle_reply
4994 struct reply_header __header;
4995 user_handle_t handle;
4996 char __pad_12[4];
5001 struct free_user_handle_request
5003 struct request_header __header;
5004 user_handle_t handle;
5006 struct free_user_handle_reply
5008 struct reply_header __header;
5013 struct set_cursor_request
5015 struct request_header __header;
5016 unsigned int flags;
5017 user_handle_t handle;
5018 int show_count;
5019 int x;
5020 int y;
5021 rectangle_t clip;
5022 unsigned int clip_msg;
5023 char __pad_52[4];
5025 struct set_cursor_reply
5027 struct reply_header __header;
5028 user_handle_t prev_handle;
5029 int prev_count;
5030 int prev_x;
5031 int prev_y;
5032 int new_x;
5033 int new_y;
5034 rectangle_t new_clip;
5035 unsigned int last_change;
5036 char __pad_52[4];
5038 #define SET_CURSOR_HANDLE 0x01
5039 #define SET_CURSOR_COUNT 0x02
5040 #define SET_CURSOR_POS 0x04
5041 #define SET_CURSOR_CLIP 0x08
5042 #define SET_CURSOR_NOCLIP 0x10
5046 struct update_rawinput_devices_request
5048 struct request_header __header;
5049 /* VARARG(devices,rawinput_devices); */
5050 char __pad_12[4];
5052 struct update_rawinput_devices_reply
5054 struct reply_header __header;
5059 struct get_suspend_context_request
5061 struct request_header __header;
5062 char __pad_12[4];
5064 struct get_suspend_context_reply
5066 struct reply_header __header;
5067 /* VARARG(context,context); */
5072 struct set_suspend_context_request
5074 struct request_header __header;
5075 /* VARARG(context,context); */
5076 char __pad_12[4];
5078 struct set_suspend_context_reply
5080 struct reply_header __header;
5084 enum request
5086 REQ_new_process,
5087 REQ_get_new_process_info,
5088 REQ_new_thread,
5089 REQ_get_startup_info,
5090 REQ_init_process_done,
5091 REQ_init_thread,
5092 REQ_terminate_process,
5093 REQ_terminate_thread,
5094 REQ_get_process_info,
5095 REQ_set_process_info,
5096 REQ_get_thread_info,
5097 REQ_set_thread_info,
5098 REQ_get_dll_info,
5099 REQ_suspend_thread,
5100 REQ_resume_thread,
5101 REQ_load_dll,
5102 REQ_unload_dll,
5103 REQ_queue_apc,
5104 REQ_get_apc_result,
5105 REQ_close_handle,
5106 REQ_set_handle_info,
5107 REQ_dup_handle,
5108 REQ_open_process,
5109 REQ_open_thread,
5110 REQ_select,
5111 REQ_create_event,
5112 REQ_event_op,
5113 REQ_query_event,
5114 REQ_open_event,
5115 REQ_create_keyed_event,
5116 REQ_open_keyed_event,
5117 REQ_create_mutex,
5118 REQ_release_mutex,
5119 REQ_open_mutex,
5120 REQ_create_semaphore,
5121 REQ_release_semaphore,
5122 REQ_query_semaphore,
5123 REQ_open_semaphore,
5124 REQ_create_file,
5125 REQ_open_file_object,
5126 REQ_alloc_file_handle,
5127 REQ_get_handle_unix_name,
5128 REQ_get_handle_fd,
5129 REQ_flush_file,
5130 REQ_lock_file,
5131 REQ_unlock_file,
5132 REQ_create_socket,
5133 REQ_accept_socket,
5134 REQ_accept_into_socket,
5135 REQ_set_socket_event,
5136 REQ_get_socket_event,
5137 REQ_get_socket_info,
5138 REQ_enable_socket_event,
5139 REQ_set_socket_deferred,
5140 REQ_alloc_console,
5141 REQ_free_console,
5142 REQ_get_console_renderer_events,
5143 REQ_open_console,
5144 REQ_get_console_wait_event,
5145 REQ_get_console_mode,
5146 REQ_set_console_mode,
5147 REQ_set_console_input_info,
5148 REQ_get_console_input_info,
5149 REQ_append_console_input_history,
5150 REQ_get_console_input_history,
5151 REQ_create_console_output,
5152 REQ_set_console_output_info,
5153 REQ_get_console_output_info,
5154 REQ_write_console_input,
5155 REQ_read_console_input,
5156 REQ_write_console_output,
5157 REQ_fill_console_output,
5158 REQ_read_console_output,
5159 REQ_move_console_output,
5160 REQ_send_console_signal,
5161 REQ_read_directory_changes,
5162 REQ_read_change,
5163 REQ_create_mapping,
5164 REQ_open_mapping,
5165 REQ_get_mapping_info,
5166 REQ_get_mapping_committed_range,
5167 REQ_add_mapping_committed_range,
5168 REQ_create_snapshot,
5169 REQ_next_process,
5170 REQ_next_thread,
5171 REQ_wait_debug_event,
5172 REQ_queue_exception_event,
5173 REQ_get_exception_status,
5174 REQ_output_debug_string,
5175 REQ_continue_debug_event,
5176 REQ_debug_process,
5177 REQ_debug_break,
5178 REQ_set_debugger_kill_on_exit,
5179 REQ_read_process_memory,
5180 REQ_write_process_memory,
5181 REQ_create_key,
5182 REQ_open_key,
5183 REQ_delete_key,
5184 REQ_flush_key,
5185 REQ_enum_key,
5186 REQ_set_key_value,
5187 REQ_get_key_value,
5188 REQ_enum_key_value,
5189 REQ_delete_key_value,
5190 REQ_load_registry,
5191 REQ_unload_registry,
5192 REQ_save_registry,
5193 REQ_set_registry_notification,
5194 REQ_create_timer,
5195 REQ_open_timer,
5196 REQ_set_timer,
5197 REQ_cancel_timer,
5198 REQ_get_timer_info,
5199 REQ_get_thread_context,
5200 REQ_set_thread_context,
5201 REQ_get_selector_entry,
5202 REQ_add_atom,
5203 REQ_delete_atom,
5204 REQ_find_atom,
5205 REQ_get_atom_information,
5206 REQ_set_atom_information,
5207 REQ_empty_atom_table,
5208 REQ_init_atom_table,
5209 REQ_get_msg_queue,
5210 REQ_set_queue_fd,
5211 REQ_set_queue_mask,
5212 REQ_get_queue_status,
5213 REQ_get_process_idle_event,
5214 REQ_send_message,
5215 REQ_post_quit_message,
5216 REQ_send_hardware_message,
5217 REQ_get_message,
5218 REQ_reply_message,
5219 REQ_accept_hardware_message,
5220 REQ_get_message_reply,
5221 REQ_set_win_timer,
5222 REQ_kill_win_timer,
5223 REQ_is_window_hung,
5224 REQ_get_serial_info,
5225 REQ_set_serial_info,
5226 REQ_register_async,
5227 REQ_cancel_async,
5228 REQ_ioctl,
5229 REQ_get_ioctl_result,
5230 REQ_create_named_pipe,
5231 REQ_get_named_pipe_info,
5232 REQ_create_window,
5233 REQ_destroy_window,
5234 REQ_get_desktop_window,
5235 REQ_set_window_owner,
5236 REQ_get_window_info,
5237 REQ_set_window_info,
5238 REQ_set_parent,
5239 REQ_get_window_parents,
5240 REQ_get_window_children,
5241 REQ_get_window_children_from_point,
5242 REQ_get_window_tree,
5243 REQ_set_window_pos,
5244 REQ_get_window_rectangles,
5245 REQ_get_window_text,
5246 REQ_set_window_text,
5247 REQ_get_windows_offset,
5248 REQ_get_visible_region,
5249 REQ_get_surface_region,
5250 REQ_get_window_region,
5251 REQ_set_window_region,
5252 REQ_get_update_region,
5253 REQ_update_window_zorder,
5254 REQ_redraw_window,
5255 REQ_set_window_property,
5256 REQ_remove_window_property,
5257 REQ_get_window_property,
5258 REQ_get_window_properties,
5259 REQ_create_winstation,
5260 REQ_open_winstation,
5261 REQ_close_winstation,
5262 REQ_get_process_winstation,
5263 REQ_set_process_winstation,
5264 REQ_enum_winstation,
5265 REQ_create_desktop,
5266 REQ_open_desktop,
5267 REQ_open_input_desktop,
5268 REQ_close_desktop,
5269 REQ_get_thread_desktop,
5270 REQ_set_thread_desktop,
5271 REQ_enum_desktop,
5272 REQ_set_user_object_info,
5273 REQ_register_hotkey,
5274 REQ_unregister_hotkey,
5275 REQ_attach_thread_input,
5276 REQ_get_thread_input,
5277 REQ_get_last_input_time,
5278 REQ_get_key_state,
5279 REQ_set_key_state,
5280 REQ_set_foreground_window,
5281 REQ_set_focus_window,
5282 REQ_set_active_window,
5283 REQ_set_capture_window,
5284 REQ_set_caret_window,
5285 REQ_set_caret_info,
5286 REQ_set_hook,
5287 REQ_remove_hook,
5288 REQ_start_hook_chain,
5289 REQ_finish_hook_chain,
5290 REQ_get_hook_info,
5291 REQ_create_class,
5292 REQ_destroy_class,
5293 REQ_set_class_info,
5294 REQ_set_clipboard_info,
5295 REQ_open_token,
5296 REQ_set_global_windows,
5297 REQ_adjust_token_privileges,
5298 REQ_get_token_privileges,
5299 REQ_check_token_privileges,
5300 REQ_duplicate_token,
5301 REQ_access_check,
5302 REQ_get_token_sid,
5303 REQ_get_token_groups,
5304 REQ_get_token_default_dacl,
5305 REQ_set_token_default_dacl,
5306 REQ_set_security_object,
5307 REQ_get_security_object,
5308 REQ_create_mailslot,
5309 REQ_set_mailslot_info,
5310 REQ_create_directory,
5311 REQ_open_directory,
5312 REQ_get_directory_entry,
5313 REQ_create_symlink,
5314 REQ_open_symlink,
5315 REQ_query_symlink,
5316 REQ_get_object_info,
5317 REQ_unlink_object,
5318 REQ_get_token_impersonation_level,
5319 REQ_allocate_locally_unique_id,
5320 REQ_create_device_manager,
5321 REQ_create_device,
5322 REQ_delete_device,
5323 REQ_get_next_device_request,
5324 REQ_make_process_system,
5325 REQ_get_token_statistics,
5326 REQ_create_completion,
5327 REQ_open_completion,
5328 REQ_add_completion,
5329 REQ_remove_completion,
5330 REQ_query_completion,
5331 REQ_set_completion_info,
5332 REQ_add_fd_completion,
5333 REQ_get_window_layered_info,
5334 REQ_set_window_layered_info,
5335 REQ_alloc_user_handle,
5336 REQ_free_user_handle,
5337 REQ_set_cursor,
5338 REQ_update_rawinput_devices,
5339 REQ_get_suspend_context,
5340 REQ_set_suspend_context,
5341 REQ_NB_REQUESTS
5344 union generic_request
5346 struct request_max_size max_size;
5347 struct request_header request_header;
5348 struct new_process_request new_process_request;
5349 struct get_new_process_info_request get_new_process_info_request;
5350 struct new_thread_request new_thread_request;
5351 struct get_startup_info_request get_startup_info_request;
5352 struct init_process_done_request init_process_done_request;
5353 struct init_thread_request init_thread_request;
5354 struct terminate_process_request terminate_process_request;
5355 struct terminate_thread_request terminate_thread_request;
5356 struct get_process_info_request get_process_info_request;
5357 struct set_process_info_request set_process_info_request;
5358 struct get_thread_info_request get_thread_info_request;
5359 struct set_thread_info_request set_thread_info_request;
5360 struct get_dll_info_request get_dll_info_request;
5361 struct suspend_thread_request suspend_thread_request;
5362 struct resume_thread_request resume_thread_request;
5363 struct load_dll_request load_dll_request;
5364 struct unload_dll_request unload_dll_request;
5365 struct queue_apc_request queue_apc_request;
5366 struct get_apc_result_request get_apc_result_request;
5367 struct close_handle_request close_handle_request;
5368 struct set_handle_info_request set_handle_info_request;
5369 struct dup_handle_request dup_handle_request;
5370 struct open_process_request open_process_request;
5371 struct open_thread_request open_thread_request;
5372 struct select_request select_request;
5373 struct create_event_request create_event_request;
5374 struct event_op_request event_op_request;
5375 struct query_event_request query_event_request;
5376 struct open_event_request open_event_request;
5377 struct create_keyed_event_request create_keyed_event_request;
5378 struct open_keyed_event_request open_keyed_event_request;
5379 struct create_mutex_request create_mutex_request;
5380 struct release_mutex_request release_mutex_request;
5381 struct open_mutex_request open_mutex_request;
5382 struct create_semaphore_request create_semaphore_request;
5383 struct release_semaphore_request release_semaphore_request;
5384 struct query_semaphore_request query_semaphore_request;
5385 struct open_semaphore_request open_semaphore_request;
5386 struct create_file_request create_file_request;
5387 struct open_file_object_request open_file_object_request;
5388 struct alloc_file_handle_request alloc_file_handle_request;
5389 struct get_handle_unix_name_request get_handle_unix_name_request;
5390 struct get_handle_fd_request get_handle_fd_request;
5391 struct flush_file_request flush_file_request;
5392 struct lock_file_request lock_file_request;
5393 struct unlock_file_request unlock_file_request;
5394 struct create_socket_request create_socket_request;
5395 struct accept_socket_request accept_socket_request;
5396 struct accept_into_socket_request accept_into_socket_request;
5397 struct set_socket_event_request set_socket_event_request;
5398 struct get_socket_event_request get_socket_event_request;
5399 struct get_socket_info_request get_socket_info_request;
5400 struct enable_socket_event_request enable_socket_event_request;
5401 struct set_socket_deferred_request set_socket_deferred_request;
5402 struct alloc_console_request alloc_console_request;
5403 struct free_console_request free_console_request;
5404 struct get_console_renderer_events_request get_console_renderer_events_request;
5405 struct open_console_request open_console_request;
5406 struct get_console_wait_event_request get_console_wait_event_request;
5407 struct get_console_mode_request get_console_mode_request;
5408 struct set_console_mode_request set_console_mode_request;
5409 struct set_console_input_info_request set_console_input_info_request;
5410 struct get_console_input_info_request get_console_input_info_request;
5411 struct append_console_input_history_request append_console_input_history_request;
5412 struct get_console_input_history_request get_console_input_history_request;
5413 struct create_console_output_request create_console_output_request;
5414 struct set_console_output_info_request set_console_output_info_request;
5415 struct get_console_output_info_request get_console_output_info_request;
5416 struct write_console_input_request write_console_input_request;
5417 struct read_console_input_request read_console_input_request;
5418 struct write_console_output_request write_console_output_request;
5419 struct fill_console_output_request fill_console_output_request;
5420 struct read_console_output_request read_console_output_request;
5421 struct move_console_output_request move_console_output_request;
5422 struct send_console_signal_request send_console_signal_request;
5423 struct read_directory_changes_request read_directory_changes_request;
5424 struct read_change_request read_change_request;
5425 struct create_mapping_request create_mapping_request;
5426 struct open_mapping_request open_mapping_request;
5427 struct get_mapping_info_request get_mapping_info_request;
5428 struct get_mapping_committed_range_request get_mapping_committed_range_request;
5429 struct add_mapping_committed_range_request add_mapping_committed_range_request;
5430 struct create_snapshot_request create_snapshot_request;
5431 struct next_process_request next_process_request;
5432 struct next_thread_request next_thread_request;
5433 struct wait_debug_event_request wait_debug_event_request;
5434 struct queue_exception_event_request queue_exception_event_request;
5435 struct get_exception_status_request get_exception_status_request;
5436 struct output_debug_string_request output_debug_string_request;
5437 struct continue_debug_event_request continue_debug_event_request;
5438 struct debug_process_request debug_process_request;
5439 struct debug_break_request debug_break_request;
5440 struct set_debugger_kill_on_exit_request set_debugger_kill_on_exit_request;
5441 struct read_process_memory_request read_process_memory_request;
5442 struct write_process_memory_request write_process_memory_request;
5443 struct create_key_request create_key_request;
5444 struct open_key_request open_key_request;
5445 struct delete_key_request delete_key_request;
5446 struct flush_key_request flush_key_request;
5447 struct enum_key_request enum_key_request;
5448 struct set_key_value_request set_key_value_request;
5449 struct get_key_value_request get_key_value_request;
5450 struct enum_key_value_request enum_key_value_request;
5451 struct delete_key_value_request delete_key_value_request;
5452 struct load_registry_request load_registry_request;
5453 struct unload_registry_request unload_registry_request;
5454 struct save_registry_request save_registry_request;
5455 struct set_registry_notification_request set_registry_notification_request;
5456 struct create_timer_request create_timer_request;
5457 struct open_timer_request open_timer_request;
5458 struct set_timer_request set_timer_request;
5459 struct cancel_timer_request cancel_timer_request;
5460 struct get_timer_info_request get_timer_info_request;
5461 struct get_thread_context_request get_thread_context_request;
5462 struct set_thread_context_request set_thread_context_request;
5463 struct get_selector_entry_request get_selector_entry_request;
5464 struct add_atom_request add_atom_request;
5465 struct delete_atom_request delete_atom_request;
5466 struct find_atom_request find_atom_request;
5467 struct get_atom_information_request get_atom_information_request;
5468 struct set_atom_information_request set_atom_information_request;
5469 struct empty_atom_table_request empty_atom_table_request;
5470 struct init_atom_table_request init_atom_table_request;
5471 struct get_msg_queue_request get_msg_queue_request;
5472 struct set_queue_fd_request set_queue_fd_request;
5473 struct set_queue_mask_request set_queue_mask_request;
5474 struct get_queue_status_request get_queue_status_request;
5475 struct get_process_idle_event_request get_process_idle_event_request;
5476 struct send_message_request send_message_request;
5477 struct post_quit_message_request post_quit_message_request;
5478 struct send_hardware_message_request send_hardware_message_request;
5479 struct get_message_request get_message_request;
5480 struct reply_message_request reply_message_request;
5481 struct accept_hardware_message_request accept_hardware_message_request;
5482 struct get_message_reply_request get_message_reply_request;
5483 struct set_win_timer_request set_win_timer_request;
5484 struct kill_win_timer_request kill_win_timer_request;
5485 struct is_window_hung_request is_window_hung_request;
5486 struct get_serial_info_request get_serial_info_request;
5487 struct set_serial_info_request set_serial_info_request;
5488 struct register_async_request register_async_request;
5489 struct cancel_async_request cancel_async_request;
5490 struct ioctl_request ioctl_request;
5491 struct get_ioctl_result_request get_ioctl_result_request;
5492 struct create_named_pipe_request create_named_pipe_request;
5493 struct get_named_pipe_info_request get_named_pipe_info_request;
5494 struct create_window_request create_window_request;
5495 struct destroy_window_request destroy_window_request;
5496 struct get_desktop_window_request get_desktop_window_request;
5497 struct set_window_owner_request set_window_owner_request;
5498 struct get_window_info_request get_window_info_request;
5499 struct set_window_info_request set_window_info_request;
5500 struct set_parent_request set_parent_request;
5501 struct get_window_parents_request get_window_parents_request;
5502 struct get_window_children_request get_window_children_request;
5503 struct get_window_children_from_point_request get_window_children_from_point_request;
5504 struct get_window_tree_request get_window_tree_request;
5505 struct set_window_pos_request set_window_pos_request;
5506 struct get_window_rectangles_request get_window_rectangles_request;
5507 struct get_window_text_request get_window_text_request;
5508 struct set_window_text_request set_window_text_request;
5509 struct get_windows_offset_request get_windows_offset_request;
5510 struct get_visible_region_request get_visible_region_request;
5511 struct get_surface_region_request get_surface_region_request;
5512 struct get_window_region_request get_window_region_request;
5513 struct set_window_region_request set_window_region_request;
5514 struct get_update_region_request get_update_region_request;
5515 struct update_window_zorder_request update_window_zorder_request;
5516 struct redraw_window_request redraw_window_request;
5517 struct set_window_property_request set_window_property_request;
5518 struct remove_window_property_request remove_window_property_request;
5519 struct get_window_property_request get_window_property_request;
5520 struct get_window_properties_request get_window_properties_request;
5521 struct create_winstation_request create_winstation_request;
5522 struct open_winstation_request open_winstation_request;
5523 struct close_winstation_request close_winstation_request;
5524 struct get_process_winstation_request get_process_winstation_request;
5525 struct set_process_winstation_request set_process_winstation_request;
5526 struct enum_winstation_request enum_winstation_request;
5527 struct create_desktop_request create_desktop_request;
5528 struct open_desktop_request open_desktop_request;
5529 struct open_input_desktop_request open_input_desktop_request;
5530 struct close_desktop_request close_desktop_request;
5531 struct get_thread_desktop_request get_thread_desktop_request;
5532 struct set_thread_desktop_request set_thread_desktop_request;
5533 struct enum_desktop_request enum_desktop_request;
5534 struct set_user_object_info_request set_user_object_info_request;
5535 struct register_hotkey_request register_hotkey_request;
5536 struct unregister_hotkey_request unregister_hotkey_request;
5537 struct attach_thread_input_request attach_thread_input_request;
5538 struct get_thread_input_request get_thread_input_request;
5539 struct get_last_input_time_request get_last_input_time_request;
5540 struct get_key_state_request get_key_state_request;
5541 struct set_key_state_request set_key_state_request;
5542 struct set_foreground_window_request set_foreground_window_request;
5543 struct set_focus_window_request set_focus_window_request;
5544 struct set_active_window_request set_active_window_request;
5545 struct set_capture_window_request set_capture_window_request;
5546 struct set_caret_window_request set_caret_window_request;
5547 struct set_caret_info_request set_caret_info_request;
5548 struct set_hook_request set_hook_request;
5549 struct remove_hook_request remove_hook_request;
5550 struct start_hook_chain_request start_hook_chain_request;
5551 struct finish_hook_chain_request finish_hook_chain_request;
5552 struct get_hook_info_request get_hook_info_request;
5553 struct create_class_request create_class_request;
5554 struct destroy_class_request destroy_class_request;
5555 struct set_class_info_request set_class_info_request;
5556 struct set_clipboard_info_request set_clipboard_info_request;
5557 struct open_token_request open_token_request;
5558 struct set_global_windows_request set_global_windows_request;
5559 struct adjust_token_privileges_request adjust_token_privileges_request;
5560 struct get_token_privileges_request get_token_privileges_request;
5561 struct check_token_privileges_request check_token_privileges_request;
5562 struct duplicate_token_request duplicate_token_request;
5563 struct access_check_request access_check_request;
5564 struct get_token_sid_request get_token_sid_request;
5565 struct get_token_groups_request get_token_groups_request;
5566 struct get_token_default_dacl_request get_token_default_dacl_request;
5567 struct set_token_default_dacl_request set_token_default_dacl_request;
5568 struct set_security_object_request set_security_object_request;
5569 struct get_security_object_request get_security_object_request;
5570 struct create_mailslot_request create_mailslot_request;
5571 struct set_mailslot_info_request set_mailslot_info_request;
5572 struct create_directory_request create_directory_request;
5573 struct open_directory_request open_directory_request;
5574 struct get_directory_entry_request get_directory_entry_request;
5575 struct create_symlink_request create_symlink_request;
5576 struct open_symlink_request open_symlink_request;
5577 struct query_symlink_request query_symlink_request;
5578 struct get_object_info_request get_object_info_request;
5579 struct unlink_object_request unlink_object_request;
5580 struct get_token_impersonation_level_request get_token_impersonation_level_request;
5581 struct allocate_locally_unique_id_request allocate_locally_unique_id_request;
5582 struct create_device_manager_request create_device_manager_request;
5583 struct create_device_request create_device_request;
5584 struct delete_device_request delete_device_request;
5585 struct get_next_device_request_request get_next_device_request_request;
5586 struct make_process_system_request make_process_system_request;
5587 struct get_token_statistics_request get_token_statistics_request;
5588 struct create_completion_request create_completion_request;
5589 struct open_completion_request open_completion_request;
5590 struct add_completion_request add_completion_request;
5591 struct remove_completion_request remove_completion_request;
5592 struct query_completion_request query_completion_request;
5593 struct set_completion_info_request set_completion_info_request;
5594 struct add_fd_completion_request add_fd_completion_request;
5595 struct get_window_layered_info_request get_window_layered_info_request;
5596 struct set_window_layered_info_request set_window_layered_info_request;
5597 struct alloc_user_handle_request alloc_user_handle_request;
5598 struct free_user_handle_request free_user_handle_request;
5599 struct set_cursor_request set_cursor_request;
5600 struct update_rawinput_devices_request update_rawinput_devices_request;
5601 struct get_suspend_context_request get_suspend_context_request;
5602 struct set_suspend_context_request set_suspend_context_request;
5604 union generic_reply
5606 struct request_max_size max_size;
5607 struct reply_header reply_header;
5608 struct new_process_reply new_process_reply;
5609 struct get_new_process_info_reply get_new_process_info_reply;
5610 struct new_thread_reply new_thread_reply;
5611 struct get_startup_info_reply get_startup_info_reply;
5612 struct init_process_done_reply init_process_done_reply;
5613 struct init_thread_reply init_thread_reply;
5614 struct terminate_process_reply terminate_process_reply;
5615 struct terminate_thread_reply terminate_thread_reply;
5616 struct get_process_info_reply get_process_info_reply;
5617 struct set_process_info_reply set_process_info_reply;
5618 struct get_thread_info_reply get_thread_info_reply;
5619 struct set_thread_info_reply set_thread_info_reply;
5620 struct get_dll_info_reply get_dll_info_reply;
5621 struct suspend_thread_reply suspend_thread_reply;
5622 struct resume_thread_reply resume_thread_reply;
5623 struct load_dll_reply load_dll_reply;
5624 struct unload_dll_reply unload_dll_reply;
5625 struct queue_apc_reply queue_apc_reply;
5626 struct get_apc_result_reply get_apc_result_reply;
5627 struct close_handle_reply close_handle_reply;
5628 struct set_handle_info_reply set_handle_info_reply;
5629 struct dup_handle_reply dup_handle_reply;
5630 struct open_process_reply open_process_reply;
5631 struct open_thread_reply open_thread_reply;
5632 struct select_reply select_reply;
5633 struct create_event_reply create_event_reply;
5634 struct event_op_reply event_op_reply;
5635 struct query_event_reply query_event_reply;
5636 struct open_event_reply open_event_reply;
5637 struct create_keyed_event_reply create_keyed_event_reply;
5638 struct open_keyed_event_reply open_keyed_event_reply;
5639 struct create_mutex_reply create_mutex_reply;
5640 struct release_mutex_reply release_mutex_reply;
5641 struct open_mutex_reply open_mutex_reply;
5642 struct create_semaphore_reply create_semaphore_reply;
5643 struct release_semaphore_reply release_semaphore_reply;
5644 struct query_semaphore_reply query_semaphore_reply;
5645 struct open_semaphore_reply open_semaphore_reply;
5646 struct create_file_reply create_file_reply;
5647 struct open_file_object_reply open_file_object_reply;
5648 struct alloc_file_handle_reply alloc_file_handle_reply;
5649 struct get_handle_unix_name_reply get_handle_unix_name_reply;
5650 struct get_handle_fd_reply get_handle_fd_reply;
5651 struct flush_file_reply flush_file_reply;
5652 struct lock_file_reply lock_file_reply;
5653 struct unlock_file_reply unlock_file_reply;
5654 struct create_socket_reply create_socket_reply;
5655 struct accept_socket_reply accept_socket_reply;
5656 struct accept_into_socket_reply accept_into_socket_reply;
5657 struct set_socket_event_reply set_socket_event_reply;
5658 struct get_socket_event_reply get_socket_event_reply;
5659 struct get_socket_info_reply get_socket_info_reply;
5660 struct enable_socket_event_reply enable_socket_event_reply;
5661 struct set_socket_deferred_reply set_socket_deferred_reply;
5662 struct alloc_console_reply alloc_console_reply;
5663 struct free_console_reply free_console_reply;
5664 struct get_console_renderer_events_reply get_console_renderer_events_reply;
5665 struct open_console_reply open_console_reply;
5666 struct get_console_wait_event_reply get_console_wait_event_reply;
5667 struct get_console_mode_reply get_console_mode_reply;
5668 struct set_console_mode_reply set_console_mode_reply;
5669 struct set_console_input_info_reply set_console_input_info_reply;
5670 struct get_console_input_info_reply get_console_input_info_reply;
5671 struct append_console_input_history_reply append_console_input_history_reply;
5672 struct get_console_input_history_reply get_console_input_history_reply;
5673 struct create_console_output_reply create_console_output_reply;
5674 struct set_console_output_info_reply set_console_output_info_reply;
5675 struct get_console_output_info_reply get_console_output_info_reply;
5676 struct write_console_input_reply write_console_input_reply;
5677 struct read_console_input_reply read_console_input_reply;
5678 struct write_console_output_reply write_console_output_reply;
5679 struct fill_console_output_reply fill_console_output_reply;
5680 struct read_console_output_reply read_console_output_reply;
5681 struct move_console_output_reply move_console_output_reply;
5682 struct send_console_signal_reply send_console_signal_reply;
5683 struct read_directory_changes_reply read_directory_changes_reply;
5684 struct read_change_reply read_change_reply;
5685 struct create_mapping_reply create_mapping_reply;
5686 struct open_mapping_reply open_mapping_reply;
5687 struct get_mapping_info_reply get_mapping_info_reply;
5688 struct get_mapping_committed_range_reply get_mapping_committed_range_reply;
5689 struct add_mapping_committed_range_reply add_mapping_committed_range_reply;
5690 struct create_snapshot_reply create_snapshot_reply;
5691 struct next_process_reply next_process_reply;
5692 struct next_thread_reply next_thread_reply;
5693 struct wait_debug_event_reply wait_debug_event_reply;
5694 struct queue_exception_event_reply queue_exception_event_reply;
5695 struct get_exception_status_reply get_exception_status_reply;
5696 struct output_debug_string_reply output_debug_string_reply;
5697 struct continue_debug_event_reply continue_debug_event_reply;
5698 struct debug_process_reply debug_process_reply;
5699 struct debug_break_reply debug_break_reply;
5700 struct set_debugger_kill_on_exit_reply set_debugger_kill_on_exit_reply;
5701 struct read_process_memory_reply read_process_memory_reply;
5702 struct write_process_memory_reply write_process_memory_reply;
5703 struct create_key_reply create_key_reply;
5704 struct open_key_reply open_key_reply;
5705 struct delete_key_reply delete_key_reply;
5706 struct flush_key_reply flush_key_reply;
5707 struct enum_key_reply enum_key_reply;
5708 struct set_key_value_reply set_key_value_reply;
5709 struct get_key_value_reply get_key_value_reply;
5710 struct enum_key_value_reply enum_key_value_reply;
5711 struct delete_key_value_reply delete_key_value_reply;
5712 struct load_registry_reply load_registry_reply;
5713 struct unload_registry_reply unload_registry_reply;
5714 struct save_registry_reply save_registry_reply;
5715 struct set_registry_notification_reply set_registry_notification_reply;
5716 struct create_timer_reply create_timer_reply;
5717 struct open_timer_reply open_timer_reply;
5718 struct set_timer_reply set_timer_reply;
5719 struct cancel_timer_reply cancel_timer_reply;
5720 struct get_timer_info_reply get_timer_info_reply;
5721 struct get_thread_context_reply get_thread_context_reply;
5722 struct set_thread_context_reply set_thread_context_reply;
5723 struct get_selector_entry_reply get_selector_entry_reply;
5724 struct add_atom_reply add_atom_reply;
5725 struct delete_atom_reply delete_atom_reply;
5726 struct find_atom_reply find_atom_reply;
5727 struct get_atom_information_reply get_atom_information_reply;
5728 struct set_atom_information_reply set_atom_information_reply;
5729 struct empty_atom_table_reply empty_atom_table_reply;
5730 struct init_atom_table_reply init_atom_table_reply;
5731 struct get_msg_queue_reply get_msg_queue_reply;
5732 struct set_queue_fd_reply set_queue_fd_reply;
5733 struct set_queue_mask_reply set_queue_mask_reply;
5734 struct get_queue_status_reply get_queue_status_reply;
5735 struct get_process_idle_event_reply get_process_idle_event_reply;
5736 struct send_message_reply send_message_reply;
5737 struct post_quit_message_reply post_quit_message_reply;
5738 struct send_hardware_message_reply send_hardware_message_reply;
5739 struct get_message_reply get_message_reply;
5740 struct reply_message_reply reply_message_reply;
5741 struct accept_hardware_message_reply accept_hardware_message_reply;
5742 struct get_message_reply_reply get_message_reply_reply;
5743 struct set_win_timer_reply set_win_timer_reply;
5744 struct kill_win_timer_reply kill_win_timer_reply;
5745 struct is_window_hung_reply is_window_hung_reply;
5746 struct get_serial_info_reply get_serial_info_reply;
5747 struct set_serial_info_reply set_serial_info_reply;
5748 struct register_async_reply register_async_reply;
5749 struct cancel_async_reply cancel_async_reply;
5750 struct ioctl_reply ioctl_reply;
5751 struct get_ioctl_result_reply get_ioctl_result_reply;
5752 struct create_named_pipe_reply create_named_pipe_reply;
5753 struct get_named_pipe_info_reply get_named_pipe_info_reply;
5754 struct create_window_reply create_window_reply;
5755 struct destroy_window_reply destroy_window_reply;
5756 struct get_desktop_window_reply get_desktop_window_reply;
5757 struct set_window_owner_reply set_window_owner_reply;
5758 struct get_window_info_reply get_window_info_reply;
5759 struct set_window_info_reply set_window_info_reply;
5760 struct set_parent_reply set_parent_reply;
5761 struct get_window_parents_reply get_window_parents_reply;
5762 struct get_window_children_reply get_window_children_reply;
5763 struct get_window_children_from_point_reply get_window_children_from_point_reply;
5764 struct get_window_tree_reply get_window_tree_reply;
5765 struct set_window_pos_reply set_window_pos_reply;
5766 struct get_window_rectangles_reply get_window_rectangles_reply;
5767 struct get_window_text_reply get_window_text_reply;
5768 struct set_window_text_reply set_window_text_reply;
5769 struct get_windows_offset_reply get_windows_offset_reply;
5770 struct get_visible_region_reply get_visible_region_reply;
5771 struct get_surface_region_reply get_surface_region_reply;
5772 struct get_window_region_reply get_window_region_reply;
5773 struct set_window_region_reply set_window_region_reply;
5774 struct get_update_region_reply get_update_region_reply;
5775 struct update_window_zorder_reply update_window_zorder_reply;
5776 struct redraw_window_reply redraw_window_reply;
5777 struct set_window_property_reply set_window_property_reply;
5778 struct remove_window_property_reply remove_window_property_reply;
5779 struct get_window_property_reply get_window_property_reply;
5780 struct get_window_properties_reply get_window_properties_reply;
5781 struct create_winstation_reply create_winstation_reply;
5782 struct open_winstation_reply open_winstation_reply;
5783 struct close_winstation_reply close_winstation_reply;
5784 struct get_process_winstation_reply get_process_winstation_reply;
5785 struct set_process_winstation_reply set_process_winstation_reply;
5786 struct enum_winstation_reply enum_winstation_reply;
5787 struct create_desktop_reply create_desktop_reply;
5788 struct open_desktop_reply open_desktop_reply;
5789 struct open_input_desktop_reply open_input_desktop_reply;
5790 struct close_desktop_reply close_desktop_reply;
5791 struct get_thread_desktop_reply get_thread_desktop_reply;
5792 struct set_thread_desktop_reply set_thread_desktop_reply;
5793 struct enum_desktop_reply enum_desktop_reply;
5794 struct set_user_object_info_reply set_user_object_info_reply;
5795 struct register_hotkey_reply register_hotkey_reply;
5796 struct unregister_hotkey_reply unregister_hotkey_reply;
5797 struct attach_thread_input_reply attach_thread_input_reply;
5798 struct get_thread_input_reply get_thread_input_reply;
5799 struct get_last_input_time_reply get_last_input_time_reply;
5800 struct get_key_state_reply get_key_state_reply;
5801 struct set_key_state_reply set_key_state_reply;
5802 struct set_foreground_window_reply set_foreground_window_reply;
5803 struct set_focus_window_reply set_focus_window_reply;
5804 struct set_active_window_reply set_active_window_reply;
5805 struct set_capture_window_reply set_capture_window_reply;
5806 struct set_caret_window_reply set_caret_window_reply;
5807 struct set_caret_info_reply set_caret_info_reply;
5808 struct set_hook_reply set_hook_reply;
5809 struct remove_hook_reply remove_hook_reply;
5810 struct start_hook_chain_reply start_hook_chain_reply;
5811 struct finish_hook_chain_reply finish_hook_chain_reply;
5812 struct get_hook_info_reply get_hook_info_reply;
5813 struct create_class_reply create_class_reply;
5814 struct destroy_class_reply destroy_class_reply;
5815 struct set_class_info_reply set_class_info_reply;
5816 struct set_clipboard_info_reply set_clipboard_info_reply;
5817 struct open_token_reply open_token_reply;
5818 struct set_global_windows_reply set_global_windows_reply;
5819 struct adjust_token_privileges_reply adjust_token_privileges_reply;
5820 struct get_token_privileges_reply get_token_privileges_reply;
5821 struct check_token_privileges_reply check_token_privileges_reply;
5822 struct duplicate_token_reply duplicate_token_reply;
5823 struct access_check_reply access_check_reply;
5824 struct get_token_sid_reply get_token_sid_reply;
5825 struct get_token_groups_reply get_token_groups_reply;
5826 struct get_token_default_dacl_reply get_token_default_dacl_reply;
5827 struct set_token_default_dacl_reply set_token_default_dacl_reply;
5828 struct set_security_object_reply set_security_object_reply;
5829 struct get_security_object_reply get_security_object_reply;
5830 struct create_mailslot_reply create_mailslot_reply;
5831 struct set_mailslot_info_reply set_mailslot_info_reply;
5832 struct create_directory_reply create_directory_reply;
5833 struct open_directory_reply open_directory_reply;
5834 struct get_directory_entry_reply get_directory_entry_reply;
5835 struct create_symlink_reply create_symlink_reply;
5836 struct open_symlink_reply open_symlink_reply;
5837 struct query_symlink_reply query_symlink_reply;
5838 struct get_object_info_reply get_object_info_reply;
5839 struct unlink_object_reply unlink_object_reply;
5840 struct get_token_impersonation_level_reply get_token_impersonation_level_reply;
5841 struct allocate_locally_unique_id_reply allocate_locally_unique_id_reply;
5842 struct create_device_manager_reply create_device_manager_reply;
5843 struct create_device_reply create_device_reply;
5844 struct delete_device_reply delete_device_reply;
5845 struct get_next_device_request_reply get_next_device_request_reply;
5846 struct make_process_system_reply make_process_system_reply;
5847 struct get_token_statistics_reply get_token_statistics_reply;
5848 struct create_completion_reply create_completion_reply;
5849 struct open_completion_reply open_completion_reply;
5850 struct add_completion_reply add_completion_reply;
5851 struct remove_completion_reply remove_completion_reply;
5852 struct query_completion_reply query_completion_reply;
5853 struct set_completion_info_reply set_completion_info_reply;
5854 struct add_fd_completion_reply add_fd_completion_reply;
5855 struct get_window_layered_info_reply get_window_layered_info_reply;
5856 struct set_window_layered_info_reply set_window_layered_info_reply;
5857 struct alloc_user_handle_reply alloc_user_handle_reply;
5858 struct free_user_handle_reply free_user_handle_reply;
5859 struct set_cursor_reply set_cursor_reply;
5860 struct update_rawinput_devices_reply update_rawinput_devices_reply;
5861 struct get_suspend_context_reply get_suspend_context_reply;
5862 struct set_suspend_context_reply set_suspend_context_reply;
5865 #define SERVER_PROTOCOL_VERSION 454
5867 #endif /* __WINE_WINE_SERVER_PROTOCOL_H */