server: Fix the string type in traces for I/O completion names.
[wine.git] / include / wine / server_protocol.h
blob0205131fb5b8aa255011b0cfdc9a2f428ffedf3b
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 } debug_event_t;
118 enum cpu_type
120 CPU_x86, CPU_x86_64, CPU_POWERPC, CPU_ARM, CPU_ARM64
122 typedef int cpu_type_t;
125 typedef struct
127 cpu_type_t cpu;
128 unsigned int flags;
129 union
131 struct { unsigned int eip, ebp, esp, eflags, cs, ss; } i386_regs;
132 struct { unsigned __int64 rip, rbp, rsp;
133 unsigned int cs, ss, flags, __pad; } x86_64_regs;
134 struct { unsigned int iar, msr, ctr, lr, dar, dsisr, trap, __pad; } powerpc_regs;
135 struct { unsigned int sp, lr, pc, cpsr; } arm_regs;
136 struct { unsigned __int64 sp, pc, pstate; } arm64_regs;
137 } ctl;
138 union
140 struct { unsigned int eax, ebx, ecx, edx, esi, edi; } i386_regs;
141 struct { unsigned __int64 rax,rbx, rcx, rdx, rsi, rdi,
142 r8, r9, r10, r11, r12, r13, r14, r15; } x86_64_regs;
143 struct { unsigned int gpr[32], cr, xer; } powerpc_regs;
144 struct { unsigned int r[13]; } arm_regs;
145 struct { unsigned __int64 x[31]; } arm64_regs;
146 } integer;
147 union
149 struct { unsigned int ds, es, fs, gs; } i386_regs;
150 struct { unsigned int ds, es, fs, gs; } x86_64_regs;
151 } seg;
152 union
154 struct { unsigned int ctrl, status, tag, err_off, err_sel, data_off, data_sel, cr0npx;
155 unsigned char regs[80]; } i386_regs;
156 struct { struct { unsigned __int64 low, high; } fpregs[32]; } x86_64_regs;
157 struct { double fpr[32], fpscr; } powerpc_regs;
158 } fp;
159 union
161 struct { unsigned int dr0, dr1, dr2, dr3, dr6, dr7; } i386_regs;
162 struct { unsigned __int64 dr0, dr1, dr2, dr3, dr6, dr7; } x86_64_regs;
163 struct { unsigned int dr[8]; } powerpc_regs;
164 } debug;
165 union
167 unsigned char i386_regs[512];
168 } ext;
169 } context_t;
171 #define SERVER_CTX_CONTROL 0x01
172 #define SERVER_CTX_INTEGER 0x02
173 #define SERVER_CTX_SEGMENTS 0x04
174 #define SERVER_CTX_FLOATING_POINT 0x08
175 #define SERVER_CTX_DEBUG_REGISTERS 0x10
176 #define SERVER_CTX_EXTENDED_REGISTERS 0x20
179 struct send_fd
181 thread_id_t tid;
182 int fd;
186 struct wake_up_reply
188 client_ptr_t cookie;
189 int signaled;
190 int __pad;
194 typedef __int64 timeout_t;
195 #define TIMEOUT_INFINITE (((timeout_t)0x7fffffff) << 32 | 0xffffffff)
198 typedef struct
200 unsigned int debug_flags;
201 unsigned int console_flags;
202 obj_handle_t console;
203 obj_handle_t hstdin;
204 obj_handle_t hstdout;
205 obj_handle_t hstderr;
206 unsigned int x;
207 unsigned int y;
208 unsigned int xsize;
209 unsigned int ysize;
210 unsigned int xchars;
211 unsigned int ychars;
212 unsigned int attribute;
213 unsigned int flags;
214 unsigned int show;
215 data_size_t curdir_len;
216 data_size_t dllpath_len;
217 data_size_t imagepath_len;
218 data_size_t cmdline_len;
219 data_size_t title_len;
220 data_size_t desktop_len;
221 data_size_t shellinfo_len;
222 data_size_t runtime_len;
231 } startup_info_t;
234 typedef struct
236 atom_t atom;
237 int string;
238 lparam_t data;
239 } property_data_t;
242 typedef struct
244 int left;
245 int top;
246 int right;
247 int bottom;
248 } rectangle_t;
251 typedef struct
253 obj_handle_t handle;
254 obj_handle_t event;
255 client_ptr_t callback;
256 client_ptr_t iosb;
257 client_ptr_t arg;
258 apc_param_t cvalue;
259 } async_data_t;
263 struct hardware_msg_data
265 lparam_t info;
266 int x;
267 int y;
268 unsigned int hw_id;
269 unsigned int flags;
270 union
272 int type;
273 struct
275 int type;
276 unsigned int message;
277 unsigned short vkey;
278 unsigned short scan;
279 } kbd;
280 struct
282 int type;
283 int x;
284 int y;
285 unsigned int data;
286 } mouse;
287 } rawinput;
290 struct callback_msg_data
292 client_ptr_t callback;
293 lparam_t data;
294 lparam_t result;
297 struct winevent_msg_data
299 user_handle_t hook;
300 thread_id_t tid;
301 client_ptr_t hook_proc;
305 typedef union
307 int type;
308 struct
310 int type;
311 unsigned short vkey;
312 unsigned short scan;
313 unsigned int flags;
314 unsigned int time;
315 lparam_t info;
316 } kbd;
317 struct
319 int type;
320 int x;
321 int y;
322 unsigned int data;
323 unsigned int flags;
324 unsigned int time;
325 lparam_t info;
326 } mouse;
327 struct
329 int type;
330 unsigned int msg;
331 lparam_t lparam;
332 } hw;
333 } hw_input_t;
335 typedef union
337 unsigned char bytes[1];
338 struct hardware_msg_data hardware;
339 struct callback_msg_data callback;
340 struct winevent_msg_data winevent;
341 } message_data_t;
344 typedef struct
346 WCHAR ch;
347 unsigned short attr;
348 } char_info_t;
351 struct filesystem_event
353 int action;
354 data_size_t len;
355 char name[1];
358 typedef struct
360 unsigned int low_part;
361 int high_part;
362 } luid_t;
364 #define MAX_ACL_LEN 65535
366 struct security_descriptor
368 unsigned int control;
369 data_size_t owner_len;
370 data_size_t group_len;
371 data_size_t sacl_len;
372 data_size_t dacl_len;
379 struct object_attributes
381 obj_handle_t rootdir;
382 data_size_t sd_len;
383 data_size_t name_len;
388 struct token_groups
390 unsigned int count;
395 enum select_op
397 SELECT_NONE,
398 SELECT_WAIT,
399 SELECT_WAIT_ALL,
400 SELECT_SIGNAL_AND_WAIT,
401 SELECT_KEYED_EVENT_WAIT,
402 SELECT_KEYED_EVENT_RELEASE
405 typedef union
407 enum select_op op;
408 struct
410 enum select_op op;
411 obj_handle_t handles[MAXIMUM_WAIT_OBJECTS];
412 } wait;
413 struct
415 enum select_op op;
416 obj_handle_t wait;
417 obj_handle_t signal;
418 } signal_and_wait;
419 struct
421 enum select_op op;
422 obj_handle_t handle;
423 client_ptr_t key;
424 } keyed_event;
425 } select_op_t;
427 enum apc_type
429 APC_NONE,
430 APC_USER,
431 APC_TIMER,
432 APC_ASYNC_IO,
433 APC_VIRTUAL_ALLOC,
434 APC_VIRTUAL_FREE,
435 APC_VIRTUAL_QUERY,
436 APC_VIRTUAL_PROTECT,
437 APC_VIRTUAL_FLUSH,
438 APC_VIRTUAL_LOCK,
439 APC_VIRTUAL_UNLOCK,
440 APC_MAP_VIEW,
441 APC_UNMAP_VIEW,
442 APC_CREATE_THREAD
445 typedef union
447 enum apc_type type;
448 struct
450 enum apc_type type;
451 int __pad;
452 client_ptr_t func;
453 apc_param_t args[3];
454 } user;
455 struct
457 enum apc_type type;
458 int __pad;
459 client_ptr_t func;
460 timeout_t time;
461 client_ptr_t arg;
462 } timer;
463 struct
465 enum apc_type type;
466 unsigned int status;
467 client_ptr_t func;
468 client_ptr_t user;
469 client_ptr_t sb;
470 } async_io;
471 struct
473 enum apc_type type;
474 unsigned int op_type;
475 client_ptr_t addr;
476 mem_size_t size;
477 unsigned int zero_bits;
478 unsigned int prot;
479 } virtual_alloc;
480 struct
482 enum apc_type type;
483 unsigned int op_type;
484 client_ptr_t addr;
485 mem_size_t size;
486 } virtual_free;
487 struct
489 enum apc_type type;
490 int __pad;
491 client_ptr_t addr;
492 } virtual_query;
493 struct
495 enum apc_type type;
496 unsigned int prot;
497 client_ptr_t addr;
498 mem_size_t size;
499 } virtual_protect;
500 struct
502 enum apc_type type;
503 int __pad;
504 client_ptr_t addr;
505 mem_size_t size;
506 } virtual_flush;
507 struct
509 enum apc_type type;
510 int __pad;
511 client_ptr_t addr;
512 mem_size_t size;
513 } virtual_lock;
514 struct
516 enum apc_type type;
517 int __pad;
518 client_ptr_t addr;
519 mem_size_t size;
520 } virtual_unlock;
521 struct
523 enum apc_type type;
524 obj_handle_t handle;
525 client_ptr_t addr;
526 mem_size_t size;
527 file_pos_t offset;
528 unsigned int alloc_type;
529 unsigned short zero_bits;
530 unsigned short prot;
531 } map_view;
532 struct
534 enum apc_type type;
535 int __pad;
536 client_ptr_t addr;
537 } unmap_view;
538 struct
540 enum apc_type type;
541 int suspend;
542 client_ptr_t func;
543 client_ptr_t arg;
544 mem_size_t reserve;
545 mem_size_t commit;
546 } create_thread;
547 } apc_call_t;
549 typedef union
551 enum apc_type type;
552 struct
554 enum apc_type type;
555 unsigned int status;
556 client_ptr_t apc;
557 client_ptr_t arg;
558 unsigned int total;
559 } async_io;
560 struct
562 enum apc_type type;
563 unsigned int status;
564 client_ptr_t addr;
565 mem_size_t size;
566 } virtual_alloc;
567 struct
569 enum apc_type type;
570 unsigned int status;
571 client_ptr_t addr;
572 mem_size_t size;
573 } virtual_free;
574 struct
576 enum apc_type type;
577 unsigned int status;
578 client_ptr_t base;
579 client_ptr_t alloc_base;
580 mem_size_t size;
581 unsigned short state;
582 unsigned short prot;
583 unsigned short alloc_prot;
584 unsigned short alloc_type;
585 } virtual_query;
586 struct
588 enum apc_type type;
589 unsigned int status;
590 client_ptr_t addr;
591 mem_size_t size;
592 unsigned int prot;
593 } virtual_protect;
594 struct
596 enum apc_type type;
597 unsigned int status;
598 client_ptr_t addr;
599 mem_size_t size;
600 } virtual_flush;
601 struct
603 enum apc_type type;
604 unsigned int status;
605 client_ptr_t addr;
606 mem_size_t size;
607 } virtual_lock;
608 struct
610 enum apc_type type;
611 unsigned int status;
612 client_ptr_t addr;
613 mem_size_t size;
614 } virtual_unlock;
615 struct
617 enum apc_type type;
618 unsigned int status;
619 client_ptr_t addr;
620 mem_size_t size;
621 } map_view;
622 struct
624 enum apc_type type;
625 unsigned int status;
626 } unmap_view;
627 struct
629 enum apc_type type;
630 unsigned int status;
631 thread_id_t tid;
632 obj_handle_t handle;
633 } create_thread;
634 } apc_result_t;
636 struct rawinput_device
638 unsigned short usage_page;
639 unsigned short usage;
640 unsigned int flags;
641 user_handle_t target;
648 struct new_process_request
650 struct request_header __header;
651 int inherit_all;
652 unsigned int create_flags;
653 int socket_fd;
654 obj_handle_t exe_file;
655 unsigned int process_access;
656 unsigned int process_attr;
657 unsigned int thread_access;
658 unsigned int thread_attr;
659 cpu_type_t cpu;
660 data_size_t info_size;
661 /* VARARG(info,startup_info,info_size); */
662 /* VARARG(env,unicode_str); */
663 char __pad_52[4];
665 struct new_process_reply
667 struct reply_header __header;
668 obj_handle_t info;
669 process_id_t pid;
670 obj_handle_t phandle;
671 thread_id_t tid;
672 obj_handle_t thandle;
673 char __pad_28[4];
678 struct get_new_process_info_request
680 struct request_header __header;
681 obj_handle_t info;
683 struct get_new_process_info_reply
685 struct reply_header __header;
686 int success;
687 int exit_code;
692 struct new_thread_request
694 struct request_header __header;
695 unsigned int access;
696 unsigned int attributes;
697 int suspend;
698 int request_fd;
699 char __pad_28[4];
701 struct new_thread_reply
703 struct reply_header __header;
704 thread_id_t tid;
705 obj_handle_t handle;
710 struct get_startup_info_request
712 struct request_header __header;
713 char __pad_12[4];
715 struct get_startup_info_reply
717 struct reply_header __header;
718 obj_handle_t exe_file;
719 data_size_t info_size;
720 /* VARARG(info,startup_info,info_size); */
721 /* VARARG(env,unicode_str); */
726 struct init_process_done_request
728 struct request_header __header;
729 int gui;
730 mod_handle_t module;
731 client_ptr_t ldt_copy;
732 client_ptr_t entry;
734 struct init_process_done_reply
736 struct reply_header __header;
741 struct init_thread_request
743 struct request_header __header;
744 int unix_pid;
745 int unix_tid;
746 int debug_level;
747 client_ptr_t teb;
748 client_ptr_t entry;
749 int reply_fd;
750 int wait_fd;
751 cpu_type_t cpu;
752 char __pad_52[4];
754 struct init_thread_reply
756 struct reply_header __header;
757 process_id_t pid;
758 thread_id_t tid;
759 timeout_t server_start;
760 data_size_t info_size;
761 int version;
762 unsigned int all_cpus;
763 char __pad_36[4];
768 struct terminate_process_request
770 struct request_header __header;
771 obj_handle_t handle;
772 int exit_code;
773 char __pad_20[4];
775 struct terminate_process_reply
777 struct reply_header __header;
778 int self;
779 char __pad_12[4];
784 struct terminate_thread_request
786 struct request_header __header;
787 obj_handle_t handle;
788 int exit_code;
789 char __pad_20[4];
791 struct terminate_thread_reply
793 struct reply_header __header;
794 int self;
795 int last;
800 struct get_process_info_request
802 struct request_header __header;
803 obj_handle_t handle;
805 struct get_process_info_reply
807 struct reply_header __header;
808 process_id_t pid;
809 process_id_t ppid;
810 affinity_t affinity;
811 client_ptr_t peb;
812 timeout_t start_time;
813 timeout_t end_time;
814 int exit_code;
815 int priority;
816 cpu_type_t cpu;
817 int debugger_present;
822 struct set_process_info_request
824 struct request_header __header;
825 obj_handle_t handle;
826 int mask;
827 int priority;
828 affinity_t affinity;
830 struct set_process_info_reply
832 struct reply_header __header;
834 #define SET_PROCESS_INFO_PRIORITY 0x01
835 #define SET_PROCESS_INFO_AFFINITY 0x02
839 struct get_thread_info_request
841 struct request_header __header;
842 obj_handle_t handle;
843 thread_id_t tid_in;
844 char __pad_20[4];
846 struct get_thread_info_reply
848 struct reply_header __header;
849 process_id_t pid;
850 thread_id_t tid;
851 client_ptr_t teb;
852 affinity_t affinity;
853 timeout_t creation_time;
854 timeout_t exit_time;
855 int exit_code;
856 int priority;
857 int last;
858 char __pad_60[4];
863 struct set_thread_info_request
865 struct request_header __header;
866 obj_handle_t handle;
867 int mask;
868 int priority;
869 affinity_t affinity;
870 obj_handle_t token;
871 char __pad_36[4];
873 struct set_thread_info_reply
875 struct reply_header __header;
877 #define SET_THREAD_INFO_PRIORITY 0x01
878 #define SET_THREAD_INFO_AFFINITY 0x02
879 #define SET_THREAD_INFO_TOKEN 0x04
883 struct get_dll_info_request
885 struct request_header __header;
886 obj_handle_t handle;
887 mod_handle_t base_address;
889 struct get_dll_info_reply
891 struct reply_header __header;
892 client_ptr_t entry_point;
893 data_size_t size;
894 data_size_t filename_len;
895 /* VARARG(filename,unicode_str); */
900 struct suspend_thread_request
902 struct request_header __header;
903 obj_handle_t handle;
905 struct suspend_thread_reply
907 struct reply_header __header;
908 int count;
909 char __pad_12[4];
914 struct resume_thread_request
916 struct request_header __header;
917 obj_handle_t handle;
919 struct resume_thread_reply
921 struct reply_header __header;
922 int count;
923 char __pad_12[4];
928 struct load_dll_request
930 struct request_header __header;
931 obj_handle_t mapping;
932 mod_handle_t base;
933 client_ptr_t name;
934 data_size_t size;
935 int dbg_offset;
936 int dbg_size;
937 /* VARARG(filename,unicode_str); */
938 char __pad_44[4];
940 struct load_dll_reply
942 struct reply_header __header;
947 struct unload_dll_request
949 struct request_header __header;
950 char __pad_12[4];
951 mod_handle_t base;
953 struct unload_dll_reply
955 struct reply_header __header;
960 struct queue_apc_request
962 struct request_header __header;
963 obj_handle_t handle;
964 apc_call_t call;
966 struct queue_apc_reply
968 struct reply_header __header;
969 obj_handle_t handle;
970 int self;
975 struct get_apc_result_request
977 struct request_header __header;
978 obj_handle_t handle;
980 struct get_apc_result_reply
982 struct reply_header __header;
983 apc_result_t result;
988 struct close_handle_request
990 struct request_header __header;
991 obj_handle_t handle;
993 struct close_handle_reply
995 struct reply_header __header;
1000 struct set_handle_info_request
1002 struct request_header __header;
1003 obj_handle_t handle;
1004 int flags;
1005 int mask;
1007 struct set_handle_info_reply
1009 struct reply_header __header;
1010 int old_flags;
1011 char __pad_12[4];
1016 struct dup_handle_request
1018 struct request_header __header;
1019 obj_handle_t src_process;
1020 obj_handle_t src_handle;
1021 obj_handle_t dst_process;
1022 unsigned int access;
1023 unsigned int attributes;
1024 unsigned int options;
1025 char __pad_36[4];
1027 struct dup_handle_reply
1029 struct reply_header __header;
1030 obj_handle_t handle;
1031 int self;
1032 int closed;
1033 char __pad_20[4];
1035 #define DUP_HANDLE_CLOSE_SOURCE DUPLICATE_CLOSE_SOURCE
1036 #define DUP_HANDLE_SAME_ACCESS DUPLICATE_SAME_ACCESS
1037 #define DUP_HANDLE_MAKE_GLOBAL 0x80000000
1041 struct open_process_request
1043 struct request_header __header;
1044 process_id_t pid;
1045 unsigned int access;
1046 unsigned int attributes;
1048 struct open_process_reply
1050 struct reply_header __header;
1051 obj_handle_t handle;
1052 char __pad_12[4];
1057 struct open_thread_request
1059 struct request_header __header;
1060 thread_id_t tid;
1061 unsigned int access;
1062 unsigned int attributes;
1064 struct open_thread_reply
1066 struct reply_header __header;
1067 obj_handle_t handle;
1068 char __pad_12[4];
1073 struct select_request
1075 struct request_header __header;
1076 int flags;
1077 client_ptr_t cookie;
1078 timeout_t timeout;
1079 obj_handle_t prev_apc;
1080 /* VARARG(result,apc_result); */
1081 /* VARARG(data,select_op); */
1082 char __pad_36[4];
1084 struct select_reply
1086 struct reply_header __header;
1087 timeout_t timeout;
1088 apc_call_t call;
1089 obj_handle_t apc_handle;
1090 char __pad_60[4];
1092 #define SELECT_ALERTABLE 1
1093 #define SELECT_INTERRUPTIBLE 2
1097 struct create_event_request
1099 struct request_header __header;
1100 unsigned int access;
1101 unsigned int attributes;
1102 int manual_reset;
1103 int initial_state;
1104 /* VARARG(objattr,object_attributes); */
1105 char __pad_28[4];
1107 struct create_event_reply
1109 struct reply_header __header;
1110 obj_handle_t handle;
1111 char __pad_12[4];
1115 struct event_op_request
1117 struct request_header __header;
1118 obj_handle_t handle;
1119 int op;
1120 char __pad_20[4];
1122 struct event_op_reply
1124 struct reply_header __header;
1126 enum event_op { PULSE_EVENT, SET_EVENT, RESET_EVENT };
1128 struct query_event_request
1130 struct request_header __header;
1131 obj_handle_t handle;
1133 struct query_event_reply
1135 struct reply_header __header;
1136 int manual_reset;
1137 int state;
1141 struct open_event_request
1143 struct request_header __header;
1144 unsigned int access;
1145 unsigned int attributes;
1146 obj_handle_t rootdir;
1147 /* VARARG(name,unicode_str); */
1149 struct open_event_reply
1151 struct reply_header __header;
1152 obj_handle_t handle;
1153 char __pad_12[4];
1158 struct create_keyed_event_request
1160 struct request_header __header;
1161 unsigned int access;
1162 unsigned int attributes;
1163 /* VARARG(objattr,object_attributes); */
1164 char __pad_20[4];
1166 struct create_keyed_event_reply
1168 struct reply_header __header;
1169 obj_handle_t handle;
1170 char __pad_12[4];
1174 struct open_keyed_event_request
1176 struct request_header __header;
1177 unsigned int access;
1178 unsigned int attributes;
1179 obj_handle_t rootdir;
1180 /* VARARG(name,unicode_str); */
1182 struct open_keyed_event_reply
1184 struct reply_header __header;
1185 obj_handle_t handle;
1186 char __pad_12[4];
1191 struct create_mutex_request
1193 struct request_header __header;
1194 unsigned int access;
1195 unsigned int attributes;
1196 int owned;
1197 /* VARARG(objattr,object_attributes); */
1199 struct create_mutex_reply
1201 struct reply_header __header;
1202 obj_handle_t handle;
1203 char __pad_12[4];
1208 struct release_mutex_request
1210 struct request_header __header;
1211 obj_handle_t handle;
1213 struct release_mutex_reply
1215 struct reply_header __header;
1216 unsigned int prev_count;
1217 char __pad_12[4];
1222 struct open_mutex_request
1224 struct request_header __header;
1225 unsigned int access;
1226 unsigned int attributes;
1227 obj_handle_t rootdir;
1228 /* VARARG(name,unicode_str); */
1230 struct open_mutex_reply
1232 struct reply_header __header;
1233 obj_handle_t handle;
1234 char __pad_12[4];
1239 struct create_semaphore_request
1241 struct request_header __header;
1242 unsigned int access;
1243 unsigned int attributes;
1244 unsigned int initial;
1245 unsigned int max;
1246 /* VARARG(objattr,object_attributes); */
1247 char __pad_28[4];
1249 struct create_semaphore_reply
1251 struct reply_header __header;
1252 obj_handle_t handle;
1253 char __pad_12[4];
1258 struct release_semaphore_request
1260 struct request_header __header;
1261 obj_handle_t handle;
1262 unsigned int count;
1263 char __pad_20[4];
1265 struct release_semaphore_reply
1267 struct reply_header __header;
1268 unsigned int prev_count;
1269 char __pad_12[4];
1272 struct query_semaphore_request
1274 struct request_header __header;
1275 obj_handle_t handle;
1277 struct query_semaphore_reply
1279 struct reply_header __header;
1280 unsigned int current;
1281 unsigned int max;
1285 struct open_semaphore_request
1287 struct request_header __header;
1288 unsigned int access;
1289 unsigned int attributes;
1290 obj_handle_t rootdir;
1291 /* VARARG(name,unicode_str); */
1293 struct open_semaphore_reply
1295 struct reply_header __header;
1296 obj_handle_t handle;
1297 char __pad_12[4];
1302 struct create_file_request
1304 struct request_header __header;
1305 unsigned int access;
1306 unsigned int attributes;
1307 unsigned int sharing;
1308 int create;
1309 unsigned int options;
1310 unsigned int attrs;
1311 /* VARARG(objattr,object_attributes); */
1312 /* VARARG(filename,string); */
1313 char __pad_36[4];
1315 struct create_file_reply
1317 struct reply_header __header;
1318 obj_handle_t handle;
1319 char __pad_12[4];
1324 struct open_file_object_request
1326 struct request_header __header;
1327 unsigned int access;
1328 unsigned int attributes;
1329 obj_handle_t rootdir;
1330 unsigned int sharing;
1331 unsigned int options;
1332 /* VARARG(filename,unicode_str); */
1334 struct open_file_object_reply
1336 struct reply_header __header;
1337 obj_handle_t handle;
1338 char __pad_12[4];
1343 struct alloc_file_handle_request
1345 struct request_header __header;
1346 unsigned int access;
1347 unsigned int attributes;
1348 int fd;
1350 struct alloc_file_handle_reply
1352 struct reply_header __header;
1353 obj_handle_t handle;
1354 char __pad_12[4];
1359 struct get_handle_unix_name_request
1361 struct request_header __header;
1362 obj_handle_t handle;
1364 struct get_handle_unix_name_reply
1366 struct reply_header __header;
1367 data_size_t name_len;
1368 /* VARARG(name,string); */
1369 char __pad_12[4];
1374 struct get_handle_fd_request
1376 struct request_header __header;
1377 obj_handle_t handle;
1379 struct get_handle_fd_reply
1381 struct reply_header __header;
1382 int type;
1383 int cacheable;
1384 unsigned int access;
1385 unsigned int options;
1387 enum server_fd_type
1389 FD_TYPE_INVALID,
1390 FD_TYPE_FILE,
1391 FD_TYPE_DIR,
1392 FD_TYPE_SOCKET,
1393 FD_TYPE_SERIAL,
1394 FD_TYPE_PIPE,
1395 FD_TYPE_MAILSLOT,
1396 FD_TYPE_CHAR,
1397 FD_TYPE_DEVICE,
1398 FD_TYPE_NB_TYPES
1403 struct flush_file_request
1405 struct request_header __header;
1406 obj_handle_t handle;
1408 struct flush_file_reply
1410 struct reply_header __header;
1411 obj_handle_t event;
1412 char __pad_12[4];
1417 struct lock_file_request
1419 struct request_header __header;
1420 obj_handle_t handle;
1421 file_pos_t offset;
1422 file_pos_t count;
1423 int shared;
1424 int wait;
1426 struct lock_file_reply
1428 struct reply_header __header;
1429 obj_handle_t handle;
1430 int overlapped;
1435 struct unlock_file_request
1437 struct request_header __header;
1438 obj_handle_t handle;
1439 file_pos_t offset;
1440 file_pos_t count;
1442 struct unlock_file_reply
1444 struct reply_header __header;
1449 struct create_socket_request
1451 struct request_header __header;
1452 unsigned int access;
1453 unsigned int attributes;
1454 int family;
1455 int type;
1456 int protocol;
1457 unsigned int flags;
1458 char __pad_36[4];
1460 struct create_socket_reply
1462 struct reply_header __header;
1463 obj_handle_t handle;
1464 char __pad_12[4];
1469 struct accept_socket_request
1471 struct request_header __header;
1472 obj_handle_t lhandle;
1473 unsigned int access;
1474 unsigned int attributes;
1476 struct accept_socket_reply
1478 struct reply_header __header;
1479 obj_handle_t handle;
1480 char __pad_12[4];
1485 struct accept_into_socket_request
1487 struct request_header __header;
1488 obj_handle_t lhandle;
1489 obj_handle_t ahandle;
1490 char __pad_20[4];
1492 struct accept_into_socket_reply
1494 struct reply_header __header;
1499 struct set_socket_event_request
1501 struct request_header __header;
1502 obj_handle_t handle;
1503 unsigned int mask;
1504 obj_handle_t event;
1505 user_handle_t window;
1506 unsigned int msg;
1508 struct set_socket_event_reply
1510 struct reply_header __header;
1515 struct get_socket_event_request
1517 struct request_header __header;
1518 obj_handle_t handle;
1519 int service;
1520 obj_handle_t c_event;
1522 struct get_socket_event_reply
1524 struct reply_header __header;
1525 unsigned int mask;
1526 unsigned int pmask;
1527 unsigned int state;
1528 /* VARARG(errors,ints); */
1529 char __pad_20[4];
1534 struct get_socket_info_request
1536 struct request_header __header;
1537 obj_handle_t handle;
1539 struct get_socket_info_reply
1541 struct reply_header __header;
1542 int family;
1543 int type;
1544 int protocol;
1545 char __pad_20[4];
1550 struct enable_socket_event_request
1552 struct request_header __header;
1553 obj_handle_t handle;
1554 unsigned int mask;
1555 unsigned int sstate;
1556 unsigned int cstate;
1557 char __pad_28[4];
1559 struct enable_socket_event_reply
1561 struct reply_header __header;
1564 struct set_socket_deferred_request
1566 struct request_header __header;
1567 obj_handle_t handle;
1568 obj_handle_t deferred;
1569 char __pad_20[4];
1571 struct set_socket_deferred_reply
1573 struct reply_header __header;
1577 struct alloc_console_request
1579 struct request_header __header;
1580 unsigned int access;
1581 unsigned int attributes;
1582 process_id_t pid;
1583 int input_fd;
1584 char __pad_28[4];
1586 struct alloc_console_reply
1588 struct reply_header __header;
1589 obj_handle_t handle_in;
1590 obj_handle_t event;
1595 struct free_console_request
1597 struct request_header __header;
1598 char __pad_12[4];
1600 struct free_console_reply
1602 struct reply_header __header;
1606 #define CONSOLE_RENDERER_NONE_EVENT 0x00
1607 #define CONSOLE_RENDERER_TITLE_EVENT 0x01
1608 #define CONSOLE_RENDERER_ACTIVE_SB_EVENT 0x02
1609 #define CONSOLE_RENDERER_SB_RESIZE_EVENT 0x03
1610 #define CONSOLE_RENDERER_UPDATE_EVENT 0x04
1611 #define CONSOLE_RENDERER_CURSOR_POS_EVENT 0x05
1612 #define CONSOLE_RENDERER_CURSOR_GEOM_EVENT 0x06
1613 #define CONSOLE_RENDERER_DISPLAY_EVENT 0x07
1614 #define CONSOLE_RENDERER_EXIT_EVENT 0x08
1615 struct console_renderer_event
1617 short event;
1618 union
1620 struct update
1622 short top;
1623 short bottom;
1624 } update;
1625 struct resize
1627 short width;
1628 short height;
1629 } resize;
1630 struct cursor_pos
1632 short x;
1633 short y;
1634 } cursor_pos;
1635 struct cursor_geom
1637 short visible;
1638 short size;
1639 } cursor_geom;
1640 struct display
1642 short left;
1643 short top;
1644 short width;
1645 short height;
1646 } display;
1647 } u;
1651 struct get_console_renderer_events_request
1653 struct request_header __header;
1654 obj_handle_t handle;
1656 struct get_console_renderer_events_reply
1658 struct reply_header __header;
1659 /* VARARG(data,bytes); */
1664 struct open_console_request
1666 struct request_header __header;
1667 obj_handle_t from;
1669 unsigned int access;
1670 unsigned int attributes;
1671 int share;
1672 char __pad_28[4];
1674 struct open_console_reply
1676 struct reply_header __header;
1677 obj_handle_t handle;
1678 char __pad_12[4];
1683 struct get_console_wait_event_request
1685 struct request_header __header;
1686 char __pad_12[4];
1688 struct get_console_wait_event_reply
1690 struct reply_header __header;
1691 obj_handle_t handle;
1692 char __pad_12[4];
1696 struct get_console_mode_request
1698 struct request_header __header;
1699 obj_handle_t handle;
1701 struct get_console_mode_reply
1703 struct reply_header __header;
1704 int mode;
1705 char __pad_12[4];
1710 struct set_console_mode_request
1712 struct request_header __header;
1713 obj_handle_t handle;
1714 int mode;
1715 char __pad_20[4];
1717 struct set_console_mode_reply
1719 struct reply_header __header;
1724 struct set_console_input_info_request
1726 struct request_header __header;
1727 obj_handle_t handle;
1728 int mask;
1729 obj_handle_t active_sb;
1730 int history_mode;
1731 int history_size;
1732 int edition_mode;
1733 int input_cp;
1734 int output_cp;
1735 user_handle_t win;
1736 /* VARARG(title,unicode_str); */
1738 struct set_console_input_info_reply
1740 struct reply_header __header;
1742 #define SET_CONSOLE_INPUT_INFO_ACTIVE_SB 0x01
1743 #define SET_CONSOLE_INPUT_INFO_TITLE 0x02
1744 #define SET_CONSOLE_INPUT_INFO_HISTORY_MODE 0x04
1745 #define SET_CONSOLE_INPUT_INFO_HISTORY_SIZE 0x08
1746 #define SET_CONSOLE_INPUT_INFO_EDITION_MODE 0x10
1747 #define SET_CONSOLE_INPUT_INFO_INPUT_CODEPAGE 0x20
1748 #define SET_CONSOLE_INPUT_INFO_OUTPUT_CODEPAGE 0x40
1749 #define SET_CONSOLE_INPUT_INFO_WIN 0x80
1753 struct get_console_input_info_request
1755 struct request_header __header;
1756 obj_handle_t handle;
1758 struct get_console_input_info_reply
1760 struct reply_header __header;
1761 int history_mode;
1762 int history_size;
1763 int history_index;
1764 int edition_mode;
1765 int input_cp;
1766 int output_cp;
1767 user_handle_t win;
1768 /* VARARG(title,unicode_str); */
1769 char __pad_36[4];
1774 struct append_console_input_history_request
1776 struct request_header __header;
1777 obj_handle_t handle;
1778 /* VARARG(line,unicode_str); */
1780 struct append_console_input_history_reply
1782 struct reply_header __header;
1787 struct get_console_input_history_request
1789 struct request_header __header;
1790 obj_handle_t handle;
1791 int index;
1792 char __pad_20[4];
1794 struct get_console_input_history_reply
1796 struct reply_header __header;
1797 int total;
1798 /* VARARG(line,unicode_str); */
1799 char __pad_12[4];
1804 struct create_console_output_request
1806 struct request_header __header;
1807 obj_handle_t handle_in;
1808 unsigned int access;
1809 unsigned int attributes;
1810 unsigned int share;
1811 int fd;
1813 struct create_console_output_reply
1815 struct reply_header __header;
1816 obj_handle_t handle_out;
1817 char __pad_12[4];
1822 struct set_console_output_info_request
1824 struct request_header __header;
1825 obj_handle_t handle;
1826 int mask;
1827 short int cursor_size;
1828 short int cursor_visible;
1829 short int cursor_x;
1830 short int cursor_y;
1831 short int width;
1832 short int height;
1833 short int attr;
1834 short int win_left;
1835 short int win_top;
1836 short int win_right;
1837 short int win_bottom;
1838 short int max_width;
1839 short int max_height;
1840 char __pad_46[2];
1842 struct set_console_output_info_reply
1844 struct reply_header __header;
1846 #define SET_CONSOLE_OUTPUT_INFO_CURSOR_GEOM 0x01
1847 #define SET_CONSOLE_OUTPUT_INFO_CURSOR_POS 0x02
1848 #define SET_CONSOLE_OUTPUT_INFO_SIZE 0x04
1849 #define SET_CONSOLE_OUTPUT_INFO_ATTR 0x08
1850 #define SET_CONSOLE_OUTPUT_INFO_DISPLAY_WINDOW 0x10
1851 #define SET_CONSOLE_OUTPUT_INFO_MAX_SIZE 0x20
1855 struct get_console_output_info_request
1857 struct request_header __header;
1858 obj_handle_t handle;
1860 struct get_console_output_info_reply
1862 struct reply_header __header;
1863 short int cursor_size;
1864 short int cursor_visible;
1865 short int cursor_x;
1866 short int cursor_y;
1867 short int width;
1868 short int height;
1869 short int attr;
1870 short int win_left;
1871 short int win_top;
1872 short int win_right;
1873 short int win_bottom;
1874 short int max_width;
1875 short int max_height;
1876 char __pad_34[6];
1880 struct write_console_input_request
1882 struct request_header __header;
1883 obj_handle_t handle;
1884 /* VARARG(rec,input_records); */
1886 struct write_console_input_reply
1888 struct reply_header __header;
1889 int written;
1890 char __pad_12[4];
1895 struct read_console_input_request
1897 struct request_header __header;
1898 obj_handle_t handle;
1899 int flush;
1900 char __pad_20[4];
1902 struct read_console_input_reply
1904 struct reply_header __header;
1905 int read;
1906 /* VARARG(rec,input_records); */
1907 char __pad_12[4];
1912 struct write_console_output_request
1914 struct request_header __header;
1915 obj_handle_t handle;
1916 int x;
1917 int y;
1918 int mode;
1919 int wrap;
1920 /* VARARG(data,bytes); */
1922 struct write_console_output_reply
1924 struct reply_header __header;
1925 int written;
1926 int width;
1927 int height;
1928 char __pad_20[4];
1930 enum char_info_mode
1932 CHAR_INFO_MODE_TEXT,
1933 CHAR_INFO_MODE_ATTR,
1934 CHAR_INFO_MODE_TEXTATTR,
1935 CHAR_INFO_MODE_TEXTSTDATTR
1940 struct fill_console_output_request
1942 struct request_header __header;
1943 obj_handle_t handle;
1944 int x;
1945 int y;
1946 int mode;
1947 int count;
1948 int wrap;
1949 char_info_t data;
1951 struct fill_console_output_reply
1953 struct reply_header __header;
1954 int written;
1955 char __pad_12[4];
1960 struct read_console_output_request
1962 struct request_header __header;
1963 obj_handle_t handle;
1964 int x;
1965 int y;
1966 int mode;
1967 int wrap;
1969 struct read_console_output_reply
1971 struct reply_header __header;
1972 int width;
1973 int height;
1974 /* VARARG(data,bytes); */
1979 struct move_console_output_request
1981 struct request_header __header;
1982 obj_handle_t handle;
1983 short int x_src;
1984 short int y_src;
1985 short int x_dst;
1986 short int y_dst;
1987 short int w;
1988 short int h;
1989 char __pad_28[4];
1991 struct move_console_output_reply
1993 struct reply_header __header;
1998 struct send_console_signal_request
2000 struct request_header __header;
2001 int signal;
2002 process_id_t group_id;
2003 char __pad_20[4];
2005 struct send_console_signal_reply
2007 struct reply_header __header;
2012 struct read_directory_changes_request
2014 struct request_header __header;
2015 unsigned int filter;
2016 int subtree;
2017 int want_data;
2018 async_data_t async;
2020 struct read_directory_changes_reply
2022 struct reply_header __header;
2026 struct read_change_request
2028 struct request_header __header;
2029 obj_handle_t handle;
2031 struct read_change_reply
2033 struct reply_header __header;
2034 /* VARARG(events,filesystem_event); */
2039 struct create_mapping_request
2041 struct request_header __header;
2042 unsigned int access;
2043 unsigned int attributes;
2044 unsigned int protect;
2045 mem_size_t size;
2046 obj_handle_t file_handle;
2047 /* VARARG(objattr,object_attributes); */
2048 char __pad_36[4];
2050 struct create_mapping_reply
2052 struct reply_header __header;
2053 obj_handle_t handle;
2054 char __pad_12[4];
2057 #define VPROT_READ 0x01
2058 #define VPROT_WRITE 0x02
2059 #define VPROT_EXEC 0x04
2060 #define VPROT_WRITECOPY 0x08
2061 #define VPROT_GUARD 0x10
2062 #define VPROT_NOCACHE 0x20
2063 #define VPROT_COMMITTED 0x40
2064 #define VPROT_WRITEWATCH 0x80
2066 #define VPROT_IMAGE 0x0100
2067 #define VPROT_SYSTEM 0x0200
2068 #define VPROT_VALLOC 0x0400
2069 #define VPROT_NOEXEC 0x0800
2073 struct open_mapping_request
2075 struct request_header __header;
2076 unsigned int access;
2077 unsigned int attributes;
2078 obj_handle_t rootdir;
2079 /* VARARG(name,unicode_str); */
2081 struct open_mapping_reply
2083 struct reply_header __header;
2084 obj_handle_t handle;
2085 char __pad_12[4];
2090 struct get_mapping_info_request
2092 struct request_header __header;
2093 obj_handle_t handle;
2094 unsigned int access;
2095 char __pad_20[4];
2097 struct get_mapping_info_reply
2099 struct reply_header __header;
2100 mem_size_t size;
2101 int protect;
2102 int header_size;
2103 client_ptr_t base;
2104 obj_handle_t mapping;
2105 obj_handle_t shared_file;
2110 struct get_mapping_committed_range_request
2112 struct request_header __header;
2113 obj_handle_t handle;
2114 file_pos_t offset;
2116 struct get_mapping_committed_range_reply
2118 struct reply_header __header;
2119 mem_size_t size;
2120 int committed;
2121 char __pad_20[4];
2126 struct add_mapping_committed_range_request
2128 struct request_header __header;
2129 obj_handle_t handle;
2130 file_pos_t offset;
2131 mem_size_t size;
2133 struct add_mapping_committed_range_reply
2135 struct reply_header __header;
2139 #define SNAP_PROCESS 0x00000001
2140 #define SNAP_THREAD 0x00000002
2142 struct create_snapshot_request
2144 struct request_header __header;
2145 unsigned int attributes;
2146 unsigned int flags;
2147 char __pad_20[4];
2149 struct create_snapshot_reply
2151 struct reply_header __header;
2152 obj_handle_t handle;
2153 char __pad_12[4];
2158 struct next_process_request
2160 struct request_header __header;
2161 obj_handle_t handle;
2162 int reset;
2163 char __pad_20[4];
2165 struct next_process_reply
2167 struct reply_header __header;
2168 int count;
2169 process_id_t pid;
2170 process_id_t ppid;
2171 int threads;
2172 int priority;
2173 int handles;
2174 int unix_pid;
2175 /* VARARG(filename,unicode_str); */
2176 char __pad_36[4];
2181 struct next_thread_request
2183 struct request_header __header;
2184 obj_handle_t handle;
2185 int reset;
2186 char __pad_20[4];
2188 struct next_thread_reply
2190 struct reply_header __header;
2191 int count;
2192 process_id_t pid;
2193 thread_id_t tid;
2194 int base_pri;
2195 int delta_pri;
2196 char __pad_28[4];
2201 struct wait_debug_event_request
2203 struct request_header __header;
2204 int get_handle;
2206 struct wait_debug_event_reply
2208 struct reply_header __header;
2209 process_id_t pid;
2210 thread_id_t tid;
2211 obj_handle_t wait;
2212 /* VARARG(event,debug_event); */
2213 char __pad_20[4];
2218 struct queue_exception_event_request
2220 struct request_header __header;
2221 int first;
2222 unsigned int code;
2223 unsigned int flags;
2224 client_ptr_t record;
2225 client_ptr_t address;
2226 data_size_t len;
2227 /* VARARG(params,uints64,len); */
2228 /* VARARG(context,context); */
2229 char __pad_44[4];
2231 struct queue_exception_event_reply
2233 struct reply_header __header;
2234 obj_handle_t handle;
2235 char __pad_12[4];
2240 struct get_exception_status_request
2242 struct request_header __header;
2243 obj_handle_t handle;
2245 struct get_exception_status_reply
2247 struct reply_header __header;
2248 /* VARARG(context,context); */
2253 struct continue_debug_event_request
2255 struct request_header __header;
2256 process_id_t pid;
2257 thread_id_t tid;
2258 int status;
2260 struct continue_debug_event_reply
2262 struct reply_header __header;
2267 struct debug_process_request
2269 struct request_header __header;
2270 process_id_t pid;
2271 int attach;
2272 char __pad_20[4];
2274 struct debug_process_reply
2276 struct reply_header __header;
2281 struct debug_break_request
2283 struct request_header __header;
2284 obj_handle_t handle;
2286 struct debug_break_reply
2288 struct reply_header __header;
2289 int self;
2290 char __pad_12[4];
2295 struct set_debugger_kill_on_exit_request
2297 struct request_header __header;
2298 int kill_on_exit;
2300 struct set_debugger_kill_on_exit_reply
2302 struct reply_header __header;
2307 struct read_process_memory_request
2309 struct request_header __header;
2310 obj_handle_t handle;
2311 client_ptr_t addr;
2313 struct read_process_memory_reply
2315 struct reply_header __header;
2316 /* VARARG(data,bytes); */
2321 struct write_process_memory_request
2323 struct request_header __header;
2324 obj_handle_t handle;
2325 client_ptr_t addr;
2326 /* VARARG(data,bytes); */
2328 struct write_process_memory_reply
2330 struct reply_header __header;
2335 struct create_key_request
2337 struct request_header __header;
2338 obj_handle_t parent;
2339 unsigned int access;
2340 unsigned int attributes;
2341 unsigned int options;
2342 data_size_t namelen;
2343 /* VARARG(name,unicode_str,namelen); */
2344 /* VARARG(class,unicode_str); */
2346 struct create_key_reply
2348 struct reply_header __header;
2349 obj_handle_t hkey;
2350 int created;
2354 struct open_key_request
2356 struct request_header __header;
2357 obj_handle_t parent;
2358 unsigned int access;
2359 unsigned int attributes;
2360 /* VARARG(name,unicode_str); */
2362 struct open_key_reply
2364 struct reply_header __header;
2365 obj_handle_t hkey;
2366 char __pad_12[4];
2371 struct delete_key_request
2373 struct request_header __header;
2374 obj_handle_t hkey;
2376 struct delete_key_reply
2378 struct reply_header __header;
2383 struct flush_key_request
2385 struct request_header __header;
2386 obj_handle_t hkey;
2388 struct flush_key_reply
2390 struct reply_header __header;
2395 struct enum_key_request
2397 struct request_header __header;
2398 obj_handle_t hkey;
2399 int index;
2400 int info_class;
2402 struct enum_key_reply
2404 struct reply_header __header;
2405 int subkeys;
2406 int max_subkey;
2407 int max_class;
2408 int values;
2409 int max_value;
2410 int max_data;
2411 timeout_t modif;
2412 data_size_t total;
2413 data_size_t namelen;
2414 /* VARARG(name,unicode_str,namelen); */
2415 /* VARARG(class,unicode_str); */
2420 struct set_key_value_request
2422 struct request_header __header;
2423 obj_handle_t hkey;
2424 int type;
2425 data_size_t namelen;
2426 /* VARARG(name,unicode_str,namelen); */
2427 /* VARARG(data,bytes); */
2429 struct set_key_value_reply
2431 struct reply_header __header;
2436 struct get_key_value_request
2438 struct request_header __header;
2439 obj_handle_t hkey;
2440 /* VARARG(name,unicode_str); */
2442 struct get_key_value_reply
2444 struct reply_header __header;
2445 int type;
2446 data_size_t total;
2447 /* VARARG(data,bytes); */
2452 struct enum_key_value_request
2454 struct request_header __header;
2455 obj_handle_t hkey;
2456 int index;
2457 int info_class;
2459 struct enum_key_value_reply
2461 struct reply_header __header;
2462 int type;
2463 data_size_t total;
2464 data_size_t namelen;
2465 /* VARARG(name,unicode_str,namelen); */
2466 /* VARARG(data,bytes); */
2467 char __pad_20[4];
2472 struct delete_key_value_request
2474 struct request_header __header;
2475 obj_handle_t hkey;
2476 /* VARARG(name,unicode_str); */
2478 struct delete_key_value_reply
2480 struct reply_header __header;
2485 struct load_registry_request
2487 struct request_header __header;
2488 obj_handle_t hkey;
2489 obj_handle_t file;
2490 /* VARARG(name,unicode_str); */
2491 char __pad_20[4];
2493 struct load_registry_reply
2495 struct reply_header __header;
2500 struct unload_registry_request
2502 struct request_header __header;
2503 obj_handle_t hkey;
2505 struct unload_registry_reply
2507 struct reply_header __header;
2512 struct save_registry_request
2514 struct request_header __header;
2515 obj_handle_t hkey;
2516 obj_handle_t file;
2517 char __pad_20[4];
2519 struct save_registry_reply
2521 struct reply_header __header;
2526 struct set_registry_notification_request
2528 struct request_header __header;
2529 obj_handle_t hkey;
2530 obj_handle_t event;
2531 int subtree;
2532 unsigned int filter;
2533 char __pad_28[4];
2535 struct set_registry_notification_reply
2537 struct reply_header __header;
2542 struct create_timer_request
2544 struct request_header __header;
2545 unsigned int access;
2546 unsigned int attributes;
2547 obj_handle_t rootdir;
2548 int manual;
2549 /* VARARG(name,unicode_str); */
2550 char __pad_28[4];
2552 struct create_timer_reply
2554 struct reply_header __header;
2555 obj_handle_t handle;
2556 char __pad_12[4];
2561 struct open_timer_request
2563 struct request_header __header;
2564 unsigned int access;
2565 unsigned int attributes;
2566 obj_handle_t rootdir;
2567 /* VARARG(name,unicode_str); */
2569 struct open_timer_reply
2571 struct reply_header __header;
2572 obj_handle_t handle;
2573 char __pad_12[4];
2577 struct set_timer_request
2579 struct request_header __header;
2580 obj_handle_t handle;
2581 timeout_t expire;
2582 client_ptr_t callback;
2583 client_ptr_t arg;
2584 int period;
2585 char __pad_44[4];
2587 struct set_timer_reply
2589 struct reply_header __header;
2590 int signaled;
2591 char __pad_12[4];
2595 struct cancel_timer_request
2597 struct request_header __header;
2598 obj_handle_t handle;
2600 struct cancel_timer_reply
2602 struct reply_header __header;
2603 int signaled;
2604 char __pad_12[4];
2608 struct get_timer_info_request
2610 struct request_header __header;
2611 obj_handle_t handle;
2613 struct get_timer_info_reply
2615 struct reply_header __header;
2616 timeout_t when;
2617 int signaled;
2618 char __pad_20[4];
2623 struct get_thread_context_request
2625 struct request_header __header;
2626 obj_handle_t handle;
2627 unsigned int flags;
2628 int suspend;
2630 struct get_thread_context_reply
2632 struct reply_header __header;
2633 int self;
2634 /* VARARG(context,context); */
2635 char __pad_12[4];
2640 struct set_thread_context_request
2642 struct request_header __header;
2643 obj_handle_t handle;
2644 int suspend;
2645 /* VARARG(context,context); */
2646 char __pad_20[4];
2648 struct set_thread_context_reply
2650 struct reply_header __header;
2651 int self;
2652 char __pad_12[4];
2657 struct get_selector_entry_request
2659 struct request_header __header;
2660 obj_handle_t handle;
2661 int entry;
2662 char __pad_20[4];
2664 struct get_selector_entry_reply
2666 struct reply_header __header;
2667 unsigned int base;
2668 unsigned int limit;
2669 unsigned char flags;
2670 char __pad_17[7];
2675 struct add_atom_request
2677 struct request_header __header;
2678 obj_handle_t table;
2679 /* VARARG(name,unicode_str); */
2681 struct add_atom_reply
2683 struct reply_header __header;
2684 atom_t atom;
2685 char __pad_12[4];
2690 struct delete_atom_request
2692 struct request_header __header;
2693 obj_handle_t table;
2694 atom_t atom;
2695 char __pad_20[4];
2697 struct delete_atom_reply
2699 struct reply_header __header;
2704 struct find_atom_request
2706 struct request_header __header;
2707 obj_handle_t table;
2708 /* VARARG(name,unicode_str); */
2710 struct find_atom_reply
2712 struct reply_header __header;
2713 atom_t atom;
2714 char __pad_12[4];
2719 struct get_atom_information_request
2721 struct request_header __header;
2722 obj_handle_t table;
2723 atom_t atom;
2724 char __pad_20[4];
2726 struct get_atom_information_reply
2728 struct reply_header __header;
2729 int count;
2730 int pinned;
2731 data_size_t total;
2732 /* VARARG(name,unicode_str); */
2733 char __pad_20[4];
2738 struct set_atom_information_request
2740 struct request_header __header;
2741 obj_handle_t table;
2742 atom_t atom;
2743 int pinned;
2745 struct set_atom_information_reply
2747 struct reply_header __header;
2752 struct empty_atom_table_request
2754 struct request_header __header;
2755 obj_handle_t table;
2756 int if_pinned;
2757 char __pad_20[4];
2759 struct empty_atom_table_reply
2761 struct reply_header __header;
2766 struct init_atom_table_request
2768 struct request_header __header;
2769 int entries;
2771 struct init_atom_table_reply
2773 struct reply_header __header;
2774 obj_handle_t table;
2775 char __pad_12[4];
2780 struct get_msg_queue_request
2782 struct request_header __header;
2783 char __pad_12[4];
2785 struct get_msg_queue_reply
2787 struct reply_header __header;
2788 obj_handle_t handle;
2789 char __pad_12[4];
2794 struct set_queue_fd_request
2796 struct request_header __header;
2797 obj_handle_t handle;
2799 struct set_queue_fd_reply
2801 struct reply_header __header;
2806 struct set_queue_mask_request
2808 struct request_header __header;
2809 unsigned int wake_mask;
2810 unsigned int changed_mask;
2811 int skip_wait;
2813 struct set_queue_mask_reply
2815 struct reply_header __header;
2816 unsigned int wake_bits;
2817 unsigned int changed_bits;
2822 struct get_queue_status_request
2824 struct request_header __header;
2825 int clear;
2827 struct get_queue_status_reply
2829 struct reply_header __header;
2830 unsigned int wake_bits;
2831 unsigned int changed_bits;
2836 struct get_process_idle_event_request
2838 struct request_header __header;
2839 obj_handle_t handle;
2841 struct get_process_idle_event_reply
2843 struct reply_header __header;
2844 obj_handle_t event;
2845 char __pad_12[4];
2850 struct send_message_request
2852 struct request_header __header;
2853 thread_id_t id;
2854 int type;
2855 int flags;
2856 user_handle_t win;
2857 unsigned int msg;
2858 lparam_t wparam;
2859 lparam_t lparam;
2860 timeout_t timeout;
2861 /* VARARG(data,message_data); */
2863 struct send_message_reply
2865 struct reply_header __header;
2868 struct post_quit_message_request
2870 struct request_header __header;
2871 int exit_code;
2873 struct post_quit_message_reply
2875 struct reply_header __header;
2878 enum message_type
2880 MSG_ASCII,
2881 MSG_UNICODE,
2882 MSG_NOTIFY,
2883 MSG_CALLBACK,
2884 MSG_CALLBACK_RESULT,
2885 MSG_OTHER_PROCESS,
2886 MSG_POSTED,
2887 MSG_HARDWARE,
2888 MSG_WINEVENT,
2889 MSG_HOOK_LL
2891 #define SEND_MSG_ABORT_IF_HUNG 0x01
2895 struct send_hardware_message_request
2897 struct request_header __header;
2898 user_handle_t win;
2899 hw_input_t input;
2900 unsigned int flags;
2901 char __pad_52[4];
2903 struct send_hardware_message_reply
2905 struct reply_header __header;
2906 int wait;
2907 int prev_x;
2908 int prev_y;
2909 int new_x;
2910 int new_y;
2911 /* VARARG(keystate,bytes); */
2912 char __pad_28[4];
2914 #define SEND_HWMSG_INJECTED 0x01
2918 struct get_message_request
2920 struct request_header __header;
2921 unsigned int flags;
2922 user_handle_t get_win;
2923 unsigned int get_first;
2924 unsigned int get_last;
2925 unsigned int hw_id;
2926 unsigned int wake_mask;
2927 unsigned int changed_mask;
2929 struct get_message_reply
2931 struct reply_header __header;
2932 user_handle_t win;
2933 unsigned int msg;
2934 lparam_t wparam;
2935 lparam_t lparam;
2936 int type;
2937 unsigned int time;
2938 unsigned int active_hooks;
2939 data_size_t total;
2940 /* VARARG(data,message_data); */
2945 struct reply_message_request
2947 struct request_header __header;
2948 int remove;
2949 lparam_t result;
2950 /* VARARG(data,bytes); */
2952 struct reply_message_reply
2954 struct reply_header __header;
2959 struct accept_hardware_message_request
2961 struct request_header __header;
2962 unsigned int hw_id;
2963 int remove;
2964 char __pad_20[4];
2966 struct accept_hardware_message_reply
2968 struct reply_header __header;
2973 struct get_message_reply_request
2975 struct request_header __header;
2976 int cancel;
2978 struct get_message_reply_reply
2980 struct reply_header __header;
2981 lparam_t result;
2982 /* VARARG(data,bytes); */
2987 struct set_win_timer_request
2989 struct request_header __header;
2990 user_handle_t win;
2991 unsigned int msg;
2992 unsigned int rate;
2993 lparam_t id;
2994 lparam_t lparam;
2996 struct set_win_timer_reply
2998 struct reply_header __header;
2999 lparam_t id;
3004 struct kill_win_timer_request
3006 struct request_header __header;
3007 user_handle_t win;
3008 lparam_t id;
3009 unsigned int msg;
3010 char __pad_28[4];
3012 struct kill_win_timer_reply
3014 struct reply_header __header;
3019 struct is_window_hung_request
3021 struct request_header __header;
3022 user_handle_t win;
3024 struct is_window_hung_reply
3026 struct reply_header __header;
3027 int is_hung;
3028 char __pad_12[4];
3033 struct get_serial_info_request
3035 struct request_header __header;
3036 obj_handle_t handle;
3037 int flags;
3038 char __pad_20[4];
3040 struct get_serial_info_reply
3042 struct reply_header __header;
3043 unsigned int readinterval;
3044 unsigned int readconst;
3045 unsigned int readmult;
3046 unsigned int writeconst;
3047 unsigned int writemult;
3048 unsigned int eventmask;
3049 unsigned int cookie;
3050 unsigned int pending_write;
3055 struct set_serial_info_request
3057 struct request_header __header;
3058 obj_handle_t handle;
3059 int flags;
3060 unsigned int readinterval;
3061 unsigned int readconst;
3062 unsigned int readmult;
3063 unsigned int writeconst;
3064 unsigned int writemult;
3065 unsigned int eventmask;
3066 char __pad_44[4];
3068 struct set_serial_info_reply
3070 struct reply_header __header;
3072 #define SERIALINFO_SET_TIMEOUTS 0x01
3073 #define SERIALINFO_SET_MASK 0x02
3074 #define SERIALINFO_PENDING_WRITE 0x04
3075 #define SERIALINFO_PENDING_WAIT 0x08
3079 struct register_async_request
3081 struct request_header __header;
3082 int type;
3083 async_data_t async;
3084 int count;
3085 char __pad_60[4];
3087 struct register_async_reply
3089 struct reply_header __header;
3091 #define ASYNC_TYPE_READ 0x01
3092 #define ASYNC_TYPE_WRITE 0x02
3093 #define ASYNC_TYPE_WAIT 0x03
3097 struct cancel_async_request
3099 struct request_header __header;
3100 obj_handle_t handle;
3101 client_ptr_t iosb;
3102 int only_thread;
3103 char __pad_28[4];
3105 struct cancel_async_reply
3107 struct reply_header __header;
3112 struct ioctl_request
3114 struct request_header __header;
3115 ioctl_code_t code;
3116 async_data_t async;
3117 int blocking;
3118 /* VARARG(in_data,bytes); */
3119 char __pad_60[4];
3121 struct ioctl_reply
3123 struct reply_header __header;
3124 obj_handle_t wait;
3125 unsigned int options;
3126 /* VARARG(out_data,bytes); */
3131 struct set_ioctl_result_request
3133 struct request_header __header;
3134 obj_handle_t manager;
3135 obj_handle_t handle;
3136 unsigned int status;
3137 /* VARARG(data,bytes); */
3139 struct set_ioctl_result_reply
3141 struct reply_header __header;
3146 struct get_ioctl_result_request
3148 struct request_header __header;
3149 obj_handle_t handle;
3150 client_ptr_t user_arg;
3152 struct get_ioctl_result_reply
3154 struct reply_header __header;
3155 /* VARARG(out_data,bytes); */
3160 struct create_named_pipe_request
3162 struct request_header __header;
3163 unsigned int access;
3164 unsigned int attributes;
3165 unsigned int options;
3166 unsigned int sharing;
3167 unsigned int maxinstances;
3168 unsigned int outsize;
3169 unsigned int insize;
3170 timeout_t timeout;
3171 unsigned int flags;
3172 /* VARARG(objattr,object_attributes); */
3173 char __pad_52[4];
3175 struct create_named_pipe_reply
3177 struct reply_header __header;
3178 obj_handle_t handle;
3179 char __pad_12[4];
3183 #define NAMED_PIPE_MESSAGE_STREAM_WRITE 0x0001
3184 #define NAMED_PIPE_MESSAGE_STREAM_READ 0x0002
3185 #define NAMED_PIPE_NONBLOCKING_MODE 0x0004
3186 #define NAMED_PIPE_SERVER_END 0x8000
3189 struct get_named_pipe_info_request
3191 struct request_header __header;
3192 obj_handle_t handle;
3194 struct get_named_pipe_info_reply
3196 struct reply_header __header;
3197 unsigned int flags;
3198 unsigned int sharing;
3199 unsigned int maxinstances;
3200 unsigned int instances;
3201 unsigned int outsize;
3202 unsigned int insize;
3206 struct set_named_pipe_info_request
3208 struct request_header __header;
3209 obj_handle_t handle;
3210 unsigned int flags;
3211 char __pad_20[4];
3213 struct set_named_pipe_info_reply
3215 struct reply_header __header;
3219 struct create_window_request
3221 struct request_header __header;
3222 user_handle_t parent;
3223 user_handle_t owner;
3224 atom_t atom;
3225 mod_handle_t instance;
3226 /* VARARG(class,unicode_str); */
3228 struct create_window_reply
3230 struct reply_header __header;
3231 user_handle_t handle;
3232 user_handle_t parent;
3233 user_handle_t owner;
3234 int extra;
3235 client_ptr_t class_ptr;
3240 struct destroy_window_request
3242 struct request_header __header;
3243 user_handle_t handle;
3245 struct destroy_window_reply
3247 struct reply_header __header;
3252 struct get_desktop_window_request
3254 struct request_header __header;
3255 int force;
3257 struct get_desktop_window_reply
3259 struct reply_header __header;
3260 user_handle_t top_window;
3261 user_handle_t msg_window;
3266 struct set_window_owner_request
3268 struct request_header __header;
3269 user_handle_t handle;
3270 user_handle_t owner;
3271 char __pad_20[4];
3273 struct set_window_owner_reply
3275 struct reply_header __header;
3276 user_handle_t full_owner;
3277 user_handle_t prev_owner;
3282 struct get_window_info_request
3284 struct request_header __header;
3285 user_handle_t handle;
3287 struct get_window_info_reply
3289 struct reply_header __header;
3290 user_handle_t full_handle;
3291 user_handle_t last_active;
3292 process_id_t pid;
3293 thread_id_t tid;
3294 atom_t atom;
3295 int is_unicode;
3300 struct set_window_info_request
3302 struct request_header __header;
3303 unsigned short flags;
3304 short int is_unicode;
3305 user_handle_t handle;
3306 unsigned int style;
3307 unsigned int ex_style;
3308 unsigned int id;
3309 mod_handle_t instance;
3310 lparam_t user_data;
3311 int extra_offset;
3312 data_size_t extra_size;
3313 lparam_t extra_value;
3315 struct set_window_info_reply
3317 struct reply_header __header;
3318 unsigned int old_style;
3319 unsigned int old_ex_style;
3320 mod_handle_t old_instance;
3321 lparam_t old_user_data;
3322 lparam_t old_extra_value;
3323 unsigned int old_id;
3324 char __pad_44[4];
3326 #define SET_WIN_STYLE 0x01
3327 #define SET_WIN_EXSTYLE 0x02
3328 #define SET_WIN_ID 0x04
3329 #define SET_WIN_INSTANCE 0x08
3330 #define SET_WIN_USERDATA 0x10
3331 #define SET_WIN_EXTRA 0x20
3332 #define SET_WIN_UNICODE 0x40
3336 struct set_parent_request
3338 struct request_header __header;
3339 user_handle_t handle;
3340 user_handle_t parent;
3341 char __pad_20[4];
3343 struct set_parent_reply
3345 struct reply_header __header;
3346 user_handle_t old_parent;
3347 user_handle_t full_parent;
3352 struct get_window_parents_request
3354 struct request_header __header;
3355 user_handle_t handle;
3357 struct get_window_parents_reply
3359 struct reply_header __header;
3360 int count;
3361 /* VARARG(parents,user_handles); */
3362 char __pad_12[4];
3367 struct get_window_children_request
3369 struct request_header __header;
3370 obj_handle_t desktop;
3371 user_handle_t parent;
3372 atom_t atom;
3373 thread_id_t tid;
3374 /* VARARG(class,unicode_str); */
3375 char __pad_28[4];
3377 struct get_window_children_reply
3379 struct reply_header __header;
3380 int count;
3381 /* VARARG(children,user_handles); */
3382 char __pad_12[4];
3387 struct get_window_children_from_point_request
3389 struct request_header __header;
3390 user_handle_t parent;
3391 int x;
3392 int y;
3394 struct get_window_children_from_point_reply
3396 struct reply_header __header;
3397 int count;
3398 /* VARARG(children,user_handles); */
3399 char __pad_12[4];
3404 struct get_window_tree_request
3406 struct request_header __header;
3407 user_handle_t handle;
3409 struct get_window_tree_reply
3411 struct reply_header __header;
3412 user_handle_t parent;
3413 user_handle_t owner;
3414 user_handle_t next_sibling;
3415 user_handle_t prev_sibling;
3416 user_handle_t first_sibling;
3417 user_handle_t last_sibling;
3418 user_handle_t first_child;
3419 user_handle_t last_child;
3423 struct set_window_pos_request
3425 struct request_header __header;
3426 unsigned short swp_flags;
3427 unsigned short paint_flags;
3428 user_handle_t handle;
3429 user_handle_t previous;
3430 rectangle_t window;
3431 rectangle_t client;
3432 /* VARARG(valid,rectangles); */
3434 struct set_window_pos_reply
3436 struct reply_header __header;
3437 unsigned int new_style;
3438 unsigned int new_ex_style;
3439 user_handle_t surface_win;
3440 char __pad_20[4];
3442 #define SET_WINPOS_PAINT_SURFACE 0x01
3443 #define SET_WINPOS_PIXEL_FORMAT 0x02
3446 struct get_window_rectangles_request
3448 struct request_header __header;
3449 user_handle_t handle;
3450 int relative;
3451 char __pad_20[4];
3453 struct get_window_rectangles_reply
3455 struct reply_header __header;
3456 rectangle_t window;
3457 rectangle_t visible;
3458 rectangle_t client;
3460 enum coords_relative
3462 COORDS_CLIENT,
3463 COORDS_WINDOW,
3464 COORDS_PARENT,
3465 COORDS_SCREEN
3470 struct get_window_text_request
3472 struct request_header __header;
3473 user_handle_t handle;
3475 struct get_window_text_reply
3477 struct reply_header __header;
3478 /* VARARG(text,unicode_str); */
3483 struct set_window_text_request
3485 struct request_header __header;
3486 user_handle_t handle;
3487 /* VARARG(text,unicode_str); */
3489 struct set_window_text_reply
3491 struct reply_header __header;
3496 struct get_windows_offset_request
3498 struct request_header __header;
3499 user_handle_t from;
3500 user_handle_t to;
3501 char __pad_20[4];
3503 struct get_windows_offset_reply
3505 struct reply_header __header;
3506 int x;
3507 int y;
3508 int mirror;
3509 char __pad_20[4];
3514 struct get_visible_region_request
3516 struct request_header __header;
3517 user_handle_t window;
3518 unsigned int flags;
3519 char __pad_20[4];
3521 struct get_visible_region_reply
3523 struct reply_header __header;
3524 user_handle_t top_win;
3525 rectangle_t top_rect;
3526 rectangle_t win_rect;
3527 unsigned int paint_flags;
3528 data_size_t total_size;
3529 /* VARARG(region,rectangles); */
3530 char __pad_52[4];
3535 struct get_surface_region_request
3537 struct request_header __header;
3538 user_handle_t window;
3540 struct get_surface_region_reply
3542 struct reply_header __header;
3543 rectangle_t visible_rect;
3544 data_size_t total_size;
3545 /* VARARG(region,rectangles); */
3546 char __pad_28[4];
3551 struct get_window_region_request
3553 struct request_header __header;
3554 user_handle_t window;
3556 struct get_window_region_reply
3558 struct reply_header __header;
3559 data_size_t total_size;
3560 /* VARARG(region,rectangles); */
3561 char __pad_12[4];
3566 struct set_window_region_request
3568 struct request_header __header;
3569 user_handle_t window;
3570 int redraw;
3571 /* VARARG(region,rectangles); */
3572 char __pad_20[4];
3574 struct set_window_region_reply
3576 struct reply_header __header;
3581 struct get_update_region_request
3583 struct request_header __header;
3584 user_handle_t window;
3585 user_handle_t from_child;
3586 unsigned int flags;
3588 struct get_update_region_reply
3590 struct reply_header __header;
3591 user_handle_t child;
3592 unsigned int flags;
3593 data_size_t total_size;
3594 /* VARARG(region,rectangles); */
3595 char __pad_20[4];
3597 #define UPDATE_NONCLIENT 0x01
3598 #define UPDATE_ERASE 0x02
3599 #define UPDATE_PAINT 0x04
3600 #define UPDATE_INTERNALPAINT 0x08
3601 #define UPDATE_ALLCHILDREN 0x10
3602 #define UPDATE_NOCHILDREN 0x20
3603 #define UPDATE_NOREGION 0x40
3604 #define UPDATE_DELAYED_ERASE 0x80
3608 struct update_window_zorder_request
3610 struct request_header __header;
3611 user_handle_t window;
3612 rectangle_t rect;
3614 struct update_window_zorder_reply
3616 struct reply_header __header;
3621 struct redraw_window_request
3623 struct request_header __header;
3624 user_handle_t window;
3625 unsigned int flags;
3626 /* VARARG(region,rectangles); */
3627 char __pad_20[4];
3629 struct redraw_window_reply
3631 struct reply_header __header;
3636 struct set_window_property_request
3638 struct request_header __header;
3639 user_handle_t window;
3640 lparam_t data;
3641 atom_t atom;
3642 /* VARARG(name,unicode_str); */
3643 char __pad_28[4];
3645 struct set_window_property_reply
3647 struct reply_header __header;
3652 struct remove_window_property_request
3654 struct request_header __header;
3655 user_handle_t window;
3656 atom_t atom;
3657 /* VARARG(name,unicode_str); */
3658 char __pad_20[4];
3660 struct remove_window_property_reply
3662 struct reply_header __header;
3663 lparam_t data;
3668 struct get_window_property_request
3670 struct request_header __header;
3671 user_handle_t window;
3672 atom_t atom;
3673 /* VARARG(name,unicode_str); */
3674 char __pad_20[4];
3676 struct get_window_property_reply
3678 struct reply_header __header;
3679 lparam_t data;
3684 struct get_window_properties_request
3686 struct request_header __header;
3687 user_handle_t window;
3689 struct get_window_properties_reply
3691 struct reply_header __header;
3692 int total;
3693 /* VARARG(props,properties); */
3694 char __pad_12[4];
3699 struct create_winstation_request
3701 struct request_header __header;
3702 unsigned int flags;
3703 unsigned int access;
3704 unsigned int attributes;
3705 /* VARARG(name,unicode_str); */
3707 struct create_winstation_reply
3709 struct reply_header __header;
3710 obj_handle_t handle;
3711 char __pad_12[4];
3716 struct open_winstation_request
3718 struct request_header __header;
3719 unsigned int access;
3720 unsigned int attributes;
3721 /* VARARG(name,unicode_str); */
3722 char __pad_20[4];
3724 struct open_winstation_reply
3726 struct reply_header __header;
3727 obj_handle_t handle;
3728 char __pad_12[4];
3733 struct close_winstation_request
3735 struct request_header __header;
3736 obj_handle_t handle;
3738 struct close_winstation_reply
3740 struct reply_header __header;
3745 struct get_process_winstation_request
3747 struct request_header __header;
3748 char __pad_12[4];
3750 struct get_process_winstation_reply
3752 struct reply_header __header;
3753 obj_handle_t handle;
3754 char __pad_12[4];
3759 struct set_process_winstation_request
3761 struct request_header __header;
3762 obj_handle_t handle;
3764 struct set_process_winstation_reply
3766 struct reply_header __header;
3771 struct enum_winstation_request
3773 struct request_header __header;
3774 unsigned int index;
3776 struct enum_winstation_reply
3778 struct reply_header __header;
3779 unsigned int next;
3780 /* VARARG(name,unicode_str); */
3781 char __pad_12[4];
3786 struct create_desktop_request
3788 struct request_header __header;
3789 unsigned int flags;
3790 unsigned int access;
3791 unsigned int attributes;
3792 /* VARARG(name,unicode_str); */
3794 struct create_desktop_reply
3796 struct reply_header __header;
3797 obj_handle_t handle;
3798 char __pad_12[4];
3803 struct open_desktop_request
3805 struct request_header __header;
3806 obj_handle_t winsta;
3807 unsigned int flags;
3808 unsigned int access;
3809 unsigned int attributes;
3810 /* VARARG(name,unicode_str); */
3811 char __pad_28[4];
3813 struct open_desktop_reply
3815 struct reply_header __header;
3816 obj_handle_t handle;
3817 char __pad_12[4];
3822 struct open_input_desktop_request
3824 struct request_header __header;
3825 unsigned int flags;
3826 unsigned int access;
3827 unsigned int attributes;
3829 struct open_input_desktop_reply
3831 struct reply_header __header;
3832 obj_handle_t handle;
3833 char __pad_12[4];
3838 struct close_desktop_request
3840 struct request_header __header;
3841 obj_handle_t handle;
3843 struct close_desktop_reply
3845 struct reply_header __header;
3850 struct get_thread_desktop_request
3852 struct request_header __header;
3853 thread_id_t tid;
3855 struct get_thread_desktop_reply
3857 struct reply_header __header;
3858 obj_handle_t handle;
3859 char __pad_12[4];
3864 struct set_thread_desktop_request
3866 struct request_header __header;
3867 obj_handle_t handle;
3869 struct set_thread_desktop_reply
3871 struct reply_header __header;
3876 struct enum_desktop_request
3878 struct request_header __header;
3879 obj_handle_t winstation;
3880 unsigned int index;
3881 char __pad_20[4];
3883 struct enum_desktop_reply
3885 struct reply_header __header;
3886 unsigned int next;
3887 /* VARARG(name,unicode_str); */
3888 char __pad_12[4];
3893 struct set_user_object_info_request
3895 struct request_header __header;
3896 obj_handle_t handle;
3897 unsigned int flags;
3898 unsigned int obj_flags;
3900 struct set_user_object_info_reply
3902 struct reply_header __header;
3903 int is_desktop;
3904 unsigned int old_obj_flags;
3905 /* VARARG(name,unicode_str); */
3907 #define SET_USER_OBJECT_FLAGS 1
3911 struct register_hotkey_request
3913 struct request_header __header;
3914 user_handle_t window;
3915 int id;
3916 unsigned int flags;
3917 unsigned int vkey;
3918 char __pad_28[4];
3920 struct register_hotkey_reply
3922 struct reply_header __header;
3923 int replaced;
3924 unsigned int flags;
3925 unsigned int vkey;
3926 char __pad_20[4];
3931 struct unregister_hotkey_request
3933 struct request_header __header;
3934 user_handle_t window;
3935 int id;
3936 char __pad_20[4];
3938 struct unregister_hotkey_reply
3940 struct reply_header __header;
3941 unsigned int flags;
3942 unsigned int vkey;
3947 struct attach_thread_input_request
3949 struct request_header __header;
3950 thread_id_t tid_from;
3951 thread_id_t tid_to;
3952 int attach;
3954 struct attach_thread_input_reply
3956 struct reply_header __header;
3961 struct get_thread_input_request
3963 struct request_header __header;
3964 thread_id_t tid;
3966 struct get_thread_input_reply
3968 struct reply_header __header;
3969 user_handle_t focus;
3970 user_handle_t capture;
3971 user_handle_t active;
3972 user_handle_t foreground;
3973 user_handle_t menu_owner;
3974 user_handle_t move_size;
3975 user_handle_t caret;
3976 user_handle_t cursor;
3977 int show_count;
3978 rectangle_t rect;
3979 char __pad_60[4];
3984 struct get_last_input_time_request
3986 struct request_header __header;
3987 char __pad_12[4];
3989 struct get_last_input_time_reply
3991 struct reply_header __header;
3992 unsigned int time;
3993 char __pad_12[4];
3998 struct get_key_state_request
4000 struct request_header __header;
4001 thread_id_t tid;
4002 int key;
4003 char __pad_20[4];
4005 struct get_key_state_reply
4007 struct reply_header __header;
4008 unsigned char state;
4009 /* VARARG(keystate,bytes); */
4010 char __pad_9[7];
4014 struct set_key_state_request
4016 struct request_header __header;
4017 thread_id_t tid;
4018 int async;
4019 /* VARARG(keystate,bytes); */
4020 char __pad_20[4];
4022 struct set_key_state_reply
4024 struct reply_header __header;
4028 struct set_foreground_window_request
4030 struct request_header __header;
4031 user_handle_t handle;
4033 struct set_foreground_window_reply
4035 struct reply_header __header;
4036 user_handle_t previous;
4037 int send_msg_old;
4038 int send_msg_new;
4039 char __pad_20[4];
4043 struct set_focus_window_request
4045 struct request_header __header;
4046 user_handle_t handle;
4048 struct set_focus_window_reply
4050 struct reply_header __header;
4051 user_handle_t previous;
4052 char __pad_12[4];
4056 struct set_active_window_request
4058 struct request_header __header;
4059 user_handle_t handle;
4061 struct set_active_window_reply
4063 struct reply_header __header;
4064 user_handle_t previous;
4065 char __pad_12[4];
4069 struct set_capture_window_request
4071 struct request_header __header;
4072 user_handle_t handle;
4073 unsigned int flags;
4074 char __pad_20[4];
4076 struct set_capture_window_reply
4078 struct reply_header __header;
4079 user_handle_t previous;
4080 user_handle_t full_handle;
4082 #define CAPTURE_MENU 0x01
4083 #define CAPTURE_MOVESIZE 0x02
4087 struct set_caret_window_request
4089 struct request_header __header;
4090 user_handle_t handle;
4091 int width;
4092 int height;
4094 struct set_caret_window_reply
4096 struct reply_header __header;
4097 user_handle_t previous;
4098 rectangle_t old_rect;
4099 int old_hide;
4100 int old_state;
4101 char __pad_36[4];
4106 struct set_caret_info_request
4108 struct request_header __header;
4109 unsigned int flags;
4110 user_handle_t handle;
4111 int x;
4112 int y;
4113 int hide;
4114 int state;
4115 char __pad_36[4];
4117 struct set_caret_info_reply
4119 struct reply_header __header;
4120 user_handle_t full_handle;
4121 rectangle_t old_rect;
4122 int old_hide;
4123 int old_state;
4124 char __pad_36[4];
4126 #define SET_CARET_POS 0x01
4127 #define SET_CARET_HIDE 0x02
4128 #define SET_CARET_STATE 0x04
4132 struct set_hook_request
4134 struct request_header __header;
4135 int id;
4136 process_id_t pid;
4137 thread_id_t tid;
4138 int event_min;
4139 int event_max;
4140 client_ptr_t proc;
4141 int flags;
4142 int unicode;
4143 /* VARARG(module,unicode_str); */
4145 struct set_hook_reply
4147 struct reply_header __header;
4148 user_handle_t handle;
4149 unsigned int active_hooks;
4154 struct remove_hook_request
4156 struct request_header __header;
4157 user_handle_t handle;
4158 client_ptr_t proc;
4159 int id;
4160 char __pad_28[4];
4162 struct remove_hook_reply
4164 struct reply_header __header;
4165 unsigned int active_hooks;
4166 char __pad_12[4];
4171 struct start_hook_chain_request
4173 struct request_header __header;
4174 int id;
4175 int event;
4176 user_handle_t window;
4177 int object_id;
4178 int child_id;
4180 struct start_hook_chain_reply
4182 struct reply_header __header;
4183 user_handle_t handle;
4184 process_id_t pid;
4185 thread_id_t tid;
4186 int unicode;
4187 client_ptr_t proc;
4188 unsigned int active_hooks;
4189 /* VARARG(module,unicode_str); */
4190 char __pad_36[4];
4195 struct finish_hook_chain_request
4197 struct request_header __header;
4198 int id;
4200 struct finish_hook_chain_reply
4202 struct reply_header __header;
4207 struct get_hook_info_request
4209 struct request_header __header;
4210 user_handle_t handle;
4211 int get_next;
4212 int event;
4213 user_handle_t window;
4214 int object_id;
4215 int child_id;
4216 char __pad_36[4];
4218 struct get_hook_info_reply
4220 struct reply_header __header;
4221 user_handle_t handle;
4222 int id;
4223 process_id_t pid;
4224 thread_id_t tid;
4225 client_ptr_t proc;
4226 int unicode;
4227 /* VARARG(module,unicode_str); */
4228 char __pad_36[4];
4233 struct create_class_request
4235 struct request_header __header;
4236 int local;
4237 atom_t atom;
4238 unsigned int style;
4239 mod_handle_t instance;
4240 int extra;
4241 int win_extra;
4242 client_ptr_t client_ptr;
4243 /* VARARG(name,unicode_str); */
4245 struct create_class_reply
4247 struct reply_header __header;
4248 atom_t atom;
4249 char __pad_12[4];
4254 struct destroy_class_request
4256 struct request_header __header;
4257 atom_t atom;
4258 mod_handle_t instance;
4259 /* VARARG(name,unicode_str); */
4261 struct destroy_class_reply
4263 struct reply_header __header;
4264 client_ptr_t client_ptr;
4269 struct set_class_info_request
4271 struct request_header __header;
4272 user_handle_t window;
4273 unsigned int flags;
4274 atom_t atom;
4275 unsigned int style;
4276 int win_extra;
4277 mod_handle_t instance;
4278 int extra_offset;
4279 data_size_t extra_size;
4280 lparam_t extra_value;
4282 struct set_class_info_reply
4284 struct reply_header __header;
4285 atom_t old_atom;
4286 unsigned int old_style;
4287 int old_extra;
4288 int old_win_extra;
4289 mod_handle_t old_instance;
4290 lparam_t old_extra_value;
4292 #define SET_CLASS_ATOM 0x0001
4293 #define SET_CLASS_STYLE 0x0002
4294 #define SET_CLASS_WINEXTRA 0x0004
4295 #define SET_CLASS_INSTANCE 0x0008
4296 #define SET_CLASS_EXTRA 0x0010
4300 struct set_clipboard_info_request
4302 struct request_header __header;
4303 unsigned int flags;
4304 user_handle_t clipboard;
4305 user_handle_t owner;
4306 user_handle_t viewer;
4307 unsigned int seqno;
4309 struct set_clipboard_info_reply
4311 struct reply_header __header;
4312 unsigned int flags;
4313 user_handle_t old_clipboard;
4314 user_handle_t old_owner;
4315 user_handle_t old_viewer;
4316 unsigned int seqno;
4317 char __pad_28[4];
4320 #define SET_CB_OPEN 0x001
4321 #define SET_CB_OWNER 0x002
4322 #define SET_CB_VIEWER 0x004
4323 #define SET_CB_SEQNO 0x008
4324 #define SET_CB_RELOWNER 0x010
4325 #define SET_CB_CLOSE 0x020
4326 #define CB_OPEN 0x040
4327 #define CB_OWNER 0x080
4328 #define CB_PROCESS 0x100
4332 struct open_token_request
4334 struct request_header __header;
4335 obj_handle_t handle;
4336 unsigned int access;
4337 unsigned int attributes;
4338 unsigned int flags;
4339 char __pad_28[4];
4341 struct open_token_reply
4343 struct reply_header __header;
4344 obj_handle_t token;
4345 char __pad_12[4];
4347 #define OPEN_TOKEN_THREAD 1
4348 #define OPEN_TOKEN_AS_SELF 2
4352 struct set_global_windows_request
4354 struct request_header __header;
4355 unsigned int flags;
4356 user_handle_t shell_window;
4357 user_handle_t shell_listview;
4358 user_handle_t progman_window;
4359 user_handle_t taskman_window;
4361 struct set_global_windows_reply
4363 struct reply_header __header;
4364 user_handle_t old_shell_window;
4365 user_handle_t old_shell_listview;
4366 user_handle_t old_progman_window;
4367 user_handle_t old_taskman_window;
4369 #define SET_GLOBAL_SHELL_WINDOWS 0x01
4370 #define SET_GLOBAL_PROGMAN_WINDOW 0x02
4371 #define SET_GLOBAL_TASKMAN_WINDOW 0x04
4374 struct adjust_token_privileges_request
4376 struct request_header __header;
4377 obj_handle_t handle;
4378 int disable_all;
4379 int get_modified_state;
4380 /* VARARG(privileges,LUID_AND_ATTRIBUTES); */
4382 struct adjust_token_privileges_reply
4384 struct reply_header __header;
4385 unsigned int len;
4386 /* VARARG(privileges,LUID_AND_ATTRIBUTES); */
4387 char __pad_12[4];
4391 struct get_token_privileges_request
4393 struct request_header __header;
4394 obj_handle_t handle;
4396 struct get_token_privileges_reply
4398 struct reply_header __header;
4399 unsigned int len;
4400 /* VARARG(privileges,LUID_AND_ATTRIBUTES); */
4401 char __pad_12[4];
4405 struct check_token_privileges_request
4407 struct request_header __header;
4408 obj_handle_t handle;
4409 int all_required;
4410 /* VARARG(privileges,LUID_AND_ATTRIBUTES); */
4411 char __pad_20[4];
4413 struct check_token_privileges_reply
4415 struct reply_header __header;
4416 int has_privileges;
4417 /* VARARG(privileges,LUID_AND_ATTRIBUTES); */
4418 char __pad_12[4];
4421 struct duplicate_token_request
4423 struct request_header __header;
4424 obj_handle_t handle;
4425 unsigned int access;
4426 unsigned int attributes;
4427 int primary;
4428 int impersonation_level;
4430 struct duplicate_token_reply
4432 struct reply_header __header;
4433 obj_handle_t new_handle;
4434 char __pad_12[4];
4437 struct access_check_request
4439 struct request_header __header;
4440 obj_handle_t handle;
4441 unsigned int desired_access;
4442 unsigned int mapping_read;
4443 unsigned int mapping_write;
4444 unsigned int mapping_execute;
4445 unsigned int mapping_all;
4446 /* VARARG(sd,security_descriptor); */
4447 char __pad_36[4];
4449 struct access_check_reply
4451 struct reply_header __header;
4452 unsigned int access_granted;
4453 unsigned int access_status;
4454 unsigned int privileges_len;
4455 /* VARARG(privileges,LUID_AND_ATTRIBUTES); */
4456 char __pad_20[4];
4459 struct get_token_sid_request
4461 struct request_header __header;
4462 obj_handle_t handle;
4463 unsigned int which_sid;
4464 char __pad_20[4];
4466 struct get_token_sid_reply
4468 struct reply_header __header;
4469 data_size_t sid_len;
4470 /* VARARG(sid,SID); */
4471 char __pad_12[4];
4474 struct get_token_groups_request
4476 struct request_header __header;
4477 obj_handle_t handle;
4479 struct get_token_groups_reply
4481 struct reply_header __header;
4482 data_size_t user_len;
4483 /* VARARG(user,token_groups); */
4484 char __pad_12[4];
4487 struct get_token_default_dacl_request
4489 struct request_header __header;
4490 obj_handle_t handle;
4492 struct get_token_default_dacl_reply
4494 struct reply_header __header;
4495 data_size_t acl_len;
4496 /* VARARG(acl,ACL); */
4497 char __pad_12[4];
4500 struct set_token_default_dacl_request
4502 struct request_header __header;
4503 obj_handle_t handle;
4504 /* VARARG(acl,ACL); */
4506 struct set_token_default_dacl_reply
4508 struct reply_header __header;
4511 struct set_security_object_request
4513 struct request_header __header;
4514 obj_handle_t handle;
4515 unsigned int security_info;
4516 /* VARARG(sd,security_descriptor); */
4517 char __pad_20[4];
4519 struct set_security_object_reply
4521 struct reply_header __header;
4524 struct get_security_object_request
4526 struct request_header __header;
4527 obj_handle_t handle;
4528 unsigned int security_info;
4529 char __pad_20[4];
4531 struct get_security_object_reply
4533 struct reply_header __header;
4534 unsigned int sd_len;
4535 /* VARARG(sd,security_descriptor); */
4536 char __pad_12[4];
4540 struct create_mailslot_request
4542 struct request_header __header;
4543 unsigned int access;
4544 unsigned int attributes;
4545 obj_handle_t rootdir;
4546 timeout_t read_timeout;
4547 unsigned int max_msgsize;
4548 /* VARARG(name,unicode_str); */
4549 char __pad_36[4];
4551 struct create_mailslot_reply
4553 struct reply_header __header;
4554 obj_handle_t handle;
4555 char __pad_12[4];
4560 struct set_mailslot_info_request
4562 struct request_header __header;
4563 obj_handle_t handle;
4564 timeout_t read_timeout;
4565 unsigned int flags;
4566 char __pad_28[4];
4568 struct set_mailslot_info_reply
4570 struct reply_header __header;
4571 timeout_t read_timeout;
4572 unsigned int max_msgsize;
4573 char __pad_20[4];
4575 #define MAILSLOT_SET_READ_TIMEOUT 1
4579 struct create_directory_request
4581 struct request_header __header;
4582 unsigned int access;
4583 unsigned int attributes;
4584 obj_handle_t rootdir;
4585 /* VARARG(directory_name,unicode_str); */
4587 struct create_directory_reply
4589 struct reply_header __header;
4590 obj_handle_t handle;
4591 char __pad_12[4];
4596 struct open_directory_request
4598 struct request_header __header;
4599 unsigned int access;
4600 unsigned int attributes;
4601 obj_handle_t rootdir;
4602 /* VARARG(directory_name,unicode_str); */
4604 struct open_directory_reply
4606 struct reply_header __header;
4607 obj_handle_t handle;
4608 char __pad_12[4];
4613 struct get_directory_entry_request
4615 struct request_header __header;
4616 obj_handle_t handle;
4617 unsigned int index;
4618 char __pad_20[4];
4620 struct get_directory_entry_reply
4622 struct reply_header __header;
4623 data_size_t name_len;
4624 /* VARARG(name,unicode_str,name_len); */
4625 /* VARARG(type,unicode_str); */
4626 char __pad_12[4];
4631 struct create_symlink_request
4633 struct request_header __header;
4634 unsigned int access;
4635 unsigned int attributes;
4636 obj_handle_t rootdir;
4637 data_size_t name_len;
4638 /* VARARG(name,unicode_str,name_len); */
4639 /* VARARG(target_name,unicode_str); */
4640 char __pad_28[4];
4642 struct create_symlink_reply
4644 struct reply_header __header;
4645 obj_handle_t handle;
4646 char __pad_12[4];
4651 struct open_symlink_request
4653 struct request_header __header;
4654 unsigned int access;
4655 unsigned int attributes;
4656 obj_handle_t rootdir;
4657 /* VARARG(name,unicode_str); */
4659 struct open_symlink_reply
4661 struct reply_header __header;
4662 obj_handle_t handle;
4663 char __pad_12[4];
4668 struct query_symlink_request
4670 struct request_header __header;
4671 obj_handle_t handle;
4673 struct query_symlink_reply
4675 struct reply_header __header;
4676 data_size_t total;
4677 /* VARARG(target_name,unicode_str); */
4678 char __pad_12[4];
4683 struct get_object_info_request
4685 struct request_header __header;
4686 obj_handle_t handle;
4688 struct get_object_info_reply
4690 struct reply_header __header;
4691 unsigned int access;
4692 unsigned int ref_count;
4693 data_size_t total;
4694 /* VARARG(name,unicode_str); */
4695 char __pad_20[4];
4700 struct unlink_object_request
4702 struct request_header __header;
4703 obj_handle_t handle;
4705 struct unlink_object_reply
4707 struct reply_header __header;
4712 struct get_token_impersonation_level_request
4714 struct request_header __header;
4715 obj_handle_t handle;
4717 struct get_token_impersonation_level_reply
4719 struct reply_header __header;
4720 int impersonation_level;
4721 char __pad_12[4];
4725 struct allocate_locally_unique_id_request
4727 struct request_header __header;
4728 char __pad_12[4];
4730 struct allocate_locally_unique_id_reply
4732 struct reply_header __header;
4733 luid_t luid;
4738 struct create_device_manager_request
4740 struct request_header __header;
4741 unsigned int access;
4742 unsigned int attributes;
4743 char __pad_20[4];
4745 struct create_device_manager_reply
4747 struct reply_header __header;
4748 obj_handle_t handle;
4749 char __pad_12[4];
4754 struct create_device_request
4756 struct request_header __header;
4757 unsigned int access;
4758 unsigned int attributes;
4759 obj_handle_t rootdir;
4760 client_ptr_t user_ptr;
4761 obj_handle_t manager;
4762 /* VARARG(name,unicode_str); */
4763 char __pad_36[4];
4765 struct create_device_reply
4767 struct reply_header __header;
4768 obj_handle_t handle;
4769 char __pad_12[4];
4774 struct delete_device_request
4776 struct request_header __header;
4777 obj_handle_t handle;
4779 struct delete_device_reply
4781 struct reply_header __header;
4786 struct get_next_device_request_request
4788 struct request_header __header;
4789 obj_handle_t manager;
4790 obj_handle_t prev;
4791 unsigned int status;
4792 /* VARARG(prev_data,bytes); */
4794 struct get_next_device_request_reply
4796 struct reply_header __header;
4797 obj_handle_t next;
4798 ioctl_code_t code;
4799 client_ptr_t user_ptr;
4800 process_id_t client_pid;
4801 thread_id_t client_tid;
4802 data_size_t in_size;
4803 data_size_t out_size;
4804 /* VARARG(next_data,bytes); */
4809 struct make_process_system_request
4811 struct request_header __header;
4812 char __pad_12[4];
4814 struct make_process_system_reply
4816 struct reply_header __header;
4817 obj_handle_t event;
4818 char __pad_12[4];
4823 struct get_token_statistics_request
4825 struct request_header __header;
4826 obj_handle_t handle;
4828 struct get_token_statistics_reply
4830 struct reply_header __header;
4831 luid_t token_id;
4832 luid_t modified_id;
4833 int primary;
4834 int impersonation_level;
4835 int group_count;
4836 int privilege_count;
4841 struct create_completion_request
4843 struct request_header __header;
4844 unsigned int access;
4845 unsigned int attributes;
4846 unsigned int concurrent;
4847 obj_handle_t rootdir;
4848 /* VARARG(filename,unicode_str); */
4849 char __pad_28[4];
4851 struct create_completion_reply
4853 struct reply_header __header;
4854 obj_handle_t handle;
4855 char __pad_12[4];
4860 struct open_completion_request
4862 struct request_header __header;
4863 unsigned int access;
4864 unsigned int attributes;
4865 obj_handle_t rootdir;
4866 /* VARARG(filename,unicode_str); */
4868 struct open_completion_reply
4870 struct reply_header __header;
4871 obj_handle_t handle;
4872 char __pad_12[4];
4877 struct add_completion_request
4879 struct request_header __header;
4880 obj_handle_t handle;
4881 apc_param_t ckey;
4882 apc_param_t cvalue;
4883 apc_param_t information;
4884 unsigned int status;
4885 char __pad_44[4];
4887 struct add_completion_reply
4889 struct reply_header __header;
4894 struct remove_completion_request
4896 struct request_header __header;
4897 obj_handle_t handle;
4899 struct remove_completion_reply
4901 struct reply_header __header;
4902 apc_param_t ckey;
4903 apc_param_t cvalue;
4904 apc_param_t information;
4905 unsigned int status;
4906 char __pad_36[4];
4911 struct query_completion_request
4913 struct request_header __header;
4914 obj_handle_t handle;
4916 struct query_completion_reply
4918 struct reply_header __header;
4919 unsigned int depth;
4920 char __pad_12[4];
4925 struct set_completion_info_request
4927 struct request_header __header;
4928 obj_handle_t handle;
4929 apc_param_t ckey;
4930 obj_handle_t chandle;
4931 char __pad_28[4];
4933 struct set_completion_info_reply
4935 struct reply_header __header;
4940 struct add_fd_completion_request
4942 struct request_header __header;
4943 obj_handle_t handle;
4944 apc_param_t cvalue;
4945 apc_param_t information;
4946 unsigned int status;
4947 char __pad_36[4];
4949 struct add_fd_completion_reply
4951 struct reply_header __header;
4956 struct get_window_layered_info_request
4958 struct request_header __header;
4959 user_handle_t handle;
4961 struct get_window_layered_info_reply
4963 struct reply_header __header;
4964 unsigned int color_key;
4965 unsigned int alpha;
4966 unsigned int flags;
4967 char __pad_20[4];
4972 struct set_window_layered_info_request
4974 struct request_header __header;
4975 user_handle_t handle;
4976 unsigned int color_key;
4977 unsigned int alpha;
4978 unsigned int flags;
4979 char __pad_28[4];
4981 struct set_window_layered_info_reply
4983 struct reply_header __header;
4988 struct alloc_user_handle_request
4990 struct request_header __header;
4991 char __pad_12[4];
4993 struct alloc_user_handle_reply
4995 struct reply_header __header;
4996 user_handle_t handle;
4997 char __pad_12[4];
5002 struct free_user_handle_request
5004 struct request_header __header;
5005 user_handle_t handle;
5007 struct free_user_handle_reply
5009 struct reply_header __header;
5014 struct set_cursor_request
5016 struct request_header __header;
5017 unsigned int flags;
5018 user_handle_t handle;
5019 int show_count;
5020 int x;
5021 int y;
5022 rectangle_t clip;
5023 unsigned int clip_msg;
5024 char __pad_52[4];
5026 struct set_cursor_reply
5028 struct reply_header __header;
5029 user_handle_t prev_handle;
5030 int prev_count;
5031 int prev_x;
5032 int prev_y;
5033 int new_x;
5034 int new_y;
5035 rectangle_t new_clip;
5036 unsigned int last_change;
5037 char __pad_52[4];
5039 #define SET_CURSOR_HANDLE 0x01
5040 #define SET_CURSOR_COUNT 0x02
5041 #define SET_CURSOR_POS 0x04
5042 #define SET_CURSOR_CLIP 0x08
5043 #define SET_CURSOR_NOCLIP 0x10
5047 struct update_rawinput_devices_request
5049 struct request_header __header;
5050 /* VARARG(devices,rawinput_devices); */
5051 char __pad_12[4];
5053 struct update_rawinput_devices_reply
5055 struct reply_header __header;
5060 struct get_suspend_context_request
5062 struct request_header __header;
5063 char __pad_12[4];
5065 struct get_suspend_context_reply
5067 struct reply_header __header;
5068 /* VARARG(context,context); */
5073 struct set_suspend_context_request
5075 struct request_header __header;
5076 /* VARARG(context,context); */
5077 char __pad_12[4];
5079 struct set_suspend_context_reply
5081 struct reply_header __header;
5085 enum request
5087 REQ_new_process,
5088 REQ_get_new_process_info,
5089 REQ_new_thread,
5090 REQ_get_startup_info,
5091 REQ_init_process_done,
5092 REQ_init_thread,
5093 REQ_terminate_process,
5094 REQ_terminate_thread,
5095 REQ_get_process_info,
5096 REQ_set_process_info,
5097 REQ_get_thread_info,
5098 REQ_set_thread_info,
5099 REQ_get_dll_info,
5100 REQ_suspend_thread,
5101 REQ_resume_thread,
5102 REQ_load_dll,
5103 REQ_unload_dll,
5104 REQ_queue_apc,
5105 REQ_get_apc_result,
5106 REQ_close_handle,
5107 REQ_set_handle_info,
5108 REQ_dup_handle,
5109 REQ_open_process,
5110 REQ_open_thread,
5111 REQ_select,
5112 REQ_create_event,
5113 REQ_event_op,
5114 REQ_query_event,
5115 REQ_open_event,
5116 REQ_create_keyed_event,
5117 REQ_open_keyed_event,
5118 REQ_create_mutex,
5119 REQ_release_mutex,
5120 REQ_open_mutex,
5121 REQ_create_semaphore,
5122 REQ_release_semaphore,
5123 REQ_query_semaphore,
5124 REQ_open_semaphore,
5125 REQ_create_file,
5126 REQ_open_file_object,
5127 REQ_alloc_file_handle,
5128 REQ_get_handle_unix_name,
5129 REQ_get_handle_fd,
5130 REQ_flush_file,
5131 REQ_lock_file,
5132 REQ_unlock_file,
5133 REQ_create_socket,
5134 REQ_accept_socket,
5135 REQ_accept_into_socket,
5136 REQ_set_socket_event,
5137 REQ_get_socket_event,
5138 REQ_get_socket_info,
5139 REQ_enable_socket_event,
5140 REQ_set_socket_deferred,
5141 REQ_alloc_console,
5142 REQ_free_console,
5143 REQ_get_console_renderer_events,
5144 REQ_open_console,
5145 REQ_get_console_wait_event,
5146 REQ_get_console_mode,
5147 REQ_set_console_mode,
5148 REQ_set_console_input_info,
5149 REQ_get_console_input_info,
5150 REQ_append_console_input_history,
5151 REQ_get_console_input_history,
5152 REQ_create_console_output,
5153 REQ_set_console_output_info,
5154 REQ_get_console_output_info,
5155 REQ_write_console_input,
5156 REQ_read_console_input,
5157 REQ_write_console_output,
5158 REQ_fill_console_output,
5159 REQ_read_console_output,
5160 REQ_move_console_output,
5161 REQ_send_console_signal,
5162 REQ_read_directory_changes,
5163 REQ_read_change,
5164 REQ_create_mapping,
5165 REQ_open_mapping,
5166 REQ_get_mapping_info,
5167 REQ_get_mapping_committed_range,
5168 REQ_add_mapping_committed_range,
5169 REQ_create_snapshot,
5170 REQ_next_process,
5171 REQ_next_thread,
5172 REQ_wait_debug_event,
5173 REQ_queue_exception_event,
5174 REQ_get_exception_status,
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_set_ioctl_result,
5230 REQ_get_ioctl_result,
5231 REQ_create_named_pipe,
5232 REQ_get_named_pipe_info,
5233 REQ_set_named_pipe_info,
5234 REQ_create_window,
5235 REQ_destroy_window,
5236 REQ_get_desktop_window,
5237 REQ_set_window_owner,
5238 REQ_get_window_info,
5239 REQ_set_window_info,
5240 REQ_set_parent,
5241 REQ_get_window_parents,
5242 REQ_get_window_children,
5243 REQ_get_window_children_from_point,
5244 REQ_get_window_tree,
5245 REQ_set_window_pos,
5246 REQ_get_window_rectangles,
5247 REQ_get_window_text,
5248 REQ_set_window_text,
5249 REQ_get_windows_offset,
5250 REQ_get_visible_region,
5251 REQ_get_surface_region,
5252 REQ_get_window_region,
5253 REQ_set_window_region,
5254 REQ_get_update_region,
5255 REQ_update_window_zorder,
5256 REQ_redraw_window,
5257 REQ_set_window_property,
5258 REQ_remove_window_property,
5259 REQ_get_window_property,
5260 REQ_get_window_properties,
5261 REQ_create_winstation,
5262 REQ_open_winstation,
5263 REQ_close_winstation,
5264 REQ_get_process_winstation,
5265 REQ_set_process_winstation,
5266 REQ_enum_winstation,
5267 REQ_create_desktop,
5268 REQ_open_desktop,
5269 REQ_open_input_desktop,
5270 REQ_close_desktop,
5271 REQ_get_thread_desktop,
5272 REQ_set_thread_desktop,
5273 REQ_enum_desktop,
5274 REQ_set_user_object_info,
5275 REQ_register_hotkey,
5276 REQ_unregister_hotkey,
5277 REQ_attach_thread_input,
5278 REQ_get_thread_input,
5279 REQ_get_last_input_time,
5280 REQ_get_key_state,
5281 REQ_set_key_state,
5282 REQ_set_foreground_window,
5283 REQ_set_focus_window,
5284 REQ_set_active_window,
5285 REQ_set_capture_window,
5286 REQ_set_caret_window,
5287 REQ_set_caret_info,
5288 REQ_set_hook,
5289 REQ_remove_hook,
5290 REQ_start_hook_chain,
5291 REQ_finish_hook_chain,
5292 REQ_get_hook_info,
5293 REQ_create_class,
5294 REQ_destroy_class,
5295 REQ_set_class_info,
5296 REQ_set_clipboard_info,
5297 REQ_open_token,
5298 REQ_set_global_windows,
5299 REQ_adjust_token_privileges,
5300 REQ_get_token_privileges,
5301 REQ_check_token_privileges,
5302 REQ_duplicate_token,
5303 REQ_access_check,
5304 REQ_get_token_sid,
5305 REQ_get_token_groups,
5306 REQ_get_token_default_dacl,
5307 REQ_set_token_default_dacl,
5308 REQ_set_security_object,
5309 REQ_get_security_object,
5310 REQ_create_mailslot,
5311 REQ_set_mailslot_info,
5312 REQ_create_directory,
5313 REQ_open_directory,
5314 REQ_get_directory_entry,
5315 REQ_create_symlink,
5316 REQ_open_symlink,
5317 REQ_query_symlink,
5318 REQ_get_object_info,
5319 REQ_unlink_object,
5320 REQ_get_token_impersonation_level,
5321 REQ_allocate_locally_unique_id,
5322 REQ_create_device_manager,
5323 REQ_create_device,
5324 REQ_delete_device,
5325 REQ_get_next_device_request,
5326 REQ_make_process_system,
5327 REQ_get_token_statistics,
5328 REQ_create_completion,
5329 REQ_open_completion,
5330 REQ_add_completion,
5331 REQ_remove_completion,
5332 REQ_query_completion,
5333 REQ_set_completion_info,
5334 REQ_add_fd_completion,
5335 REQ_get_window_layered_info,
5336 REQ_set_window_layered_info,
5337 REQ_alloc_user_handle,
5338 REQ_free_user_handle,
5339 REQ_set_cursor,
5340 REQ_update_rawinput_devices,
5341 REQ_get_suspend_context,
5342 REQ_set_suspend_context,
5343 REQ_NB_REQUESTS
5346 union generic_request
5348 struct request_max_size max_size;
5349 struct request_header request_header;
5350 struct new_process_request new_process_request;
5351 struct get_new_process_info_request get_new_process_info_request;
5352 struct new_thread_request new_thread_request;
5353 struct get_startup_info_request get_startup_info_request;
5354 struct init_process_done_request init_process_done_request;
5355 struct init_thread_request init_thread_request;
5356 struct terminate_process_request terminate_process_request;
5357 struct terminate_thread_request terminate_thread_request;
5358 struct get_process_info_request get_process_info_request;
5359 struct set_process_info_request set_process_info_request;
5360 struct get_thread_info_request get_thread_info_request;
5361 struct set_thread_info_request set_thread_info_request;
5362 struct get_dll_info_request get_dll_info_request;
5363 struct suspend_thread_request suspend_thread_request;
5364 struct resume_thread_request resume_thread_request;
5365 struct load_dll_request load_dll_request;
5366 struct unload_dll_request unload_dll_request;
5367 struct queue_apc_request queue_apc_request;
5368 struct get_apc_result_request get_apc_result_request;
5369 struct close_handle_request close_handle_request;
5370 struct set_handle_info_request set_handle_info_request;
5371 struct dup_handle_request dup_handle_request;
5372 struct open_process_request open_process_request;
5373 struct open_thread_request open_thread_request;
5374 struct select_request select_request;
5375 struct create_event_request create_event_request;
5376 struct event_op_request event_op_request;
5377 struct query_event_request query_event_request;
5378 struct open_event_request open_event_request;
5379 struct create_keyed_event_request create_keyed_event_request;
5380 struct open_keyed_event_request open_keyed_event_request;
5381 struct create_mutex_request create_mutex_request;
5382 struct release_mutex_request release_mutex_request;
5383 struct open_mutex_request open_mutex_request;
5384 struct create_semaphore_request create_semaphore_request;
5385 struct release_semaphore_request release_semaphore_request;
5386 struct query_semaphore_request query_semaphore_request;
5387 struct open_semaphore_request open_semaphore_request;
5388 struct create_file_request create_file_request;
5389 struct open_file_object_request open_file_object_request;
5390 struct alloc_file_handle_request alloc_file_handle_request;
5391 struct get_handle_unix_name_request get_handle_unix_name_request;
5392 struct get_handle_fd_request get_handle_fd_request;
5393 struct flush_file_request flush_file_request;
5394 struct lock_file_request lock_file_request;
5395 struct unlock_file_request unlock_file_request;
5396 struct create_socket_request create_socket_request;
5397 struct accept_socket_request accept_socket_request;
5398 struct accept_into_socket_request accept_into_socket_request;
5399 struct set_socket_event_request set_socket_event_request;
5400 struct get_socket_event_request get_socket_event_request;
5401 struct get_socket_info_request get_socket_info_request;
5402 struct enable_socket_event_request enable_socket_event_request;
5403 struct set_socket_deferred_request set_socket_deferred_request;
5404 struct alloc_console_request alloc_console_request;
5405 struct free_console_request free_console_request;
5406 struct get_console_renderer_events_request get_console_renderer_events_request;
5407 struct open_console_request open_console_request;
5408 struct get_console_wait_event_request get_console_wait_event_request;
5409 struct get_console_mode_request get_console_mode_request;
5410 struct set_console_mode_request set_console_mode_request;
5411 struct set_console_input_info_request set_console_input_info_request;
5412 struct get_console_input_info_request get_console_input_info_request;
5413 struct append_console_input_history_request append_console_input_history_request;
5414 struct get_console_input_history_request get_console_input_history_request;
5415 struct create_console_output_request create_console_output_request;
5416 struct set_console_output_info_request set_console_output_info_request;
5417 struct get_console_output_info_request get_console_output_info_request;
5418 struct write_console_input_request write_console_input_request;
5419 struct read_console_input_request read_console_input_request;
5420 struct write_console_output_request write_console_output_request;
5421 struct fill_console_output_request fill_console_output_request;
5422 struct read_console_output_request read_console_output_request;
5423 struct move_console_output_request move_console_output_request;
5424 struct send_console_signal_request send_console_signal_request;
5425 struct read_directory_changes_request read_directory_changes_request;
5426 struct read_change_request read_change_request;
5427 struct create_mapping_request create_mapping_request;
5428 struct open_mapping_request open_mapping_request;
5429 struct get_mapping_info_request get_mapping_info_request;
5430 struct get_mapping_committed_range_request get_mapping_committed_range_request;
5431 struct add_mapping_committed_range_request add_mapping_committed_range_request;
5432 struct create_snapshot_request create_snapshot_request;
5433 struct next_process_request next_process_request;
5434 struct next_thread_request next_thread_request;
5435 struct wait_debug_event_request wait_debug_event_request;
5436 struct queue_exception_event_request queue_exception_event_request;
5437 struct get_exception_status_request get_exception_status_request;
5438 struct continue_debug_event_request continue_debug_event_request;
5439 struct debug_process_request debug_process_request;
5440 struct debug_break_request debug_break_request;
5441 struct set_debugger_kill_on_exit_request set_debugger_kill_on_exit_request;
5442 struct read_process_memory_request read_process_memory_request;
5443 struct write_process_memory_request write_process_memory_request;
5444 struct create_key_request create_key_request;
5445 struct open_key_request open_key_request;
5446 struct delete_key_request delete_key_request;
5447 struct flush_key_request flush_key_request;
5448 struct enum_key_request enum_key_request;
5449 struct set_key_value_request set_key_value_request;
5450 struct get_key_value_request get_key_value_request;
5451 struct enum_key_value_request enum_key_value_request;
5452 struct delete_key_value_request delete_key_value_request;
5453 struct load_registry_request load_registry_request;
5454 struct unload_registry_request unload_registry_request;
5455 struct save_registry_request save_registry_request;
5456 struct set_registry_notification_request set_registry_notification_request;
5457 struct create_timer_request create_timer_request;
5458 struct open_timer_request open_timer_request;
5459 struct set_timer_request set_timer_request;
5460 struct cancel_timer_request cancel_timer_request;
5461 struct get_timer_info_request get_timer_info_request;
5462 struct get_thread_context_request get_thread_context_request;
5463 struct set_thread_context_request set_thread_context_request;
5464 struct get_selector_entry_request get_selector_entry_request;
5465 struct add_atom_request add_atom_request;
5466 struct delete_atom_request delete_atom_request;
5467 struct find_atom_request find_atom_request;
5468 struct get_atom_information_request get_atom_information_request;
5469 struct set_atom_information_request set_atom_information_request;
5470 struct empty_atom_table_request empty_atom_table_request;
5471 struct init_atom_table_request init_atom_table_request;
5472 struct get_msg_queue_request get_msg_queue_request;
5473 struct set_queue_fd_request set_queue_fd_request;
5474 struct set_queue_mask_request set_queue_mask_request;
5475 struct get_queue_status_request get_queue_status_request;
5476 struct get_process_idle_event_request get_process_idle_event_request;
5477 struct send_message_request send_message_request;
5478 struct post_quit_message_request post_quit_message_request;
5479 struct send_hardware_message_request send_hardware_message_request;
5480 struct get_message_request get_message_request;
5481 struct reply_message_request reply_message_request;
5482 struct accept_hardware_message_request accept_hardware_message_request;
5483 struct get_message_reply_request get_message_reply_request;
5484 struct set_win_timer_request set_win_timer_request;
5485 struct kill_win_timer_request kill_win_timer_request;
5486 struct is_window_hung_request is_window_hung_request;
5487 struct get_serial_info_request get_serial_info_request;
5488 struct set_serial_info_request set_serial_info_request;
5489 struct register_async_request register_async_request;
5490 struct cancel_async_request cancel_async_request;
5491 struct ioctl_request ioctl_request;
5492 struct set_ioctl_result_request set_ioctl_result_request;
5493 struct get_ioctl_result_request get_ioctl_result_request;
5494 struct create_named_pipe_request create_named_pipe_request;
5495 struct get_named_pipe_info_request get_named_pipe_info_request;
5496 struct set_named_pipe_info_request set_named_pipe_info_request;
5497 struct create_window_request create_window_request;
5498 struct destroy_window_request destroy_window_request;
5499 struct get_desktop_window_request get_desktop_window_request;
5500 struct set_window_owner_request set_window_owner_request;
5501 struct get_window_info_request get_window_info_request;
5502 struct set_window_info_request set_window_info_request;
5503 struct set_parent_request set_parent_request;
5504 struct get_window_parents_request get_window_parents_request;
5505 struct get_window_children_request get_window_children_request;
5506 struct get_window_children_from_point_request get_window_children_from_point_request;
5507 struct get_window_tree_request get_window_tree_request;
5508 struct set_window_pos_request set_window_pos_request;
5509 struct get_window_rectangles_request get_window_rectangles_request;
5510 struct get_window_text_request get_window_text_request;
5511 struct set_window_text_request set_window_text_request;
5512 struct get_windows_offset_request get_windows_offset_request;
5513 struct get_visible_region_request get_visible_region_request;
5514 struct get_surface_region_request get_surface_region_request;
5515 struct get_window_region_request get_window_region_request;
5516 struct set_window_region_request set_window_region_request;
5517 struct get_update_region_request get_update_region_request;
5518 struct update_window_zorder_request update_window_zorder_request;
5519 struct redraw_window_request redraw_window_request;
5520 struct set_window_property_request set_window_property_request;
5521 struct remove_window_property_request remove_window_property_request;
5522 struct get_window_property_request get_window_property_request;
5523 struct get_window_properties_request get_window_properties_request;
5524 struct create_winstation_request create_winstation_request;
5525 struct open_winstation_request open_winstation_request;
5526 struct close_winstation_request close_winstation_request;
5527 struct get_process_winstation_request get_process_winstation_request;
5528 struct set_process_winstation_request set_process_winstation_request;
5529 struct enum_winstation_request enum_winstation_request;
5530 struct create_desktop_request create_desktop_request;
5531 struct open_desktop_request open_desktop_request;
5532 struct open_input_desktop_request open_input_desktop_request;
5533 struct close_desktop_request close_desktop_request;
5534 struct get_thread_desktop_request get_thread_desktop_request;
5535 struct set_thread_desktop_request set_thread_desktop_request;
5536 struct enum_desktop_request enum_desktop_request;
5537 struct set_user_object_info_request set_user_object_info_request;
5538 struct register_hotkey_request register_hotkey_request;
5539 struct unregister_hotkey_request unregister_hotkey_request;
5540 struct attach_thread_input_request attach_thread_input_request;
5541 struct get_thread_input_request get_thread_input_request;
5542 struct get_last_input_time_request get_last_input_time_request;
5543 struct get_key_state_request get_key_state_request;
5544 struct set_key_state_request set_key_state_request;
5545 struct set_foreground_window_request set_foreground_window_request;
5546 struct set_focus_window_request set_focus_window_request;
5547 struct set_active_window_request set_active_window_request;
5548 struct set_capture_window_request set_capture_window_request;
5549 struct set_caret_window_request set_caret_window_request;
5550 struct set_caret_info_request set_caret_info_request;
5551 struct set_hook_request set_hook_request;
5552 struct remove_hook_request remove_hook_request;
5553 struct start_hook_chain_request start_hook_chain_request;
5554 struct finish_hook_chain_request finish_hook_chain_request;
5555 struct get_hook_info_request get_hook_info_request;
5556 struct create_class_request create_class_request;
5557 struct destroy_class_request destroy_class_request;
5558 struct set_class_info_request set_class_info_request;
5559 struct set_clipboard_info_request set_clipboard_info_request;
5560 struct open_token_request open_token_request;
5561 struct set_global_windows_request set_global_windows_request;
5562 struct adjust_token_privileges_request adjust_token_privileges_request;
5563 struct get_token_privileges_request get_token_privileges_request;
5564 struct check_token_privileges_request check_token_privileges_request;
5565 struct duplicate_token_request duplicate_token_request;
5566 struct access_check_request access_check_request;
5567 struct get_token_sid_request get_token_sid_request;
5568 struct get_token_groups_request get_token_groups_request;
5569 struct get_token_default_dacl_request get_token_default_dacl_request;
5570 struct set_token_default_dacl_request set_token_default_dacl_request;
5571 struct set_security_object_request set_security_object_request;
5572 struct get_security_object_request get_security_object_request;
5573 struct create_mailslot_request create_mailslot_request;
5574 struct set_mailslot_info_request set_mailslot_info_request;
5575 struct create_directory_request create_directory_request;
5576 struct open_directory_request open_directory_request;
5577 struct get_directory_entry_request get_directory_entry_request;
5578 struct create_symlink_request create_symlink_request;
5579 struct open_symlink_request open_symlink_request;
5580 struct query_symlink_request query_symlink_request;
5581 struct get_object_info_request get_object_info_request;
5582 struct unlink_object_request unlink_object_request;
5583 struct get_token_impersonation_level_request get_token_impersonation_level_request;
5584 struct allocate_locally_unique_id_request allocate_locally_unique_id_request;
5585 struct create_device_manager_request create_device_manager_request;
5586 struct create_device_request create_device_request;
5587 struct delete_device_request delete_device_request;
5588 struct get_next_device_request_request get_next_device_request_request;
5589 struct make_process_system_request make_process_system_request;
5590 struct get_token_statistics_request get_token_statistics_request;
5591 struct create_completion_request create_completion_request;
5592 struct open_completion_request open_completion_request;
5593 struct add_completion_request add_completion_request;
5594 struct remove_completion_request remove_completion_request;
5595 struct query_completion_request query_completion_request;
5596 struct set_completion_info_request set_completion_info_request;
5597 struct add_fd_completion_request add_fd_completion_request;
5598 struct get_window_layered_info_request get_window_layered_info_request;
5599 struct set_window_layered_info_request set_window_layered_info_request;
5600 struct alloc_user_handle_request alloc_user_handle_request;
5601 struct free_user_handle_request free_user_handle_request;
5602 struct set_cursor_request set_cursor_request;
5603 struct update_rawinput_devices_request update_rawinput_devices_request;
5604 struct get_suspend_context_request get_suspend_context_request;
5605 struct set_suspend_context_request set_suspend_context_request;
5607 union generic_reply
5609 struct request_max_size max_size;
5610 struct reply_header reply_header;
5611 struct new_process_reply new_process_reply;
5612 struct get_new_process_info_reply get_new_process_info_reply;
5613 struct new_thread_reply new_thread_reply;
5614 struct get_startup_info_reply get_startup_info_reply;
5615 struct init_process_done_reply init_process_done_reply;
5616 struct init_thread_reply init_thread_reply;
5617 struct terminate_process_reply terminate_process_reply;
5618 struct terminate_thread_reply terminate_thread_reply;
5619 struct get_process_info_reply get_process_info_reply;
5620 struct set_process_info_reply set_process_info_reply;
5621 struct get_thread_info_reply get_thread_info_reply;
5622 struct set_thread_info_reply set_thread_info_reply;
5623 struct get_dll_info_reply get_dll_info_reply;
5624 struct suspend_thread_reply suspend_thread_reply;
5625 struct resume_thread_reply resume_thread_reply;
5626 struct load_dll_reply load_dll_reply;
5627 struct unload_dll_reply unload_dll_reply;
5628 struct queue_apc_reply queue_apc_reply;
5629 struct get_apc_result_reply get_apc_result_reply;
5630 struct close_handle_reply close_handle_reply;
5631 struct set_handle_info_reply set_handle_info_reply;
5632 struct dup_handle_reply dup_handle_reply;
5633 struct open_process_reply open_process_reply;
5634 struct open_thread_reply open_thread_reply;
5635 struct select_reply select_reply;
5636 struct create_event_reply create_event_reply;
5637 struct event_op_reply event_op_reply;
5638 struct query_event_reply query_event_reply;
5639 struct open_event_reply open_event_reply;
5640 struct create_keyed_event_reply create_keyed_event_reply;
5641 struct open_keyed_event_reply open_keyed_event_reply;
5642 struct create_mutex_reply create_mutex_reply;
5643 struct release_mutex_reply release_mutex_reply;
5644 struct open_mutex_reply open_mutex_reply;
5645 struct create_semaphore_reply create_semaphore_reply;
5646 struct release_semaphore_reply release_semaphore_reply;
5647 struct query_semaphore_reply query_semaphore_reply;
5648 struct open_semaphore_reply open_semaphore_reply;
5649 struct create_file_reply create_file_reply;
5650 struct open_file_object_reply open_file_object_reply;
5651 struct alloc_file_handle_reply alloc_file_handle_reply;
5652 struct get_handle_unix_name_reply get_handle_unix_name_reply;
5653 struct get_handle_fd_reply get_handle_fd_reply;
5654 struct flush_file_reply flush_file_reply;
5655 struct lock_file_reply lock_file_reply;
5656 struct unlock_file_reply unlock_file_reply;
5657 struct create_socket_reply create_socket_reply;
5658 struct accept_socket_reply accept_socket_reply;
5659 struct accept_into_socket_reply accept_into_socket_reply;
5660 struct set_socket_event_reply set_socket_event_reply;
5661 struct get_socket_event_reply get_socket_event_reply;
5662 struct get_socket_info_reply get_socket_info_reply;
5663 struct enable_socket_event_reply enable_socket_event_reply;
5664 struct set_socket_deferred_reply set_socket_deferred_reply;
5665 struct alloc_console_reply alloc_console_reply;
5666 struct free_console_reply free_console_reply;
5667 struct get_console_renderer_events_reply get_console_renderer_events_reply;
5668 struct open_console_reply open_console_reply;
5669 struct get_console_wait_event_reply get_console_wait_event_reply;
5670 struct get_console_mode_reply get_console_mode_reply;
5671 struct set_console_mode_reply set_console_mode_reply;
5672 struct set_console_input_info_reply set_console_input_info_reply;
5673 struct get_console_input_info_reply get_console_input_info_reply;
5674 struct append_console_input_history_reply append_console_input_history_reply;
5675 struct get_console_input_history_reply get_console_input_history_reply;
5676 struct create_console_output_reply create_console_output_reply;
5677 struct set_console_output_info_reply set_console_output_info_reply;
5678 struct get_console_output_info_reply get_console_output_info_reply;
5679 struct write_console_input_reply write_console_input_reply;
5680 struct read_console_input_reply read_console_input_reply;
5681 struct write_console_output_reply write_console_output_reply;
5682 struct fill_console_output_reply fill_console_output_reply;
5683 struct read_console_output_reply read_console_output_reply;
5684 struct move_console_output_reply move_console_output_reply;
5685 struct send_console_signal_reply send_console_signal_reply;
5686 struct read_directory_changes_reply read_directory_changes_reply;
5687 struct read_change_reply read_change_reply;
5688 struct create_mapping_reply create_mapping_reply;
5689 struct open_mapping_reply open_mapping_reply;
5690 struct get_mapping_info_reply get_mapping_info_reply;
5691 struct get_mapping_committed_range_reply get_mapping_committed_range_reply;
5692 struct add_mapping_committed_range_reply add_mapping_committed_range_reply;
5693 struct create_snapshot_reply create_snapshot_reply;
5694 struct next_process_reply next_process_reply;
5695 struct next_thread_reply next_thread_reply;
5696 struct wait_debug_event_reply wait_debug_event_reply;
5697 struct queue_exception_event_reply queue_exception_event_reply;
5698 struct get_exception_status_reply get_exception_status_reply;
5699 struct continue_debug_event_reply continue_debug_event_reply;
5700 struct debug_process_reply debug_process_reply;
5701 struct debug_break_reply debug_break_reply;
5702 struct set_debugger_kill_on_exit_reply set_debugger_kill_on_exit_reply;
5703 struct read_process_memory_reply read_process_memory_reply;
5704 struct write_process_memory_reply write_process_memory_reply;
5705 struct create_key_reply create_key_reply;
5706 struct open_key_reply open_key_reply;
5707 struct delete_key_reply delete_key_reply;
5708 struct flush_key_reply flush_key_reply;
5709 struct enum_key_reply enum_key_reply;
5710 struct set_key_value_reply set_key_value_reply;
5711 struct get_key_value_reply get_key_value_reply;
5712 struct enum_key_value_reply enum_key_value_reply;
5713 struct delete_key_value_reply delete_key_value_reply;
5714 struct load_registry_reply load_registry_reply;
5715 struct unload_registry_reply unload_registry_reply;
5716 struct save_registry_reply save_registry_reply;
5717 struct set_registry_notification_reply set_registry_notification_reply;
5718 struct create_timer_reply create_timer_reply;
5719 struct open_timer_reply open_timer_reply;
5720 struct set_timer_reply set_timer_reply;
5721 struct cancel_timer_reply cancel_timer_reply;
5722 struct get_timer_info_reply get_timer_info_reply;
5723 struct get_thread_context_reply get_thread_context_reply;
5724 struct set_thread_context_reply set_thread_context_reply;
5725 struct get_selector_entry_reply get_selector_entry_reply;
5726 struct add_atom_reply add_atom_reply;
5727 struct delete_atom_reply delete_atom_reply;
5728 struct find_atom_reply find_atom_reply;
5729 struct get_atom_information_reply get_atom_information_reply;
5730 struct set_atom_information_reply set_atom_information_reply;
5731 struct empty_atom_table_reply empty_atom_table_reply;
5732 struct init_atom_table_reply init_atom_table_reply;
5733 struct get_msg_queue_reply get_msg_queue_reply;
5734 struct set_queue_fd_reply set_queue_fd_reply;
5735 struct set_queue_mask_reply set_queue_mask_reply;
5736 struct get_queue_status_reply get_queue_status_reply;
5737 struct get_process_idle_event_reply get_process_idle_event_reply;
5738 struct send_message_reply send_message_reply;
5739 struct post_quit_message_reply post_quit_message_reply;
5740 struct send_hardware_message_reply send_hardware_message_reply;
5741 struct get_message_reply get_message_reply;
5742 struct reply_message_reply reply_message_reply;
5743 struct accept_hardware_message_reply accept_hardware_message_reply;
5744 struct get_message_reply_reply get_message_reply_reply;
5745 struct set_win_timer_reply set_win_timer_reply;
5746 struct kill_win_timer_reply kill_win_timer_reply;
5747 struct is_window_hung_reply is_window_hung_reply;
5748 struct get_serial_info_reply get_serial_info_reply;
5749 struct set_serial_info_reply set_serial_info_reply;
5750 struct register_async_reply register_async_reply;
5751 struct cancel_async_reply cancel_async_reply;
5752 struct ioctl_reply ioctl_reply;
5753 struct set_ioctl_result_reply set_ioctl_result_reply;
5754 struct get_ioctl_result_reply get_ioctl_result_reply;
5755 struct create_named_pipe_reply create_named_pipe_reply;
5756 struct get_named_pipe_info_reply get_named_pipe_info_reply;
5757 struct set_named_pipe_info_reply set_named_pipe_info_reply;
5758 struct create_window_reply create_window_reply;
5759 struct destroy_window_reply destroy_window_reply;
5760 struct get_desktop_window_reply get_desktop_window_reply;
5761 struct set_window_owner_reply set_window_owner_reply;
5762 struct get_window_info_reply get_window_info_reply;
5763 struct set_window_info_reply set_window_info_reply;
5764 struct set_parent_reply set_parent_reply;
5765 struct get_window_parents_reply get_window_parents_reply;
5766 struct get_window_children_reply get_window_children_reply;
5767 struct get_window_children_from_point_reply get_window_children_from_point_reply;
5768 struct get_window_tree_reply get_window_tree_reply;
5769 struct set_window_pos_reply set_window_pos_reply;
5770 struct get_window_rectangles_reply get_window_rectangles_reply;
5771 struct get_window_text_reply get_window_text_reply;
5772 struct set_window_text_reply set_window_text_reply;
5773 struct get_windows_offset_reply get_windows_offset_reply;
5774 struct get_visible_region_reply get_visible_region_reply;
5775 struct get_surface_region_reply get_surface_region_reply;
5776 struct get_window_region_reply get_window_region_reply;
5777 struct set_window_region_reply set_window_region_reply;
5778 struct get_update_region_reply get_update_region_reply;
5779 struct update_window_zorder_reply update_window_zorder_reply;
5780 struct redraw_window_reply redraw_window_reply;
5781 struct set_window_property_reply set_window_property_reply;
5782 struct remove_window_property_reply remove_window_property_reply;
5783 struct get_window_property_reply get_window_property_reply;
5784 struct get_window_properties_reply get_window_properties_reply;
5785 struct create_winstation_reply create_winstation_reply;
5786 struct open_winstation_reply open_winstation_reply;
5787 struct close_winstation_reply close_winstation_reply;
5788 struct get_process_winstation_reply get_process_winstation_reply;
5789 struct set_process_winstation_reply set_process_winstation_reply;
5790 struct enum_winstation_reply enum_winstation_reply;
5791 struct create_desktop_reply create_desktop_reply;
5792 struct open_desktop_reply open_desktop_reply;
5793 struct open_input_desktop_reply open_input_desktop_reply;
5794 struct close_desktop_reply close_desktop_reply;
5795 struct get_thread_desktop_reply get_thread_desktop_reply;
5796 struct set_thread_desktop_reply set_thread_desktop_reply;
5797 struct enum_desktop_reply enum_desktop_reply;
5798 struct set_user_object_info_reply set_user_object_info_reply;
5799 struct register_hotkey_reply register_hotkey_reply;
5800 struct unregister_hotkey_reply unregister_hotkey_reply;
5801 struct attach_thread_input_reply attach_thread_input_reply;
5802 struct get_thread_input_reply get_thread_input_reply;
5803 struct get_last_input_time_reply get_last_input_time_reply;
5804 struct get_key_state_reply get_key_state_reply;
5805 struct set_key_state_reply set_key_state_reply;
5806 struct set_foreground_window_reply set_foreground_window_reply;
5807 struct set_focus_window_reply set_focus_window_reply;
5808 struct set_active_window_reply set_active_window_reply;
5809 struct set_capture_window_reply set_capture_window_reply;
5810 struct set_caret_window_reply set_caret_window_reply;
5811 struct set_caret_info_reply set_caret_info_reply;
5812 struct set_hook_reply set_hook_reply;
5813 struct remove_hook_reply remove_hook_reply;
5814 struct start_hook_chain_reply start_hook_chain_reply;
5815 struct finish_hook_chain_reply finish_hook_chain_reply;
5816 struct get_hook_info_reply get_hook_info_reply;
5817 struct create_class_reply create_class_reply;
5818 struct destroy_class_reply destroy_class_reply;
5819 struct set_class_info_reply set_class_info_reply;
5820 struct set_clipboard_info_reply set_clipboard_info_reply;
5821 struct open_token_reply open_token_reply;
5822 struct set_global_windows_reply set_global_windows_reply;
5823 struct adjust_token_privileges_reply adjust_token_privileges_reply;
5824 struct get_token_privileges_reply get_token_privileges_reply;
5825 struct check_token_privileges_reply check_token_privileges_reply;
5826 struct duplicate_token_reply duplicate_token_reply;
5827 struct access_check_reply access_check_reply;
5828 struct get_token_sid_reply get_token_sid_reply;
5829 struct get_token_groups_reply get_token_groups_reply;
5830 struct get_token_default_dacl_reply get_token_default_dacl_reply;
5831 struct set_token_default_dacl_reply set_token_default_dacl_reply;
5832 struct set_security_object_reply set_security_object_reply;
5833 struct get_security_object_reply get_security_object_reply;
5834 struct create_mailslot_reply create_mailslot_reply;
5835 struct set_mailslot_info_reply set_mailslot_info_reply;
5836 struct create_directory_reply create_directory_reply;
5837 struct open_directory_reply open_directory_reply;
5838 struct get_directory_entry_reply get_directory_entry_reply;
5839 struct create_symlink_reply create_symlink_reply;
5840 struct open_symlink_reply open_symlink_reply;
5841 struct query_symlink_reply query_symlink_reply;
5842 struct get_object_info_reply get_object_info_reply;
5843 struct unlink_object_reply unlink_object_reply;
5844 struct get_token_impersonation_level_reply get_token_impersonation_level_reply;
5845 struct allocate_locally_unique_id_reply allocate_locally_unique_id_reply;
5846 struct create_device_manager_reply create_device_manager_reply;
5847 struct create_device_reply create_device_reply;
5848 struct delete_device_reply delete_device_reply;
5849 struct get_next_device_request_reply get_next_device_request_reply;
5850 struct make_process_system_reply make_process_system_reply;
5851 struct get_token_statistics_reply get_token_statistics_reply;
5852 struct create_completion_reply create_completion_reply;
5853 struct open_completion_reply open_completion_reply;
5854 struct add_completion_reply add_completion_reply;
5855 struct remove_completion_reply remove_completion_reply;
5856 struct query_completion_reply query_completion_reply;
5857 struct set_completion_info_reply set_completion_info_reply;
5858 struct add_fd_completion_reply add_fd_completion_reply;
5859 struct get_window_layered_info_reply get_window_layered_info_reply;
5860 struct set_window_layered_info_reply set_window_layered_info_reply;
5861 struct alloc_user_handle_reply alloc_user_handle_reply;
5862 struct free_user_handle_reply free_user_handle_reply;
5863 struct set_cursor_reply set_cursor_reply;
5864 struct update_rawinput_devices_reply update_rawinput_devices_reply;
5865 struct get_suspend_context_reply get_suspend_context_reply;
5866 struct set_suspend_context_reply set_suspend_context_reply;
5869 #define SERVER_PROTOCOL_VERSION 460
5871 #endif /* __WINE_WINE_SERVER_PROTOCOL_H */