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
8 #ifndef __WINE_WINE_SERVER_PROTOCOL_H
9 #define __WINE_WINE_SERVER_PROTOCOL_H
18 typedef void *obj_handle_t;
19 typedef void *user_handle_t;
20 typedef unsigned short 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 file_pos_t;
30 data_size_t request_size;
31 data_size_t reply_size;
37 data_size_t reply_size;
42 struct request_max_size
47 #define FIRST_USER_HANDLE 0x0020
48 #define LAST_USER_HANDLE 0xffef
52 struct debug_event_exception
54 EXCEPTION_RECORD record;
57 struct debug_event_create_thread
63 struct debug_event_create_process
76 struct debug_event_exit
80 struct debug_event_load_dll
89 struct debug_event_unload_dll
93 struct debug_event_output_string
99 struct debug_event_rip_info
104 union debug_event_data
106 struct debug_event_exception exception;
107 struct debug_event_create_thread create_thread;
108 struct debug_event_create_process create_process;
109 struct debug_event_exit exit;
110 struct debug_event_load_dll load_dll;
111 struct debug_event_unload_dll unload_dll;
112 struct debug_event_output_string output_string;
113 struct debug_event_rip_info rip_info;
120 union debug_event_data info;
138 typedef __int64 timeout_t;
139 #define TIMEOUT_INFINITE (((timeout_t)0x7fffffff) << 32 | 0xffffffff)
166 unsigned long cvalue;
171 struct callback_msg_data
175 unsigned long result;
178 struct winevent_msg_data
188 unsigned char bytes[1];
189 struct callback_msg_data callback;
190 struct winevent_msg_data winevent;
202 unsigned int low_part;
206 #define MAX_ACL_LEN 65535
208 struct security_descriptor
210 unsigned int control;
211 data_size_t owner_len;
212 data_size_t group_len;
213 data_size_t sacl_len;
214 data_size_t dacl_len;
221 struct object_attributes
223 obj_handle_t rootdir;
225 data_size_t name_len;
261 void (__stdcall *func)(unsigned long,unsigned long,unsigned long);
262 unsigned long args[3];
267 void (__stdcall *func)(void*, unsigned int, unsigned int);
274 unsigned int (*func)(void*, void*, unsigned int, unsigned long *);
284 unsigned int zero_bits;
285 unsigned int op_type;
293 unsigned int op_type;
332 unsigned int zero_bits;
333 unsigned int alloc_type;
344 void (__stdcall *func)(void*);
346 unsigned long reserve;
347 unsigned long commit;
384 unsigned int alloc_prot;
385 unsigned int alloc_type;
441 struct new_process_request
443 struct request_header __header;
445 unsigned int create_flags;
447 obj_handle_t exe_file;
449 obj_handle_t hstdout;
450 obj_handle_t hstderr;
451 unsigned int process_access;
452 unsigned int process_attr;
453 unsigned int thread_access;
454 unsigned int thread_attr;
455 /* VARARG(info,startup_info); */
456 /* VARARG(env,unicode_str); */
458 struct new_process_reply
460 struct reply_header __header;
463 obj_handle_t phandle;
465 obj_handle_t thandle;
470 struct get_new_process_info_request
472 struct request_header __header;
475 struct get_new_process_info_reply
477 struct reply_header __header;
484 struct new_thread_request
486 struct request_header __header;
488 unsigned int attributes;
492 struct new_thread_reply
494 struct reply_header __header;
501 struct get_startup_info_request
503 struct request_header __header;
505 struct get_startup_info_reply
507 struct reply_header __header;
508 obj_handle_t exe_file;
510 obj_handle_t hstdout;
511 obj_handle_t hstderr;
512 /* VARARG(info,startup_info); */
513 /* VARARG(env,unicode_str); */
518 struct init_process_done_request
520 struct request_header __header;
525 struct init_process_done_reply
527 struct reply_header __header;
532 struct init_thread_request
534 struct request_header __header;
545 struct init_thread_reply
547 struct reply_header __header;
550 data_size_t info_size;
551 timeout_t server_start;
557 struct terminate_process_request
559 struct request_header __header;
563 struct terminate_process_reply
565 struct reply_header __header;
571 struct terminate_thread_request
573 struct request_header __header;
577 struct terminate_thread_reply
579 struct reply_header __header;
586 struct get_process_info_request
588 struct request_header __header;
591 struct get_process_info_reply
593 struct reply_header __header;
598 unsigned int affinity;
600 timeout_t start_time;
606 struct set_process_info_request
608 struct request_header __header;
612 unsigned int affinity;
614 struct set_process_info_reply
616 struct reply_header __header;
618 #define SET_PROCESS_INFO_PRIORITY 0x01
619 #define SET_PROCESS_INFO_AFFINITY 0x02
623 struct get_thread_info_request
625 struct request_header __header;
629 struct get_thread_info_reply
631 struct reply_header __header;
637 unsigned int affinity;
638 timeout_t creation_time;
645 struct set_thread_info_request
647 struct request_header __header;
651 unsigned int affinity;
654 struct set_thread_info_reply
656 struct reply_header __header;
658 #define SET_THREAD_INFO_PRIORITY 0x01
659 #define SET_THREAD_INFO_AFFINITY 0x02
660 #define SET_THREAD_INFO_TOKEN 0x04
664 struct get_dll_info_request
666 struct request_header __header;
670 struct get_dll_info_reply
672 struct reply_header __header;
675 data_size_t filename_len;
676 /* VARARG(filename,unicode_str); */
681 struct suspend_thread_request
683 struct request_header __header;
686 struct suspend_thread_reply
688 struct reply_header __header;
694 struct resume_thread_request
696 struct request_header __header;
699 struct resume_thread_reply
701 struct reply_header __header;
707 struct load_dll_request
709 struct request_header __header;
716 /* VARARG(filename,unicode_str); */
718 struct load_dll_reply
720 struct reply_header __header;
725 struct unload_dll_request
727 struct request_header __header;
730 struct unload_dll_reply
732 struct reply_header __header;
737 struct queue_apc_request
739 struct request_header __header;
741 obj_handle_t process;
744 struct queue_apc_reply
746 struct reply_header __header;
753 struct get_apc_result_request
755 struct request_header __header;
758 struct get_apc_result_reply
760 struct reply_header __header;
766 struct close_handle_request
768 struct request_header __header;
771 struct close_handle_reply
773 struct reply_header __header;
778 struct set_handle_info_request
780 struct request_header __header;
785 struct set_handle_info_reply
787 struct reply_header __header;
793 struct dup_handle_request
795 struct request_header __header;
796 obj_handle_t src_process;
797 obj_handle_t src_handle;
798 obj_handle_t dst_process;
800 unsigned int attributes;
801 unsigned int options;
803 struct dup_handle_reply
805 struct reply_header __header;
810 #define DUP_HANDLE_CLOSE_SOURCE DUPLICATE_CLOSE_SOURCE
811 #define DUP_HANDLE_SAME_ACCESS DUPLICATE_SAME_ACCESS
812 #define DUP_HANDLE_MAKE_GLOBAL 0x80000000
816 struct open_process_request
818 struct request_header __header;
821 unsigned int attributes;
823 struct open_process_reply
825 struct reply_header __header;
831 struct open_thread_request
833 struct request_header __header;
836 unsigned int attributes;
838 struct open_thread_reply
840 struct reply_header __header;
846 struct select_request
848 struct request_header __header;
852 obj_handle_t prev_apc;
854 /* VARARG(result,apc_result); */
855 /* VARARG(handles,handles); */
859 struct reply_header __header;
860 obj_handle_t apc_handle;
865 #define SELECT_ALERTABLE 2
866 #define SELECT_INTERRUPTIBLE 4
870 struct create_event_request
872 struct request_header __header;
874 unsigned int attributes;
877 /* VARARG(objattr,object_attributes); */
879 struct create_event_reply
881 struct reply_header __header;
886 struct event_op_request
888 struct request_header __header;
892 struct event_op_reply
894 struct reply_header __header;
896 enum event_op { PULSE_EVENT, SET_EVENT, RESET_EVENT };
900 struct open_event_request
902 struct request_header __header;
904 unsigned int attributes;
905 obj_handle_t rootdir;
906 /* VARARG(name,unicode_str); */
908 struct open_event_reply
910 struct reply_header __header;
916 struct create_mutex_request
918 struct request_header __header;
920 unsigned int attributes;
922 /* VARARG(objattr,object_attributes); */
924 struct create_mutex_reply
926 struct reply_header __header;
932 struct release_mutex_request
934 struct request_header __header;
937 struct release_mutex_reply
939 struct reply_header __header;
940 unsigned int prev_count;
945 struct open_mutex_request
947 struct request_header __header;
949 unsigned int attributes;
950 obj_handle_t rootdir;
951 /* VARARG(name,unicode_str); */
953 struct open_mutex_reply
955 struct reply_header __header;
961 struct create_semaphore_request
963 struct request_header __header;
965 unsigned int attributes;
966 unsigned int initial;
968 /* VARARG(objattr,object_attributes); */
970 struct create_semaphore_reply
972 struct reply_header __header;
978 struct release_semaphore_request
980 struct request_header __header;
984 struct release_semaphore_reply
986 struct reply_header __header;
987 unsigned int prev_count;
992 struct open_semaphore_request
994 struct request_header __header;
996 unsigned int attributes;
997 obj_handle_t rootdir;
998 /* VARARG(name,unicode_str); */
1000 struct open_semaphore_reply
1002 struct reply_header __header;
1003 obj_handle_t handle;
1008 struct create_file_request
1010 struct request_header __header;
1011 unsigned int access;
1012 unsigned int attributes;
1013 unsigned int sharing;
1015 unsigned int options;
1017 /* VARARG(objattr,object_attributes); */
1018 /* VARARG(filename,string); */
1020 struct create_file_reply
1022 struct reply_header __header;
1023 obj_handle_t handle;
1028 struct open_file_object_request
1030 struct request_header __header;
1031 unsigned int access;
1032 unsigned int attributes;
1033 obj_handle_t rootdir;
1034 unsigned int sharing;
1035 unsigned int options;
1036 /* VARARG(filename,unicode_str); */
1038 struct open_file_object_reply
1040 struct reply_header __header;
1041 obj_handle_t handle;
1046 struct alloc_file_handle_request
1048 struct request_header __header;
1049 unsigned int access;
1050 unsigned int attributes;
1053 struct alloc_file_handle_reply
1055 struct reply_header __header;
1056 obj_handle_t handle;
1061 struct get_handle_fd_request
1063 struct request_header __header;
1064 obj_handle_t handle;
1066 struct get_handle_fd_reply
1068 struct reply_header __header;
1071 unsigned int access;
1072 unsigned int options;
1090 struct flush_file_request
1092 struct request_header __header;
1093 obj_handle_t handle;
1095 struct flush_file_reply
1097 struct reply_header __header;
1103 struct lock_file_request
1105 struct request_header __header;
1106 obj_handle_t handle;
1112 struct lock_file_reply
1114 struct reply_header __header;
1115 obj_handle_t handle;
1121 struct unlock_file_request
1123 struct request_header __header;
1124 obj_handle_t handle;
1128 struct unlock_file_reply
1130 struct reply_header __header;
1135 struct create_socket_request
1137 struct request_header __header;
1138 unsigned int access;
1139 unsigned int attributes;
1145 struct create_socket_reply
1147 struct reply_header __header;
1148 obj_handle_t handle;
1153 struct accept_socket_request
1155 struct request_header __header;
1156 obj_handle_t lhandle;
1157 unsigned int access;
1158 unsigned int attributes;
1160 struct accept_socket_reply
1162 struct reply_header __header;
1163 obj_handle_t handle;
1168 struct set_socket_event_request
1170 struct request_header __header;
1171 obj_handle_t handle;
1174 user_handle_t window;
1177 struct set_socket_event_reply
1179 struct reply_header __header;
1184 struct get_socket_event_request
1186 struct request_header __header;
1187 obj_handle_t handle;
1189 obj_handle_t c_event;
1191 struct get_socket_event_reply
1193 struct reply_header __header;
1197 /* VARARG(errors,ints); */
1202 struct enable_socket_event_request
1204 struct request_header __header;
1205 obj_handle_t handle;
1207 unsigned int sstate;
1208 unsigned int cstate;
1210 struct enable_socket_event_reply
1212 struct reply_header __header;
1215 struct set_socket_deferred_request
1217 struct request_header __header;
1218 obj_handle_t handle;
1219 obj_handle_t deferred;
1221 struct set_socket_deferred_reply
1223 struct reply_header __header;
1227 struct alloc_console_request
1229 struct request_header __header;
1230 unsigned int access;
1231 unsigned int attributes;
1234 struct alloc_console_reply
1236 struct reply_header __header;
1237 obj_handle_t handle_in;
1243 struct free_console_request
1245 struct request_header __header;
1247 struct free_console_reply
1249 struct reply_header __header;
1253 #define CONSOLE_RENDERER_NONE_EVENT 0x00
1254 #define CONSOLE_RENDERER_TITLE_EVENT 0x01
1255 #define CONSOLE_RENDERER_ACTIVE_SB_EVENT 0x02
1256 #define CONSOLE_RENDERER_SB_RESIZE_EVENT 0x03
1257 #define CONSOLE_RENDERER_UPDATE_EVENT 0x04
1258 #define CONSOLE_RENDERER_CURSOR_POS_EVENT 0x05
1259 #define CONSOLE_RENDERER_CURSOR_GEOM_EVENT 0x06
1260 #define CONSOLE_RENDERER_DISPLAY_EVENT 0x07
1261 #define CONSOLE_RENDERER_EXIT_EVENT 0x08
1262 struct console_renderer_event
1298 struct get_console_renderer_events_request
1300 struct request_header __header;
1301 obj_handle_t handle;
1303 struct get_console_renderer_events_reply
1305 struct reply_header __header;
1306 /* VARARG(data,bytes); */
1311 struct open_console_request
1313 struct request_header __header;
1316 unsigned int access;
1317 unsigned int attributes;
1320 struct open_console_reply
1322 struct reply_header __header;
1323 obj_handle_t handle;
1328 struct get_console_wait_event_request
1330 struct request_header __header;
1332 struct get_console_wait_event_reply
1334 struct reply_header __header;
1335 obj_handle_t handle;
1339 struct get_console_mode_request
1341 struct request_header __header;
1342 obj_handle_t handle;
1344 struct get_console_mode_reply
1346 struct reply_header __header;
1352 struct set_console_mode_request
1354 struct request_header __header;
1355 obj_handle_t handle;
1358 struct set_console_mode_reply
1360 struct reply_header __header;
1365 struct set_console_input_info_request
1367 struct request_header __header;
1368 obj_handle_t handle;
1370 obj_handle_t active_sb;
1377 /* VARARG(title,unicode_str); */
1379 struct set_console_input_info_reply
1381 struct reply_header __header;
1383 #define SET_CONSOLE_INPUT_INFO_ACTIVE_SB 0x01
1384 #define SET_CONSOLE_INPUT_INFO_TITLE 0x02
1385 #define SET_CONSOLE_INPUT_INFO_HISTORY_MODE 0x04
1386 #define SET_CONSOLE_INPUT_INFO_HISTORY_SIZE 0x08
1387 #define SET_CONSOLE_INPUT_INFO_EDITION_MODE 0x10
1388 #define SET_CONSOLE_INPUT_INFO_INPUT_CODEPAGE 0x20
1389 #define SET_CONSOLE_INPUT_INFO_OUTPUT_CODEPAGE 0x40
1390 #define SET_CONSOLE_INPUT_INFO_WIN 0x80
1394 struct get_console_input_info_request
1396 struct request_header __header;
1397 obj_handle_t handle;
1399 struct get_console_input_info_reply
1401 struct reply_header __header;
1409 /* VARARG(title,unicode_str); */
1414 struct append_console_input_history_request
1416 struct request_header __header;
1417 obj_handle_t handle;
1418 /* VARARG(line,unicode_str); */
1420 struct append_console_input_history_reply
1422 struct reply_header __header;
1427 struct get_console_input_history_request
1429 struct request_header __header;
1430 obj_handle_t handle;
1433 struct get_console_input_history_reply
1435 struct reply_header __header;
1437 /* VARARG(line,unicode_str); */
1442 struct create_console_output_request
1444 struct request_header __header;
1445 obj_handle_t handle_in;
1446 unsigned int access;
1447 unsigned int attributes;
1450 struct create_console_output_reply
1452 struct reply_header __header;
1453 obj_handle_t handle_out;
1458 struct set_console_output_info_request
1460 struct request_header __header;
1461 obj_handle_t handle;
1463 short int cursor_size;
1464 short int cursor_visible;
1472 short int win_right;
1473 short int win_bottom;
1474 short int max_width;
1475 short int max_height;
1477 struct set_console_output_info_reply
1479 struct reply_header __header;
1481 #define SET_CONSOLE_OUTPUT_INFO_CURSOR_GEOM 0x01
1482 #define SET_CONSOLE_OUTPUT_INFO_CURSOR_POS 0x02
1483 #define SET_CONSOLE_OUTPUT_INFO_SIZE 0x04
1484 #define SET_CONSOLE_OUTPUT_INFO_ATTR 0x08
1485 #define SET_CONSOLE_OUTPUT_INFO_DISPLAY_WINDOW 0x10
1486 #define SET_CONSOLE_OUTPUT_INFO_MAX_SIZE 0x20
1490 struct get_console_output_info_request
1492 struct request_header __header;
1493 obj_handle_t handle;
1495 struct get_console_output_info_reply
1497 struct reply_header __header;
1498 short int cursor_size;
1499 short int cursor_visible;
1507 short int win_right;
1508 short int win_bottom;
1509 short int max_width;
1510 short int max_height;
1514 struct write_console_input_request
1516 struct request_header __header;
1517 obj_handle_t handle;
1518 /* VARARG(rec,input_records); */
1520 struct write_console_input_reply
1522 struct reply_header __header;
1528 struct read_console_input_request
1530 struct request_header __header;
1531 obj_handle_t handle;
1534 struct read_console_input_reply
1536 struct reply_header __header;
1538 /* VARARG(rec,input_records); */
1543 struct write_console_output_request
1545 struct request_header __header;
1546 obj_handle_t handle;
1551 /* VARARG(data,bytes); */
1553 struct write_console_output_reply
1555 struct reply_header __header;
1562 CHAR_INFO_MODE_TEXT,
1563 CHAR_INFO_MODE_ATTR,
1564 CHAR_INFO_MODE_TEXTATTR,
1565 CHAR_INFO_MODE_TEXTSTDATTR
1570 struct fill_console_output_request
1572 struct request_header __header;
1573 obj_handle_t handle;
1581 struct fill_console_output_reply
1583 struct reply_header __header;
1589 struct read_console_output_request
1591 struct request_header __header;
1592 obj_handle_t handle;
1598 struct read_console_output_reply
1600 struct reply_header __header;
1603 /* VARARG(data,bytes); */
1608 struct move_console_output_request
1610 struct request_header __header;
1611 obj_handle_t handle;
1619 struct move_console_output_reply
1621 struct reply_header __header;
1626 struct send_console_signal_request
1628 struct request_header __header;
1630 process_id_t group_id;
1632 struct send_console_signal_reply
1634 struct reply_header __header;
1639 struct read_directory_changes_request
1641 struct request_header __header;
1642 unsigned int filter;
1643 obj_handle_t handle;
1648 struct read_directory_changes_reply
1650 struct reply_header __header;
1654 struct read_change_request
1656 struct request_header __header;
1657 obj_handle_t handle;
1659 struct read_change_reply
1661 struct reply_header __header;
1663 /* VARARG(name,string); */
1668 struct create_mapping_request
1670 struct request_header __header;
1671 unsigned int access;
1672 unsigned int attributes;
1675 obj_handle_t file_handle;
1676 /* VARARG(objattr,object_attributes); */
1678 struct create_mapping_reply
1680 struct reply_header __header;
1681 obj_handle_t handle;
1684 #define VPROT_READ 0x01
1685 #define VPROT_WRITE 0x02
1686 #define VPROT_EXEC 0x04
1687 #define VPROT_WRITECOPY 0x08
1688 #define VPROT_GUARD 0x10
1689 #define VPROT_NOCACHE 0x20
1690 #define VPROT_COMMITTED 0x40
1691 #define VPROT_IMAGE 0x80
1695 struct open_mapping_request
1697 struct request_header __header;
1698 unsigned int access;
1699 unsigned int attributes;
1700 obj_handle_t rootdir;
1701 /* VARARG(name,unicode_str); */
1703 struct open_mapping_reply
1705 struct reply_header __header;
1706 obj_handle_t handle;
1711 struct get_mapping_info_request
1713 struct request_header __header;
1714 obj_handle_t handle;
1716 struct get_mapping_info_reply
1718 struct reply_header __header;
1723 obj_handle_t mapping;
1724 obj_handle_t shared_file;
1728 #define SNAP_HEAPLIST 0x00000001
1729 #define SNAP_PROCESS 0x00000002
1730 #define SNAP_THREAD 0x00000004
1731 #define SNAP_MODULE 0x00000008
1733 struct create_snapshot_request
1735 struct request_header __header;
1736 unsigned int attributes;
1740 struct create_snapshot_reply
1742 struct reply_header __header;
1743 obj_handle_t handle;
1748 struct next_process_request
1750 struct request_header __header;
1751 obj_handle_t handle;
1754 struct next_process_reply
1756 struct reply_header __header;
1765 /* VARARG(filename,unicode_str); */
1770 struct next_thread_request
1772 struct request_header __header;
1773 obj_handle_t handle;
1776 struct next_thread_reply
1778 struct reply_header __header;
1788 struct next_module_request
1790 struct request_header __header;
1791 obj_handle_t handle;
1794 struct next_module_reply
1796 struct reply_header __header;
1800 /* VARARG(filename,unicode_str); */
1805 struct wait_debug_event_request
1807 struct request_header __header;
1810 struct wait_debug_event_reply
1812 struct reply_header __header;
1816 /* VARARG(event,debug_event); */
1821 struct queue_exception_event_request
1823 struct request_header __header;
1825 /* VARARG(record,exc_event); */
1827 struct queue_exception_event_reply
1829 struct reply_header __header;
1830 obj_handle_t handle;
1835 struct get_exception_status_request
1837 struct request_header __header;
1838 obj_handle_t handle;
1840 struct get_exception_status_reply
1842 struct reply_header __header;
1843 /* VARARG(context,context); */
1848 struct output_debug_string_request
1850 struct request_header __header;
1855 struct output_debug_string_reply
1857 struct reply_header __header;
1862 struct continue_debug_event_request
1864 struct request_header __header;
1869 struct continue_debug_event_reply
1871 struct reply_header __header;
1876 struct debug_process_request
1878 struct request_header __header;
1882 struct debug_process_reply
1884 struct reply_header __header;
1889 struct debug_break_request
1891 struct request_header __header;
1892 obj_handle_t handle;
1894 struct debug_break_reply
1896 struct reply_header __header;
1902 struct set_debugger_kill_on_exit_request
1904 struct request_header __header;
1907 struct set_debugger_kill_on_exit_reply
1909 struct reply_header __header;
1914 struct read_process_memory_request
1916 struct request_header __header;
1917 obj_handle_t handle;
1920 struct read_process_memory_reply
1922 struct reply_header __header;
1923 /* VARARG(data,bytes); */
1928 struct write_process_memory_request
1930 struct request_header __header;
1931 obj_handle_t handle;
1933 /* VARARG(data,bytes); */
1935 struct write_process_memory_reply
1937 struct reply_header __header;
1942 struct create_key_request
1944 struct request_header __header;
1945 obj_handle_t parent;
1946 unsigned int access;
1947 unsigned int attributes;
1948 unsigned int options;
1950 data_size_t namelen;
1951 /* VARARG(name,unicode_str,namelen); */
1952 /* VARARG(class,unicode_str); */
1954 struct create_key_reply
1956 struct reply_header __header;
1962 struct open_key_request
1964 struct request_header __header;
1965 obj_handle_t parent;
1966 unsigned int access;
1967 unsigned int attributes;
1968 /* VARARG(name,unicode_str); */
1970 struct open_key_reply
1972 struct reply_header __header;
1978 struct delete_key_request
1980 struct request_header __header;
1983 struct delete_key_reply
1985 struct reply_header __header;
1990 struct flush_key_request
1992 struct request_header __header;
1995 struct flush_key_reply
1997 struct reply_header __header;
2002 struct enum_key_request
2004 struct request_header __header;
2009 struct enum_key_reply
2011 struct reply_header __header;
2020 data_size_t namelen;
2021 /* VARARG(name,unicode_str,namelen); */
2022 /* VARARG(class,unicode_str); */
2027 struct set_key_value_request
2029 struct request_header __header;
2032 data_size_t namelen;
2033 /* VARARG(name,unicode_str,namelen); */
2034 /* VARARG(data,bytes); */
2036 struct set_key_value_reply
2038 struct reply_header __header;
2043 struct get_key_value_request
2045 struct request_header __header;
2047 /* VARARG(name,unicode_str); */
2049 struct get_key_value_reply
2051 struct reply_header __header;
2054 /* VARARG(data,bytes); */
2059 struct enum_key_value_request
2061 struct request_header __header;
2066 struct enum_key_value_reply
2068 struct reply_header __header;
2071 data_size_t namelen;
2072 /* VARARG(name,unicode_str,namelen); */
2073 /* VARARG(data,bytes); */
2078 struct delete_key_value_request
2080 struct request_header __header;
2082 /* VARARG(name,unicode_str); */
2084 struct delete_key_value_reply
2086 struct reply_header __header;
2091 struct load_registry_request
2093 struct request_header __header;
2096 /* VARARG(name,unicode_str); */
2098 struct load_registry_reply
2100 struct reply_header __header;
2105 struct unload_registry_request
2107 struct request_header __header;
2110 struct unload_registry_reply
2112 struct reply_header __header;
2117 struct save_registry_request
2119 struct request_header __header;
2123 struct save_registry_reply
2125 struct reply_header __header;
2130 struct set_registry_notification_request
2132 struct request_header __header;
2136 unsigned int filter;
2138 struct set_registry_notification_reply
2140 struct reply_header __header;
2145 struct create_timer_request
2147 struct request_header __header;
2148 unsigned int access;
2149 unsigned int attributes;
2150 obj_handle_t rootdir;
2152 /* VARARG(name,unicode_str); */
2154 struct create_timer_reply
2156 struct reply_header __header;
2157 obj_handle_t handle;
2162 struct open_timer_request
2164 struct request_header __header;
2165 unsigned int access;
2166 unsigned int attributes;
2167 obj_handle_t rootdir;
2168 /* VARARG(name,unicode_str); */
2170 struct open_timer_reply
2172 struct reply_header __header;
2173 obj_handle_t handle;
2177 struct set_timer_request
2179 struct request_header __header;
2180 obj_handle_t handle;
2186 struct set_timer_reply
2188 struct reply_header __header;
2193 struct cancel_timer_request
2195 struct request_header __header;
2196 obj_handle_t handle;
2198 struct cancel_timer_reply
2200 struct reply_header __header;
2205 struct get_timer_info_request
2207 struct request_header __header;
2208 obj_handle_t handle;
2210 struct get_timer_info_reply
2212 struct reply_header __header;
2219 struct get_thread_context_request
2221 struct request_header __header;
2222 obj_handle_t handle;
2226 struct get_thread_context_reply
2228 struct reply_header __header;
2230 /* VARARG(context,context); */
2235 struct set_thread_context_request
2237 struct request_header __header;
2238 obj_handle_t handle;
2241 /* VARARG(context,context); */
2243 struct set_thread_context_reply
2245 struct reply_header __header;
2251 struct get_selector_entry_request
2253 struct request_header __header;
2254 obj_handle_t handle;
2257 struct get_selector_entry_reply
2259 struct reply_header __header;
2262 unsigned char flags;
2267 struct add_atom_request
2269 struct request_header __header;
2271 /* VARARG(name,unicode_str); */
2273 struct add_atom_reply
2275 struct reply_header __header;
2281 struct delete_atom_request
2283 struct request_header __header;
2287 struct delete_atom_reply
2289 struct reply_header __header;
2294 struct find_atom_request
2296 struct request_header __header;
2298 /* VARARG(name,unicode_str); */
2300 struct find_atom_reply
2302 struct reply_header __header;
2308 struct get_atom_information_request
2310 struct request_header __header;
2314 struct get_atom_information_reply
2316 struct reply_header __header;
2320 /* VARARG(name,unicode_str); */
2325 struct set_atom_information_request
2327 struct request_header __header;
2332 struct set_atom_information_reply
2334 struct reply_header __header;
2339 struct empty_atom_table_request
2341 struct request_header __header;
2345 struct empty_atom_table_reply
2347 struct reply_header __header;
2352 struct init_atom_table_request
2354 struct request_header __header;
2357 struct init_atom_table_reply
2359 struct reply_header __header;
2365 struct get_msg_queue_request
2367 struct request_header __header;
2369 struct get_msg_queue_reply
2371 struct reply_header __header;
2372 obj_handle_t handle;
2377 struct set_queue_fd_request
2379 struct request_header __header;
2380 obj_handle_t handle;
2382 struct set_queue_fd_reply
2384 struct reply_header __header;
2389 struct set_queue_mask_request
2391 struct request_header __header;
2392 unsigned int wake_mask;
2393 unsigned int changed_mask;
2396 struct set_queue_mask_reply
2398 struct reply_header __header;
2399 unsigned int wake_bits;
2400 unsigned int changed_bits;
2405 struct get_queue_status_request
2407 struct request_header __header;
2410 struct get_queue_status_reply
2412 struct reply_header __header;
2413 unsigned int wake_bits;
2414 unsigned int changed_bits;
2419 struct get_process_idle_event_request
2421 struct request_header __header;
2422 obj_handle_t handle;
2424 struct get_process_idle_event_reply
2426 struct reply_header __header;
2432 struct send_message_request
2434 struct request_header __header;
2440 unsigned long wparam;
2441 unsigned long lparam;
2443 /* VARARG(data,message_data); */
2445 struct send_message_reply
2447 struct reply_header __header;
2450 struct post_quit_message_request
2452 struct request_header __header;
2455 struct post_quit_message_reply
2457 struct reply_header __header;
2466 MSG_CALLBACK_RESULT,
2472 #define SEND_MSG_ABORT_IF_HUNG 0x01
2476 struct send_hardware_message_request
2478 struct request_header __header;
2483 unsigned long wparam;
2484 unsigned long lparam;
2489 struct send_hardware_message_reply
2491 struct reply_header __header;
2496 struct get_message_request
2498 struct request_header __header;
2500 user_handle_t get_win;
2501 unsigned int get_first;
2502 unsigned int get_last;
2504 unsigned int wake_mask;
2505 unsigned int changed_mask;
2507 struct get_message_reply
2509 struct reply_header __header;
2513 unsigned long wparam;
2514 unsigned long lparam;
2520 unsigned int active_hooks;
2522 /* VARARG(data,message_data); */
2527 struct reply_message_request
2529 struct request_header __header;
2530 unsigned long result;
2532 /* VARARG(data,bytes); */
2534 struct reply_message_reply
2536 struct reply_header __header;
2541 struct accept_hardware_message_request
2543 struct request_header __header;
2546 user_handle_t new_win;
2548 struct accept_hardware_message_reply
2550 struct reply_header __header;
2555 struct get_message_reply_request
2557 struct request_header __header;
2560 struct get_message_reply_reply
2562 struct reply_header __header;
2563 unsigned long result;
2564 /* VARARG(data,bytes); */
2569 struct set_win_timer_request
2571 struct request_header __header;
2576 unsigned long lparam;
2578 struct set_win_timer_reply
2580 struct reply_header __header;
2586 struct kill_win_timer_request
2588 struct request_header __header;
2593 struct kill_win_timer_reply
2595 struct reply_header __header;
2600 struct is_window_hung_request
2602 struct request_header __header;
2605 struct is_window_hung_reply
2607 struct reply_header __header;
2613 struct get_serial_info_request
2615 struct request_header __header;
2616 obj_handle_t handle;
2618 struct get_serial_info_reply
2620 struct reply_header __header;
2621 unsigned int readinterval;
2622 unsigned int readconst;
2623 unsigned int readmult;
2624 unsigned int writeconst;
2625 unsigned int writemult;
2626 unsigned int eventmask;
2631 struct set_serial_info_request
2633 struct request_header __header;
2634 obj_handle_t handle;
2636 unsigned int readinterval;
2637 unsigned int readconst;
2638 unsigned int readmult;
2639 unsigned int writeconst;
2640 unsigned int writemult;
2641 unsigned int eventmask;
2643 struct set_serial_info_reply
2645 struct reply_header __header;
2647 #define SERIALINFO_SET_TIMEOUTS 0x01
2648 #define SERIALINFO_SET_MASK 0x02
2652 struct register_async_request
2654 struct request_header __header;
2655 obj_handle_t handle;
2660 struct register_async_reply
2662 struct reply_header __header;
2664 #define ASYNC_TYPE_READ 0x01
2665 #define ASYNC_TYPE_WRITE 0x02
2666 #define ASYNC_TYPE_WAIT 0x03
2670 struct cancel_async_request
2672 struct request_header __header;
2673 obj_handle_t handle;
2675 struct cancel_async_reply
2677 struct reply_header __header;
2682 struct ioctl_request
2684 struct request_header __header;
2685 obj_handle_t handle;
2688 /* VARARG(in_data,bytes); */
2692 struct reply_header __header;
2694 unsigned int options;
2695 /* VARARG(out_data,bytes); */
2700 struct get_ioctl_result_request
2702 struct request_header __header;
2703 obj_handle_t handle;
2706 struct get_ioctl_result_reply
2708 struct reply_header __header;
2709 /* VARARG(out_data,bytes); */
2714 struct create_named_pipe_request
2716 struct request_header __header;
2717 unsigned int access;
2718 unsigned int attributes;
2719 obj_handle_t rootdir;
2720 unsigned int options;
2722 unsigned int maxinstances;
2723 unsigned int outsize;
2724 unsigned int insize;
2726 /* VARARG(name,unicode_str); */
2728 struct create_named_pipe_reply
2730 struct reply_header __header;
2731 obj_handle_t handle;
2735 #define NAMED_PIPE_MESSAGE_STREAM_WRITE 0x0001
2736 #define NAMED_PIPE_MESSAGE_STREAM_READ 0x0002
2737 #define NAMED_PIPE_NONBLOCKING_MODE 0x0004
2738 #define NAMED_PIPE_SERVER_END 0x8000
2741 struct get_named_pipe_info_request
2743 struct request_header __header;
2744 obj_handle_t handle;
2746 struct get_named_pipe_info_reply
2748 struct reply_header __header;
2750 unsigned int maxinstances;
2751 unsigned int instances;
2752 unsigned int outsize;
2753 unsigned int insize;
2758 struct create_window_request
2760 struct request_header __header;
2761 user_handle_t parent;
2762 user_handle_t owner;
2765 /* VARARG(class,unicode_str); */
2767 struct create_window_reply
2769 struct reply_header __header;
2770 user_handle_t handle;
2771 user_handle_t parent;
2772 user_handle_t owner;
2779 struct destroy_window_request
2781 struct request_header __header;
2782 user_handle_t handle;
2784 struct destroy_window_reply
2786 struct reply_header __header;
2791 struct get_desktop_window_request
2793 struct request_header __header;
2796 struct get_desktop_window_reply
2798 struct reply_header __header;
2799 user_handle_t top_window;
2800 user_handle_t msg_window;
2805 struct set_window_owner_request
2807 struct request_header __header;
2808 user_handle_t handle;
2809 user_handle_t owner;
2811 struct set_window_owner_reply
2813 struct reply_header __header;
2814 user_handle_t full_owner;
2815 user_handle_t prev_owner;
2820 struct get_window_info_request
2822 struct request_header __header;
2823 user_handle_t handle;
2825 struct get_window_info_reply
2827 struct reply_header __header;
2828 user_handle_t full_handle;
2829 user_handle_t last_active;
2838 struct set_window_info_request
2840 struct request_header __header;
2842 user_handle_t handle;
2844 unsigned int ex_style;
2848 unsigned long user_data;
2850 data_size_t extra_size;
2851 unsigned long extra_value;
2853 struct set_window_info_reply
2855 struct reply_header __header;
2856 unsigned int old_style;
2857 unsigned int old_ex_style;
2858 unsigned int old_id;
2860 unsigned long old_user_data;
2861 unsigned long old_extra_value;
2863 #define SET_WIN_STYLE 0x01
2864 #define SET_WIN_EXSTYLE 0x02
2865 #define SET_WIN_ID 0x04
2866 #define SET_WIN_INSTANCE 0x08
2867 #define SET_WIN_USERDATA 0x10
2868 #define SET_WIN_EXTRA 0x20
2869 #define SET_WIN_UNICODE 0x40
2873 struct set_parent_request
2875 struct request_header __header;
2876 user_handle_t handle;
2877 user_handle_t parent;
2879 struct set_parent_reply
2881 struct reply_header __header;
2882 user_handle_t old_parent;
2883 user_handle_t full_parent;
2888 struct get_window_parents_request
2890 struct request_header __header;
2891 user_handle_t handle;
2893 struct get_window_parents_reply
2895 struct reply_header __header;
2897 /* VARARG(parents,user_handles); */
2902 struct get_window_children_request
2904 struct request_header __header;
2905 obj_handle_t desktop;
2906 user_handle_t parent;
2909 /* VARARG(class,unicode_str); */
2911 struct get_window_children_reply
2913 struct reply_header __header;
2915 /* VARARG(children,user_handles); */
2920 struct get_window_children_from_point_request
2922 struct request_header __header;
2923 user_handle_t parent;
2927 struct get_window_children_from_point_reply
2929 struct reply_header __header;
2931 /* VARARG(children,user_handles); */
2936 struct get_window_tree_request
2938 struct request_header __header;
2939 user_handle_t handle;
2941 struct get_window_tree_reply
2943 struct reply_header __header;
2944 user_handle_t parent;
2945 user_handle_t owner;
2946 user_handle_t next_sibling;
2947 user_handle_t prev_sibling;
2948 user_handle_t first_sibling;
2949 user_handle_t last_sibling;
2950 user_handle_t first_child;
2951 user_handle_t last_child;
2955 struct set_window_pos_request
2957 struct request_header __header;
2959 user_handle_t handle;
2960 user_handle_t previous;
2963 /* VARARG(valid,rectangles); */
2965 struct set_window_pos_reply
2967 struct reply_header __header;
2968 unsigned int new_style;
2969 unsigned int new_ex_style;
2974 struct get_window_rectangles_request
2976 struct request_header __header;
2977 user_handle_t handle;
2979 struct get_window_rectangles_reply
2981 struct reply_header __header;
2983 rectangle_t visible;
2989 struct get_window_text_request
2991 struct request_header __header;
2992 user_handle_t handle;
2994 struct get_window_text_reply
2996 struct reply_header __header;
2997 /* VARARG(text,unicode_str); */
3002 struct set_window_text_request
3004 struct request_header __header;
3005 user_handle_t handle;
3006 /* VARARG(text,unicode_str); */
3008 struct set_window_text_reply
3010 struct reply_header __header;
3015 struct get_windows_offset_request
3017 struct request_header __header;
3021 struct get_windows_offset_reply
3023 struct reply_header __header;
3030 struct get_visible_region_request
3032 struct request_header __header;
3033 user_handle_t window;
3036 struct get_visible_region_reply
3038 struct reply_header __header;
3039 user_handle_t top_win;
3040 rectangle_t top_rect;
3041 rectangle_t win_rect;
3042 data_size_t total_size;
3043 /* VARARG(region,rectangles); */
3048 struct get_window_region_request
3050 struct request_header __header;
3051 user_handle_t window;
3053 struct get_window_region_reply
3055 struct reply_header __header;
3056 data_size_t total_size;
3057 /* VARARG(region,rectangles); */
3062 struct set_window_region_request
3064 struct request_header __header;
3065 user_handle_t window;
3067 /* VARARG(region,rectangles); */
3069 struct set_window_region_reply
3071 struct reply_header __header;
3076 struct get_update_region_request
3078 struct request_header __header;
3079 user_handle_t window;
3080 user_handle_t from_child;
3083 struct get_update_region_reply
3085 struct reply_header __header;
3086 user_handle_t child;
3088 data_size_t total_size;
3089 /* VARARG(region,rectangles); */
3091 #define UPDATE_NONCLIENT 0x01
3092 #define UPDATE_ERASE 0x02
3093 #define UPDATE_PAINT 0x04
3094 #define UPDATE_INTERNALPAINT 0x08
3095 #define UPDATE_ALLCHILDREN 0x10
3096 #define UPDATE_NOCHILDREN 0x20
3097 #define UPDATE_NOREGION 0x40
3098 #define UPDATE_DELAYED_ERASE 0x80
3102 struct update_window_zorder_request
3104 struct request_header __header;
3105 user_handle_t window;
3108 struct update_window_zorder_reply
3110 struct reply_header __header;
3115 struct redraw_window_request
3117 struct request_header __header;
3118 user_handle_t window;
3120 /* VARARG(region,rectangles); */
3122 struct redraw_window_reply
3124 struct reply_header __header;
3129 struct set_window_property_request
3131 struct request_header __header;
3132 user_handle_t window;
3134 obj_handle_t handle;
3135 /* VARARG(name,unicode_str); */
3137 struct set_window_property_reply
3139 struct reply_header __header;
3144 struct remove_window_property_request
3146 struct request_header __header;
3147 user_handle_t window;
3149 /* VARARG(name,unicode_str); */
3151 struct remove_window_property_reply
3153 struct reply_header __header;
3154 obj_handle_t handle;
3159 struct get_window_property_request
3161 struct request_header __header;
3162 user_handle_t window;
3164 /* VARARG(name,unicode_str); */
3166 struct get_window_property_reply
3168 struct reply_header __header;
3169 obj_handle_t handle;
3174 struct get_window_properties_request
3176 struct request_header __header;
3177 user_handle_t window;
3179 struct get_window_properties_reply
3181 struct reply_header __header;
3183 /* VARARG(props,properties); */
3188 struct create_winstation_request
3190 struct request_header __header;
3192 unsigned int access;
3193 unsigned int attributes;
3194 /* VARARG(name,unicode_str); */
3196 struct create_winstation_reply
3198 struct reply_header __header;
3199 obj_handle_t handle;
3204 struct open_winstation_request
3206 struct request_header __header;
3207 unsigned int access;
3208 unsigned int attributes;
3209 /* VARARG(name,unicode_str); */
3211 struct open_winstation_reply
3213 struct reply_header __header;
3214 obj_handle_t handle;
3219 struct close_winstation_request
3221 struct request_header __header;
3222 obj_handle_t handle;
3224 struct close_winstation_reply
3226 struct reply_header __header;
3231 struct get_process_winstation_request
3233 struct request_header __header;
3235 struct get_process_winstation_reply
3237 struct reply_header __header;
3238 obj_handle_t handle;
3243 struct set_process_winstation_request
3245 struct request_header __header;
3246 obj_handle_t handle;
3248 struct set_process_winstation_reply
3250 struct reply_header __header;
3255 struct enum_winstation_request
3257 struct request_header __header;
3260 struct enum_winstation_reply
3262 struct reply_header __header;
3264 /* VARARG(name,unicode_str); */
3269 struct create_desktop_request
3271 struct request_header __header;
3273 unsigned int access;
3274 unsigned int attributes;
3275 /* VARARG(name,unicode_str); */
3277 struct create_desktop_reply
3279 struct reply_header __header;
3280 obj_handle_t handle;
3285 struct open_desktop_request
3287 struct request_header __header;
3288 obj_handle_t winsta;
3290 unsigned int access;
3291 unsigned int attributes;
3292 /* VARARG(name,unicode_str); */
3294 struct open_desktop_reply
3296 struct reply_header __header;
3297 obj_handle_t handle;
3302 struct close_desktop_request
3304 struct request_header __header;
3305 obj_handle_t handle;
3307 struct close_desktop_reply
3309 struct reply_header __header;
3314 struct get_thread_desktop_request
3316 struct request_header __header;
3319 struct get_thread_desktop_reply
3321 struct reply_header __header;
3322 obj_handle_t handle;
3327 struct set_thread_desktop_request
3329 struct request_header __header;
3330 obj_handle_t handle;
3332 struct set_thread_desktop_reply
3334 struct reply_header __header;
3339 struct enum_desktop_request
3341 struct request_header __header;
3342 obj_handle_t winstation;
3345 struct enum_desktop_reply
3347 struct reply_header __header;
3349 /* VARARG(name,unicode_str); */
3354 struct set_user_object_info_request
3356 struct request_header __header;
3357 obj_handle_t handle;
3359 unsigned int obj_flags;
3361 struct set_user_object_info_reply
3363 struct reply_header __header;
3365 unsigned int old_obj_flags;
3366 /* VARARG(name,unicode_str); */
3368 #define SET_USER_OBJECT_FLAGS 1
3372 struct attach_thread_input_request
3374 struct request_header __header;
3375 thread_id_t tid_from;
3379 struct attach_thread_input_reply
3381 struct reply_header __header;
3386 struct get_thread_input_request
3388 struct request_header __header;
3391 struct get_thread_input_reply
3393 struct reply_header __header;
3394 user_handle_t focus;
3395 user_handle_t capture;
3396 user_handle_t active;
3397 user_handle_t foreground;
3398 user_handle_t menu_owner;
3399 user_handle_t move_size;
3400 user_handle_t caret;
3406 struct get_last_input_time_request
3408 struct request_header __header;
3410 struct get_last_input_time_reply
3412 struct reply_header __header;
3418 struct get_key_state_request
3420 struct request_header __header;
3424 struct get_key_state_reply
3426 struct reply_header __header;
3427 unsigned char state;
3428 /* VARARG(keystate,bytes); */
3432 struct set_key_state_request
3434 struct request_header __header;
3436 /* VARARG(keystate,bytes); */
3438 struct set_key_state_reply
3440 struct reply_header __header;
3444 struct set_foreground_window_request
3446 struct request_header __header;
3447 user_handle_t handle;
3449 struct set_foreground_window_reply
3451 struct reply_header __header;
3452 user_handle_t previous;
3458 struct set_focus_window_request
3460 struct request_header __header;
3461 user_handle_t handle;
3463 struct set_focus_window_reply
3465 struct reply_header __header;
3466 user_handle_t previous;
3470 struct set_active_window_request
3472 struct request_header __header;
3473 user_handle_t handle;
3475 struct set_active_window_reply
3477 struct reply_header __header;
3478 user_handle_t previous;
3482 struct set_capture_window_request
3484 struct request_header __header;
3485 user_handle_t handle;
3488 struct set_capture_window_reply
3490 struct reply_header __header;
3491 user_handle_t previous;
3492 user_handle_t full_handle;
3494 #define CAPTURE_MENU 0x01
3495 #define CAPTURE_MOVESIZE 0x02
3499 struct set_caret_window_request
3501 struct request_header __header;
3502 user_handle_t handle;
3506 struct set_caret_window_reply
3508 struct reply_header __header;
3509 user_handle_t previous;
3510 rectangle_t old_rect;
3517 struct set_caret_info_request
3519 struct request_header __header;
3521 user_handle_t handle;
3527 struct set_caret_info_reply
3529 struct reply_header __header;
3530 user_handle_t full_handle;
3531 rectangle_t old_rect;
3535 #define SET_CARET_POS 0x01
3536 #define SET_CARET_HIDE 0x02
3537 #define SET_CARET_STATE 0x04
3541 struct set_hook_request
3543 struct request_header __header;
3552 /* VARARG(module,unicode_str); */
3554 struct set_hook_reply
3556 struct reply_header __header;
3557 user_handle_t handle;
3558 unsigned int active_hooks;
3563 struct remove_hook_request
3565 struct request_header __header;
3566 user_handle_t handle;
3570 struct remove_hook_reply
3572 struct reply_header __header;
3573 unsigned int active_hooks;
3578 struct start_hook_chain_request
3580 struct request_header __header;
3583 user_handle_t window;
3587 struct start_hook_chain_reply
3589 struct reply_header __header;
3590 user_handle_t handle;
3595 unsigned int active_hooks;
3596 /* VARARG(module,unicode_str); */
3601 struct finish_hook_chain_request
3603 struct request_header __header;
3606 struct finish_hook_chain_reply
3608 struct reply_header __header;
3613 struct get_hook_info_request
3615 struct request_header __header;
3616 user_handle_t handle;
3619 user_handle_t window;
3623 struct get_hook_info_reply
3625 struct reply_header __header;
3626 user_handle_t handle;
3632 /* VARARG(module,unicode_str); */
3637 struct create_class_request
3639 struct request_header __header;
3647 /* VARARG(name,unicode_str); */
3649 struct create_class_reply
3651 struct reply_header __header;
3657 struct destroy_class_request
3659 struct request_header __header;
3662 /* VARARG(name,unicode_str); */
3664 struct destroy_class_reply
3666 struct reply_header __header;
3672 struct set_class_info_request
3674 struct request_header __header;
3675 user_handle_t window;
3682 data_size_t extra_size;
3683 unsigned long extra_value;
3685 struct set_class_info_reply
3687 struct reply_header __header;
3689 unsigned int old_style;
3693 unsigned long old_extra_value;
3695 #define SET_CLASS_ATOM 0x0001
3696 #define SET_CLASS_STYLE 0x0002
3697 #define SET_CLASS_WINEXTRA 0x0004
3698 #define SET_CLASS_INSTANCE 0x0008
3699 #define SET_CLASS_EXTRA 0x0010
3703 struct set_clipboard_info_request
3705 struct request_header __header;
3707 user_handle_t clipboard;
3708 user_handle_t owner;
3709 user_handle_t viewer;
3712 struct set_clipboard_info_reply
3714 struct reply_header __header;
3716 user_handle_t old_clipboard;
3717 user_handle_t old_owner;
3718 user_handle_t old_viewer;
3722 #define SET_CB_OPEN 0x001
3723 #define SET_CB_OWNER 0x002
3724 #define SET_CB_VIEWER 0x004
3725 #define SET_CB_SEQNO 0x008
3726 #define SET_CB_RELOWNER 0x010
3727 #define SET_CB_CLOSE 0x020
3728 #define CB_OPEN 0x040
3729 #define CB_OWNER 0x080
3730 #define CB_PROCESS 0x100
3734 struct open_token_request
3736 struct request_header __header;
3737 obj_handle_t handle;
3738 unsigned int access;
3739 unsigned int attributes;
3742 struct open_token_reply
3744 struct reply_header __header;
3747 #define OPEN_TOKEN_THREAD 1
3748 #define OPEN_TOKEN_AS_SELF 2
3752 struct set_global_windows_request
3754 struct request_header __header;
3756 user_handle_t shell_window;
3757 user_handle_t shell_listview;
3758 user_handle_t progman_window;
3759 user_handle_t taskman_window;
3761 struct set_global_windows_reply
3763 struct reply_header __header;
3764 user_handle_t old_shell_window;
3765 user_handle_t old_shell_listview;
3766 user_handle_t old_progman_window;
3767 user_handle_t old_taskman_window;
3769 #define SET_GLOBAL_SHELL_WINDOWS 0x01
3770 #define SET_GLOBAL_PROGMAN_WINDOW 0x02
3771 #define SET_GLOBAL_TASKMAN_WINDOW 0x04
3774 struct adjust_token_privileges_request
3776 struct request_header __header;
3777 obj_handle_t handle;
3779 int get_modified_state;
3780 /* VARARG(privileges,LUID_AND_ATTRIBUTES); */
3782 struct adjust_token_privileges_reply
3784 struct reply_header __header;
3786 /* VARARG(privileges,LUID_AND_ATTRIBUTES); */
3790 struct get_token_privileges_request
3792 struct request_header __header;
3793 obj_handle_t handle;
3795 struct get_token_privileges_reply
3797 struct reply_header __header;
3799 /* VARARG(privileges,LUID_AND_ATTRIBUTES); */
3803 struct check_token_privileges_request
3805 struct request_header __header;
3806 obj_handle_t handle;
3808 /* VARARG(privileges,LUID_AND_ATTRIBUTES); */
3810 struct check_token_privileges_reply
3812 struct reply_header __header;
3814 /* VARARG(privileges,LUID_AND_ATTRIBUTES); */
3817 struct duplicate_token_request
3819 struct request_header __header;
3820 obj_handle_t handle;
3821 unsigned int access;
3822 unsigned int attributes;
3824 int impersonation_level;
3826 struct duplicate_token_reply
3828 struct reply_header __header;
3829 obj_handle_t new_handle;
3832 struct access_check_request
3834 struct request_header __header;
3835 obj_handle_t handle;
3836 unsigned int desired_access;
3837 unsigned int mapping_read;
3838 unsigned int mapping_write;
3839 unsigned int mapping_execute;
3840 unsigned int mapping_all;
3841 /* VARARG(sd,security_descriptor); */
3843 struct access_check_reply
3845 struct reply_header __header;
3846 unsigned int access_granted;
3847 unsigned int access_status;
3848 unsigned int privileges_len;
3849 /* VARARG(privileges,LUID_AND_ATTRIBUTES); */
3852 struct get_token_user_request
3854 struct request_header __header;
3855 obj_handle_t handle;
3857 struct get_token_user_reply
3859 struct reply_header __header;
3860 data_size_t user_len;
3861 /* VARARG(user,SID); */
3864 struct get_token_groups_request
3866 struct request_header __header;
3867 obj_handle_t handle;
3869 struct get_token_groups_reply
3871 struct reply_header __header;
3872 data_size_t user_len;
3873 /* VARARG(user,token_groups); */
3876 struct set_security_object_request
3878 struct request_header __header;
3879 obj_handle_t handle;
3880 unsigned int security_info;
3881 /* VARARG(sd,security_descriptor); */
3883 struct set_security_object_reply
3885 struct reply_header __header;
3888 struct get_security_object_request
3890 struct request_header __header;
3891 obj_handle_t handle;
3892 unsigned int security_info;
3894 struct get_security_object_reply
3896 struct reply_header __header;
3897 unsigned int sd_len;
3898 /* VARARG(sd,security_descriptor); */
3902 struct create_mailslot_request
3904 struct request_header __header;
3905 unsigned int access;
3906 unsigned int attributes;
3907 obj_handle_t rootdir;
3908 unsigned int max_msgsize;
3909 timeout_t read_timeout;
3910 /* VARARG(name,unicode_str); */
3912 struct create_mailslot_reply
3914 struct reply_header __header;
3915 obj_handle_t handle;
3920 struct set_mailslot_info_request
3922 struct request_header __header;
3923 obj_handle_t handle;
3925 timeout_t read_timeout;
3927 struct set_mailslot_info_reply
3929 struct reply_header __header;
3930 unsigned int max_msgsize;
3931 timeout_t read_timeout;
3933 #define MAILSLOT_SET_READ_TIMEOUT 1
3937 struct create_directory_request
3939 struct request_header __header;
3940 unsigned int access;
3941 unsigned int attributes;
3942 obj_handle_t rootdir;
3943 /* VARARG(directory_name,unicode_str); */
3945 struct create_directory_reply
3947 struct reply_header __header;
3948 obj_handle_t handle;
3953 struct open_directory_request
3955 struct request_header __header;
3956 unsigned int access;
3957 unsigned int attributes;
3958 obj_handle_t rootdir;
3959 /* VARARG(directory_name,unicode_str); */
3961 struct open_directory_reply
3963 struct reply_header __header;
3964 obj_handle_t handle;
3969 struct get_directory_entry_request
3971 struct request_header __header;
3972 obj_handle_t handle;
3975 struct get_directory_entry_reply
3977 struct reply_header __header;
3979 /* VARARG(name,unicode_str,name_len); */
3980 /* VARARG(type,unicode_str); */
3985 struct create_symlink_request
3987 struct request_header __header;
3988 unsigned int access;
3989 unsigned int attributes;
3990 obj_handle_t rootdir;
3991 data_size_t name_len;
3992 /* VARARG(name,unicode_str,name_len); */
3993 /* VARARG(target_name,unicode_str); */
3995 struct create_symlink_reply
3997 struct reply_header __header;
3998 obj_handle_t handle;
4003 struct open_symlink_request
4005 struct request_header __header;
4006 unsigned int access;
4007 unsigned int attributes;
4008 obj_handle_t rootdir;
4009 /* VARARG(name,unicode_str); */
4011 struct open_symlink_reply
4013 struct reply_header __header;
4014 obj_handle_t handle;
4019 struct query_symlink_request
4021 struct request_header __header;
4022 obj_handle_t handle;
4024 struct query_symlink_reply
4026 struct reply_header __header;
4027 /* VARARG(target_name,unicode_str); */
4032 struct get_object_info_request
4034 struct request_header __header;
4035 obj_handle_t handle;
4037 struct get_object_info_reply
4039 struct reply_header __header;
4040 unsigned int access;
4041 unsigned int ref_count;
4045 struct get_token_impersonation_level_request
4047 struct request_header __header;
4048 obj_handle_t handle;
4050 struct get_token_impersonation_level_reply
4052 struct reply_header __header;
4053 int impersonation_level;
4057 struct allocate_locally_unique_id_request
4059 struct request_header __header;
4061 struct allocate_locally_unique_id_reply
4063 struct reply_header __header;
4069 struct create_device_manager_request
4071 struct request_header __header;
4072 unsigned int access;
4073 unsigned int attributes;
4075 struct create_device_manager_reply
4077 struct reply_header __header;
4078 obj_handle_t handle;
4083 struct create_device_request
4085 struct request_header __header;
4086 unsigned int access;
4087 unsigned int attributes;
4088 obj_handle_t rootdir;
4089 obj_handle_t manager;
4091 /* VARARG(name,unicode_str); */
4093 struct create_device_reply
4095 struct reply_header __header;
4096 obj_handle_t handle;
4101 struct delete_device_request
4103 struct request_header __header;
4104 obj_handle_t handle;
4106 struct delete_device_reply
4108 struct reply_header __header;
4113 struct get_next_device_request_request
4115 struct request_header __header;
4116 obj_handle_t manager;
4118 unsigned int status;
4119 /* VARARG(prev_data,bytes); */
4121 struct get_next_device_request_reply
4123 struct reply_header __header;
4127 data_size_t in_size;
4128 data_size_t out_size;
4129 /* VARARG(next_data,bytes); */
4134 struct make_process_system_request
4136 struct request_header __header;
4138 struct make_process_system_reply
4140 struct reply_header __header;
4146 struct get_token_statistics_request
4148 struct request_header __header;
4149 obj_handle_t handle;
4151 struct get_token_statistics_reply
4153 struct reply_header __header;
4157 int impersonation_level;
4159 int privilege_count;
4164 struct create_completion_request
4166 struct request_header __header;
4167 unsigned int access;
4168 unsigned int attributes;
4169 unsigned int concurrent;
4170 obj_handle_t rootdir;
4171 /* VARARG(filename,string); */
4173 struct create_completion_reply
4175 struct reply_header __header;
4176 obj_handle_t handle;
4181 struct open_completion_request
4183 struct request_header __header;
4184 unsigned int access;
4185 unsigned int attributes;
4186 obj_handle_t rootdir;
4187 /* VARARG(filename,string); */
4189 struct open_completion_reply
4191 struct reply_header __header;
4192 obj_handle_t handle;
4197 struct add_completion_request
4199 struct request_header __header;
4200 obj_handle_t handle;
4202 unsigned long cvalue;
4203 unsigned long information;
4204 unsigned int status;
4206 struct add_completion_reply
4208 struct reply_header __header;
4213 struct remove_completion_request
4215 struct request_header __header;
4216 obj_handle_t handle;
4218 struct remove_completion_reply
4220 struct reply_header __header;
4222 unsigned long cvalue;
4223 unsigned long information;
4224 unsigned int status;
4229 struct query_completion_request
4231 struct request_header __header;
4232 obj_handle_t handle;
4234 struct query_completion_reply
4236 struct reply_header __header;
4242 struct set_completion_info_request
4244 struct request_header __header;
4245 obj_handle_t handle;
4246 obj_handle_t chandle;
4249 struct set_completion_info_reply
4251 struct reply_header __header;
4256 struct add_fd_completion_request
4258 struct request_header __header;
4259 obj_handle_t handle;
4260 unsigned long cvalue;
4261 unsigned int status;
4262 unsigned long information;
4264 struct add_fd_completion_reply
4266 struct reply_header __header;
4271 struct get_window_layered_info_request
4273 struct request_header __header;
4274 user_handle_t handle;
4276 struct get_window_layered_info_reply
4278 struct reply_header __header;
4279 unsigned int color_key;
4286 struct set_window_layered_info_request
4288 struct request_header __header;
4289 user_handle_t handle;
4290 unsigned int color_key;
4294 struct set_window_layered_info_reply
4296 struct reply_header __header;
4303 REQ_get_new_process_info,
4305 REQ_get_startup_info,
4306 REQ_init_process_done,
4308 REQ_terminate_process,
4309 REQ_terminate_thread,
4310 REQ_get_process_info,
4311 REQ_set_process_info,
4312 REQ_get_thread_info,
4313 REQ_set_thread_info,
4322 REQ_set_handle_info,
4333 REQ_create_semaphore,
4334 REQ_release_semaphore,
4337 REQ_open_file_object,
4338 REQ_alloc_file_handle,
4345 REQ_set_socket_event,
4346 REQ_get_socket_event,
4347 REQ_enable_socket_event,
4348 REQ_set_socket_deferred,
4351 REQ_get_console_renderer_events,
4353 REQ_get_console_wait_event,
4354 REQ_get_console_mode,
4355 REQ_set_console_mode,
4356 REQ_set_console_input_info,
4357 REQ_get_console_input_info,
4358 REQ_append_console_input_history,
4359 REQ_get_console_input_history,
4360 REQ_create_console_output,
4361 REQ_set_console_output_info,
4362 REQ_get_console_output_info,
4363 REQ_write_console_input,
4364 REQ_read_console_input,
4365 REQ_write_console_output,
4366 REQ_fill_console_output,
4367 REQ_read_console_output,
4368 REQ_move_console_output,
4369 REQ_send_console_signal,
4370 REQ_read_directory_changes,
4374 REQ_get_mapping_info,
4375 REQ_create_snapshot,
4379 REQ_wait_debug_event,
4380 REQ_queue_exception_event,
4381 REQ_get_exception_status,
4382 REQ_output_debug_string,
4383 REQ_continue_debug_event,
4386 REQ_set_debugger_kill_on_exit,
4387 REQ_read_process_memory,
4388 REQ_write_process_memory,
4397 REQ_delete_key_value,
4399 REQ_unload_registry,
4401 REQ_set_registry_notification,
4407 REQ_get_thread_context,
4408 REQ_set_thread_context,
4409 REQ_get_selector_entry,
4413 REQ_get_atom_information,
4414 REQ_set_atom_information,
4415 REQ_empty_atom_table,
4416 REQ_init_atom_table,
4420 REQ_get_queue_status,
4421 REQ_get_process_idle_event,
4423 REQ_post_quit_message,
4424 REQ_send_hardware_message,
4427 REQ_accept_hardware_message,
4428 REQ_get_message_reply,
4432 REQ_get_serial_info,
4433 REQ_set_serial_info,
4437 REQ_get_ioctl_result,
4438 REQ_create_named_pipe,
4439 REQ_get_named_pipe_info,
4442 REQ_get_desktop_window,
4443 REQ_set_window_owner,
4444 REQ_get_window_info,
4445 REQ_set_window_info,
4447 REQ_get_window_parents,
4448 REQ_get_window_children,
4449 REQ_get_window_children_from_point,
4450 REQ_get_window_tree,
4452 REQ_get_window_rectangles,
4453 REQ_get_window_text,
4454 REQ_set_window_text,
4455 REQ_get_windows_offset,
4456 REQ_get_visible_region,
4457 REQ_get_window_region,
4458 REQ_set_window_region,
4459 REQ_get_update_region,
4460 REQ_update_window_zorder,
4462 REQ_set_window_property,
4463 REQ_remove_window_property,
4464 REQ_get_window_property,
4465 REQ_get_window_properties,
4466 REQ_create_winstation,
4467 REQ_open_winstation,
4468 REQ_close_winstation,
4469 REQ_get_process_winstation,
4470 REQ_set_process_winstation,
4471 REQ_enum_winstation,
4475 REQ_get_thread_desktop,
4476 REQ_set_thread_desktop,
4478 REQ_set_user_object_info,
4479 REQ_attach_thread_input,
4480 REQ_get_thread_input,
4481 REQ_get_last_input_time,
4484 REQ_set_foreground_window,
4485 REQ_set_focus_window,
4486 REQ_set_active_window,
4487 REQ_set_capture_window,
4488 REQ_set_caret_window,
4492 REQ_start_hook_chain,
4493 REQ_finish_hook_chain,
4498 REQ_set_clipboard_info,
4500 REQ_set_global_windows,
4501 REQ_adjust_token_privileges,
4502 REQ_get_token_privileges,
4503 REQ_check_token_privileges,
4504 REQ_duplicate_token,
4507 REQ_get_token_groups,
4508 REQ_set_security_object,
4509 REQ_get_security_object,
4510 REQ_create_mailslot,
4511 REQ_set_mailslot_info,
4512 REQ_create_directory,
4514 REQ_get_directory_entry,
4518 REQ_get_object_info,
4519 REQ_get_token_impersonation_level,
4520 REQ_allocate_locally_unique_id,
4521 REQ_create_device_manager,
4524 REQ_get_next_device_request,
4525 REQ_make_process_system,
4526 REQ_get_token_statistics,
4527 REQ_create_completion,
4528 REQ_open_completion,
4530 REQ_remove_completion,
4531 REQ_query_completion,
4532 REQ_set_completion_info,
4533 REQ_add_fd_completion,
4534 REQ_get_window_layered_info,
4535 REQ_set_window_layered_info,
4539 union generic_request
4541 struct request_max_size max_size;
4542 struct request_header request_header;
4543 struct new_process_request new_process_request;
4544 struct get_new_process_info_request get_new_process_info_request;
4545 struct new_thread_request new_thread_request;
4546 struct get_startup_info_request get_startup_info_request;
4547 struct init_process_done_request init_process_done_request;
4548 struct init_thread_request init_thread_request;
4549 struct terminate_process_request terminate_process_request;
4550 struct terminate_thread_request terminate_thread_request;
4551 struct get_process_info_request get_process_info_request;
4552 struct set_process_info_request set_process_info_request;
4553 struct get_thread_info_request get_thread_info_request;
4554 struct set_thread_info_request set_thread_info_request;
4555 struct get_dll_info_request get_dll_info_request;
4556 struct suspend_thread_request suspend_thread_request;
4557 struct resume_thread_request resume_thread_request;
4558 struct load_dll_request load_dll_request;
4559 struct unload_dll_request unload_dll_request;
4560 struct queue_apc_request queue_apc_request;
4561 struct get_apc_result_request get_apc_result_request;
4562 struct close_handle_request close_handle_request;
4563 struct set_handle_info_request set_handle_info_request;
4564 struct dup_handle_request dup_handle_request;
4565 struct open_process_request open_process_request;
4566 struct open_thread_request open_thread_request;
4567 struct select_request select_request;
4568 struct create_event_request create_event_request;
4569 struct event_op_request event_op_request;
4570 struct open_event_request open_event_request;
4571 struct create_mutex_request create_mutex_request;
4572 struct release_mutex_request release_mutex_request;
4573 struct open_mutex_request open_mutex_request;
4574 struct create_semaphore_request create_semaphore_request;
4575 struct release_semaphore_request release_semaphore_request;
4576 struct open_semaphore_request open_semaphore_request;
4577 struct create_file_request create_file_request;
4578 struct open_file_object_request open_file_object_request;
4579 struct alloc_file_handle_request alloc_file_handle_request;
4580 struct get_handle_fd_request get_handle_fd_request;
4581 struct flush_file_request flush_file_request;
4582 struct lock_file_request lock_file_request;
4583 struct unlock_file_request unlock_file_request;
4584 struct create_socket_request create_socket_request;
4585 struct accept_socket_request accept_socket_request;
4586 struct set_socket_event_request set_socket_event_request;
4587 struct get_socket_event_request get_socket_event_request;
4588 struct enable_socket_event_request enable_socket_event_request;
4589 struct set_socket_deferred_request set_socket_deferred_request;
4590 struct alloc_console_request alloc_console_request;
4591 struct free_console_request free_console_request;
4592 struct get_console_renderer_events_request get_console_renderer_events_request;
4593 struct open_console_request open_console_request;
4594 struct get_console_wait_event_request get_console_wait_event_request;
4595 struct get_console_mode_request get_console_mode_request;
4596 struct set_console_mode_request set_console_mode_request;
4597 struct set_console_input_info_request set_console_input_info_request;
4598 struct get_console_input_info_request get_console_input_info_request;
4599 struct append_console_input_history_request append_console_input_history_request;
4600 struct get_console_input_history_request get_console_input_history_request;
4601 struct create_console_output_request create_console_output_request;
4602 struct set_console_output_info_request set_console_output_info_request;
4603 struct get_console_output_info_request get_console_output_info_request;
4604 struct write_console_input_request write_console_input_request;
4605 struct read_console_input_request read_console_input_request;
4606 struct write_console_output_request write_console_output_request;
4607 struct fill_console_output_request fill_console_output_request;
4608 struct read_console_output_request read_console_output_request;
4609 struct move_console_output_request move_console_output_request;
4610 struct send_console_signal_request send_console_signal_request;
4611 struct read_directory_changes_request read_directory_changes_request;
4612 struct read_change_request read_change_request;
4613 struct create_mapping_request create_mapping_request;
4614 struct open_mapping_request open_mapping_request;
4615 struct get_mapping_info_request get_mapping_info_request;
4616 struct create_snapshot_request create_snapshot_request;
4617 struct next_process_request next_process_request;
4618 struct next_thread_request next_thread_request;
4619 struct next_module_request next_module_request;
4620 struct wait_debug_event_request wait_debug_event_request;
4621 struct queue_exception_event_request queue_exception_event_request;
4622 struct get_exception_status_request get_exception_status_request;
4623 struct output_debug_string_request output_debug_string_request;
4624 struct continue_debug_event_request continue_debug_event_request;
4625 struct debug_process_request debug_process_request;
4626 struct debug_break_request debug_break_request;
4627 struct set_debugger_kill_on_exit_request set_debugger_kill_on_exit_request;
4628 struct read_process_memory_request read_process_memory_request;
4629 struct write_process_memory_request write_process_memory_request;
4630 struct create_key_request create_key_request;
4631 struct open_key_request open_key_request;
4632 struct delete_key_request delete_key_request;
4633 struct flush_key_request flush_key_request;
4634 struct enum_key_request enum_key_request;
4635 struct set_key_value_request set_key_value_request;
4636 struct get_key_value_request get_key_value_request;
4637 struct enum_key_value_request enum_key_value_request;
4638 struct delete_key_value_request delete_key_value_request;
4639 struct load_registry_request load_registry_request;
4640 struct unload_registry_request unload_registry_request;
4641 struct save_registry_request save_registry_request;
4642 struct set_registry_notification_request set_registry_notification_request;
4643 struct create_timer_request create_timer_request;
4644 struct open_timer_request open_timer_request;
4645 struct set_timer_request set_timer_request;
4646 struct cancel_timer_request cancel_timer_request;
4647 struct get_timer_info_request get_timer_info_request;
4648 struct get_thread_context_request get_thread_context_request;
4649 struct set_thread_context_request set_thread_context_request;
4650 struct get_selector_entry_request get_selector_entry_request;
4651 struct add_atom_request add_atom_request;
4652 struct delete_atom_request delete_atom_request;
4653 struct find_atom_request find_atom_request;
4654 struct get_atom_information_request get_atom_information_request;
4655 struct set_atom_information_request set_atom_information_request;
4656 struct empty_atom_table_request empty_atom_table_request;
4657 struct init_atom_table_request init_atom_table_request;
4658 struct get_msg_queue_request get_msg_queue_request;
4659 struct set_queue_fd_request set_queue_fd_request;
4660 struct set_queue_mask_request set_queue_mask_request;
4661 struct get_queue_status_request get_queue_status_request;
4662 struct get_process_idle_event_request get_process_idle_event_request;
4663 struct send_message_request send_message_request;
4664 struct post_quit_message_request post_quit_message_request;
4665 struct send_hardware_message_request send_hardware_message_request;
4666 struct get_message_request get_message_request;
4667 struct reply_message_request reply_message_request;
4668 struct accept_hardware_message_request accept_hardware_message_request;
4669 struct get_message_reply_request get_message_reply_request;
4670 struct set_win_timer_request set_win_timer_request;
4671 struct kill_win_timer_request kill_win_timer_request;
4672 struct is_window_hung_request is_window_hung_request;
4673 struct get_serial_info_request get_serial_info_request;
4674 struct set_serial_info_request set_serial_info_request;
4675 struct register_async_request register_async_request;
4676 struct cancel_async_request cancel_async_request;
4677 struct ioctl_request ioctl_request;
4678 struct get_ioctl_result_request get_ioctl_result_request;
4679 struct create_named_pipe_request create_named_pipe_request;
4680 struct get_named_pipe_info_request get_named_pipe_info_request;
4681 struct create_window_request create_window_request;
4682 struct destroy_window_request destroy_window_request;
4683 struct get_desktop_window_request get_desktop_window_request;
4684 struct set_window_owner_request set_window_owner_request;
4685 struct get_window_info_request get_window_info_request;
4686 struct set_window_info_request set_window_info_request;
4687 struct set_parent_request set_parent_request;
4688 struct get_window_parents_request get_window_parents_request;
4689 struct get_window_children_request get_window_children_request;
4690 struct get_window_children_from_point_request get_window_children_from_point_request;
4691 struct get_window_tree_request get_window_tree_request;
4692 struct set_window_pos_request set_window_pos_request;
4693 struct get_window_rectangles_request get_window_rectangles_request;
4694 struct get_window_text_request get_window_text_request;
4695 struct set_window_text_request set_window_text_request;
4696 struct get_windows_offset_request get_windows_offset_request;
4697 struct get_visible_region_request get_visible_region_request;
4698 struct get_window_region_request get_window_region_request;
4699 struct set_window_region_request set_window_region_request;
4700 struct get_update_region_request get_update_region_request;
4701 struct update_window_zorder_request update_window_zorder_request;
4702 struct redraw_window_request redraw_window_request;
4703 struct set_window_property_request set_window_property_request;
4704 struct remove_window_property_request remove_window_property_request;
4705 struct get_window_property_request get_window_property_request;
4706 struct get_window_properties_request get_window_properties_request;
4707 struct create_winstation_request create_winstation_request;
4708 struct open_winstation_request open_winstation_request;
4709 struct close_winstation_request close_winstation_request;
4710 struct get_process_winstation_request get_process_winstation_request;
4711 struct set_process_winstation_request set_process_winstation_request;
4712 struct enum_winstation_request enum_winstation_request;
4713 struct create_desktop_request create_desktop_request;
4714 struct open_desktop_request open_desktop_request;
4715 struct close_desktop_request close_desktop_request;
4716 struct get_thread_desktop_request get_thread_desktop_request;
4717 struct set_thread_desktop_request set_thread_desktop_request;
4718 struct enum_desktop_request enum_desktop_request;
4719 struct set_user_object_info_request set_user_object_info_request;
4720 struct attach_thread_input_request attach_thread_input_request;
4721 struct get_thread_input_request get_thread_input_request;
4722 struct get_last_input_time_request get_last_input_time_request;
4723 struct get_key_state_request get_key_state_request;
4724 struct set_key_state_request set_key_state_request;
4725 struct set_foreground_window_request set_foreground_window_request;
4726 struct set_focus_window_request set_focus_window_request;
4727 struct set_active_window_request set_active_window_request;
4728 struct set_capture_window_request set_capture_window_request;
4729 struct set_caret_window_request set_caret_window_request;
4730 struct set_caret_info_request set_caret_info_request;
4731 struct set_hook_request set_hook_request;
4732 struct remove_hook_request remove_hook_request;
4733 struct start_hook_chain_request start_hook_chain_request;
4734 struct finish_hook_chain_request finish_hook_chain_request;
4735 struct get_hook_info_request get_hook_info_request;
4736 struct create_class_request create_class_request;
4737 struct destroy_class_request destroy_class_request;
4738 struct set_class_info_request set_class_info_request;
4739 struct set_clipboard_info_request set_clipboard_info_request;
4740 struct open_token_request open_token_request;
4741 struct set_global_windows_request set_global_windows_request;
4742 struct adjust_token_privileges_request adjust_token_privileges_request;
4743 struct get_token_privileges_request get_token_privileges_request;
4744 struct check_token_privileges_request check_token_privileges_request;
4745 struct duplicate_token_request duplicate_token_request;
4746 struct access_check_request access_check_request;
4747 struct get_token_user_request get_token_user_request;
4748 struct get_token_groups_request get_token_groups_request;
4749 struct set_security_object_request set_security_object_request;
4750 struct get_security_object_request get_security_object_request;
4751 struct create_mailslot_request create_mailslot_request;
4752 struct set_mailslot_info_request set_mailslot_info_request;
4753 struct create_directory_request create_directory_request;
4754 struct open_directory_request open_directory_request;
4755 struct get_directory_entry_request get_directory_entry_request;
4756 struct create_symlink_request create_symlink_request;
4757 struct open_symlink_request open_symlink_request;
4758 struct query_symlink_request query_symlink_request;
4759 struct get_object_info_request get_object_info_request;
4760 struct get_token_impersonation_level_request get_token_impersonation_level_request;
4761 struct allocate_locally_unique_id_request allocate_locally_unique_id_request;
4762 struct create_device_manager_request create_device_manager_request;
4763 struct create_device_request create_device_request;
4764 struct delete_device_request delete_device_request;
4765 struct get_next_device_request_request get_next_device_request_request;
4766 struct make_process_system_request make_process_system_request;
4767 struct get_token_statistics_request get_token_statistics_request;
4768 struct create_completion_request create_completion_request;
4769 struct open_completion_request open_completion_request;
4770 struct add_completion_request add_completion_request;
4771 struct remove_completion_request remove_completion_request;
4772 struct query_completion_request query_completion_request;
4773 struct set_completion_info_request set_completion_info_request;
4774 struct add_fd_completion_request add_fd_completion_request;
4775 struct get_window_layered_info_request get_window_layered_info_request;
4776 struct set_window_layered_info_request set_window_layered_info_request;
4780 struct request_max_size max_size;
4781 struct reply_header reply_header;
4782 struct new_process_reply new_process_reply;
4783 struct get_new_process_info_reply get_new_process_info_reply;
4784 struct new_thread_reply new_thread_reply;
4785 struct get_startup_info_reply get_startup_info_reply;
4786 struct init_process_done_reply init_process_done_reply;
4787 struct init_thread_reply init_thread_reply;
4788 struct terminate_process_reply terminate_process_reply;
4789 struct terminate_thread_reply terminate_thread_reply;
4790 struct get_process_info_reply get_process_info_reply;
4791 struct set_process_info_reply set_process_info_reply;
4792 struct get_thread_info_reply get_thread_info_reply;
4793 struct set_thread_info_reply set_thread_info_reply;
4794 struct get_dll_info_reply get_dll_info_reply;
4795 struct suspend_thread_reply suspend_thread_reply;
4796 struct resume_thread_reply resume_thread_reply;
4797 struct load_dll_reply load_dll_reply;
4798 struct unload_dll_reply unload_dll_reply;
4799 struct queue_apc_reply queue_apc_reply;
4800 struct get_apc_result_reply get_apc_result_reply;
4801 struct close_handle_reply close_handle_reply;
4802 struct set_handle_info_reply set_handle_info_reply;
4803 struct dup_handle_reply dup_handle_reply;
4804 struct open_process_reply open_process_reply;
4805 struct open_thread_reply open_thread_reply;
4806 struct select_reply select_reply;
4807 struct create_event_reply create_event_reply;
4808 struct event_op_reply event_op_reply;
4809 struct open_event_reply open_event_reply;
4810 struct create_mutex_reply create_mutex_reply;
4811 struct release_mutex_reply release_mutex_reply;
4812 struct open_mutex_reply open_mutex_reply;
4813 struct create_semaphore_reply create_semaphore_reply;
4814 struct release_semaphore_reply release_semaphore_reply;
4815 struct open_semaphore_reply open_semaphore_reply;
4816 struct create_file_reply create_file_reply;
4817 struct open_file_object_reply open_file_object_reply;
4818 struct alloc_file_handle_reply alloc_file_handle_reply;
4819 struct get_handle_fd_reply get_handle_fd_reply;
4820 struct flush_file_reply flush_file_reply;
4821 struct lock_file_reply lock_file_reply;
4822 struct unlock_file_reply unlock_file_reply;
4823 struct create_socket_reply create_socket_reply;
4824 struct accept_socket_reply accept_socket_reply;
4825 struct set_socket_event_reply set_socket_event_reply;
4826 struct get_socket_event_reply get_socket_event_reply;
4827 struct enable_socket_event_reply enable_socket_event_reply;
4828 struct set_socket_deferred_reply set_socket_deferred_reply;
4829 struct alloc_console_reply alloc_console_reply;
4830 struct free_console_reply free_console_reply;
4831 struct get_console_renderer_events_reply get_console_renderer_events_reply;
4832 struct open_console_reply open_console_reply;
4833 struct get_console_wait_event_reply get_console_wait_event_reply;
4834 struct get_console_mode_reply get_console_mode_reply;
4835 struct set_console_mode_reply set_console_mode_reply;
4836 struct set_console_input_info_reply set_console_input_info_reply;
4837 struct get_console_input_info_reply get_console_input_info_reply;
4838 struct append_console_input_history_reply append_console_input_history_reply;
4839 struct get_console_input_history_reply get_console_input_history_reply;
4840 struct create_console_output_reply create_console_output_reply;
4841 struct set_console_output_info_reply set_console_output_info_reply;
4842 struct get_console_output_info_reply get_console_output_info_reply;
4843 struct write_console_input_reply write_console_input_reply;
4844 struct read_console_input_reply read_console_input_reply;
4845 struct write_console_output_reply write_console_output_reply;
4846 struct fill_console_output_reply fill_console_output_reply;
4847 struct read_console_output_reply read_console_output_reply;
4848 struct move_console_output_reply move_console_output_reply;
4849 struct send_console_signal_reply send_console_signal_reply;
4850 struct read_directory_changes_reply read_directory_changes_reply;
4851 struct read_change_reply read_change_reply;
4852 struct create_mapping_reply create_mapping_reply;
4853 struct open_mapping_reply open_mapping_reply;
4854 struct get_mapping_info_reply get_mapping_info_reply;
4855 struct create_snapshot_reply create_snapshot_reply;
4856 struct next_process_reply next_process_reply;
4857 struct next_thread_reply next_thread_reply;
4858 struct next_module_reply next_module_reply;
4859 struct wait_debug_event_reply wait_debug_event_reply;
4860 struct queue_exception_event_reply queue_exception_event_reply;
4861 struct get_exception_status_reply get_exception_status_reply;
4862 struct output_debug_string_reply output_debug_string_reply;
4863 struct continue_debug_event_reply continue_debug_event_reply;
4864 struct debug_process_reply debug_process_reply;
4865 struct debug_break_reply debug_break_reply;
4866 struct set_debugger_kill_on_exit_reply set_debugger_kill_on_exit_reply;
4867 struct read_process_memory_reply read_process_memory_reply;
4868 struct write_process_memory_reply write_process_memory_reply;
4869 struct create_key_reply create_key_reply;
4870 struct open_key_reply open_key_reply;
4871 struct delete_key_reply delete_key_reply;
4872 struct flush_key_reply flush_key_reply;
4873 struct enum_key_reply enum_key_reply;
4874 struct set_key_value_reply set_key_value_reply;
4875 struct get_key_value_reply get_key_value_reply;
4876 struct enum_key_value_reply enum_key_value_reply;
4877 struct delete_key_value_reply delete_key_value_reply;
4878 struct load_registry_reply load_registry_reply;
4879 struct unload_registry_reply unload_registry_reply;
4880 struct save_registry_reply save_registry_reply;
4881 struct set_registry_notification_reply set_registry_notification_reply;
4882 struct create_timer_reply create_timer_reply;
4883 struct open_timer_reply open_timer_reply;
4884 struct set_timer_reply set_timer_reply;
4885 struct cancel_timer_reply cancel_timer_reply;
4886 struct get_timer_info_reply get_timer_info_reply;
4887 struct get_thread_context_reply get_thread_context_reply;
4888 struct set_thread_context_reply set_thread_context_reply;
4889 struct get_selector_entry_reply get_selector_entry_reply;
4890 struct add_atom_reply add_atom_reply;
4891 struct delete_atom_reply delete_atom_reply;
4892 struct find_atom_reply find_atom_reply;
4893 struct get_atom_information_reply get_atom_information_reply;
4894 struct set_atom_information_reply set_atom_information_reply;
4895 struct empty_atom_table_reply empty_atom_table_reply;
4896 struct init_atom_table_reply init_atom_table_reply;
4897 struct get_msg_queue_reply get_msg_queue_reply;
4898 struct set_queue_fd_reply set_queue_fd_reply;
4899 struct set_queue_mask_reply set_queue_mask_reply;
4900 struct get_queue_status_reply get_queue_status_reply;
4901 struct get_process_idle_event_reply get_process_idle_event_reply;
4902 struct send_message_reply send_message_reply;
4903 struct post_quit_message_reply post_quit_message_reply;
4904 struct send_hardware_message_reply send_hardware_message_reply;
4905 struct get_message_reply get_message_reply;
4906 struct reply_message_reply reply_message_reply;
4907 struct accept_hardware_message_reply accept_hardware_message_reply;
4908 struct get_message_reply_reply get_message_reply_reply;
4909 struct set_win_timer_reply set_win_timer_reply;
4910 struct kill_win_timer_reply kill_win_timer_reply;
4911 struct is_window_hung_reply is_window_hung_reply;
4912 struct get_serial_info_reply get_serial_info_reply;
4913 struct set_serial_info_reply set_serial_info_reply;
4914 struct register_async_reply register_async_reply;
4915 struct cancel_async_reply cancel_async_reply;
4916 struct ioctl_reply ioctl_reply;
4917 struct get_ioctl_result_reply get_ioctl_result_reply;
4918 struct create_named_pipe_reply create_named_pipe_reply;
4919 struct get_named_pipe_info_reply get_named_pipe_info_reply;
4920 struct create_window_reply create_window_reply;
4921 struct destroy_window_reply destroy_window_reply;
4922 struct get_desktop_window_reply get_desktop_window_reply;
4923 struct set_window_owner_reply set_window_owner_reply;
4924 struct get_window_info_reply get_window_info_reply;
4925 struct set_window_info_reply set_window_info_reply;
4926 struct set_parent_reply set_parent_reply;
4927 struct get_window_parents_reply get_window_parents_reply;
4928 struct get_window_children_reply get_window_children_reply;
4929 struct get_window_children_from_point_reply get_window_children_from_point_reply;
4930 struct get_window_tree_reply get_window_tree_reply;
4931 struct set_window_pos_reply set_window_pos_reply;
4932 struct get_window_rectangles_reply get_window_rectangles_reply;
4933 struct get_window_text_reply get_window_text_reply;
4934 struct set_window_text_reply set_window_text_reply;
4935 struct get_windows_offset_reply get_windows_offset_reply;
4936 struct get_visible_region_reply get_visible_region_reply;
4937 struct get_window_region_reply get_window_region_reply;
4938 struct set_window_region_reply set_window_region_reply;
4939 struct get_update_region_reply get_update_region_reply;
4940 struct update_window_zorder_reply update_window_zorder_reply;
4941 struct redraw_window_reply redraw_window_reply;
4942 struct set_window_property_reply set_window_property_reply;
4943 struct remove_window_property_reply remove_window_property_reply;
4944 struct get_window_property_reply get_window_property_reply;
4945 struct get_window_properties_reply get_window_properties_reply;
4946 struct create_winstation_reply create_winstation_reply;
4947 struct open_winstation_reply open_winstation_reply;
4948 struct close_winstation_reply close_winstation_reply;
4949 struct get_process_winstation_reply get_process_winstation_reply;
4950 struct set_process_winstation_reply set_process_winstation_reply;
4951 struct enum_winstation_reply enum_winstation_reply;
4952 struct create_desktop_reply create_desktop_reply;
4953 struct open_desktop_reply open_desktop_reply;
4954 struct close_desktop_reply close_desktop_reply;
4955 struct get_thread_desktop_reply get_thread_desktop_reply;
4956 struct set_thread_desktop_reply set_thread_desktop_reply;
4957 struct enum_desktop_reply enum_desktop_reply;
4958 struct set_user_object_info_reply set_user_object_info_reply;
4959 struct attach_thread_input_reply attach_thread_input_reply;
4960 struct get_thread_input_reply get_thread_input_reply;
4961 struct get_last_input_time_reply get_last_input_time_reply;
4962 struct get_key_state_reply get_key_state_reply;
4963 struct set_key_state_reply set_key_state_reply;
4964 struct set_foreground_window_reply set_foreground_window_reply;
4965 struct set_focus_window_reply set_focus_window_reply;
4966 struct set_active_window_reply set_active_window_reply;
4967 struct set_capture_window_reply set_capture_window_reply;
4968 struct set_caret_window_reply set_caret_window_reply;
4969 struct set_caret_info_reply set_caret_info_reply;
4970 struct set_hook_reply set_hook_reply;
4971 struct remove_hook_reply remove_hook_reply;
4972 struct start_hook_chain_reply start_hook_chain_reply;
4973 struct finish_hook_chain_reply finish_hook_chain_reply;
4974 struct get_hook_info_reply get_hook_info_reply;
4975 struct create_class_reply create_class_reply;
4976 struct destroy_class_reply destroy_class_reply;
4977 struct set_class_info_reply set_class_info_reply;
4978 struct set_clipboard_info_reply set_clipboard_info_reply;
4979 struct open_token_reply open_token_reply;
4980 struct set_global_windows_reply set_global_windows_reply;
4981 struct adjust_token_privileges_reply adjust_token_privileges_reply;
4982 struct get_token_privileges_reply get_token_privileges_reply;
4983 struct check_token_privileges_reply check_token_privileges_reply;
4984 struct duplicate_token_reply duplicate_token_reply;
4985 struct access_check_reply access_check_reply;
4986 struct get_token_user_reply get_token_user_reply;
4987 struct get_token_groups_reply get_token_groups_reply;
4988 struct set_security_object_reply set_security_object_reply;
4989 struct get_security_object_reply get_security_object_reply;
4990 struct create_mailslot_reply create_mailslot_reply;
4991 struct set_mailslot_info_reply set_mailslot_info_reply;
4992 struct create_directory_reply create_directory_reply;
4993 struct open_directory_reply open_directory_reply;
4994 struct get_directory_entry_reply get_directory_entry_reply;
4995 struct create_symlink_reply create_symlink_reply;
4996 struct open_symlink_reply open_symlink_reply;
4997 struct query_symlink_reply query_symlink_reply;
4998 struct get_object_info_reply get_object_info_reply;
4999 struct get_token_impersonation_level_reply get_token_impersonation_level_reply;
5000 struct allocate_locally_unique_id_reply allocate_locally_unique_id_reply;
5001 struct create_device_manager_reply create_device_manager_reply;
5002 struct create_device_reply create_device_reply;
5003 struct delete_device_reply delete_device_reply;
5004 struct get_next_device_request_reply get_next_device_request_reply;
5005 struct make_process_system_reply make_process_system_reply;
5006 struct get_token_statistics_reply get_token_statistics_reply;
5007 struct create_completion_reply create_completion_reply;
5008 struct open_completion_reply open_completion_reply;
5009 struct add_completion_reply add_completion_reply;
5010 struct remove_completion_reply remove_completion_reply;
5011 struct query_completion_reply query_completion_reply;
5012 struct set_completion_info_reply set_completion_info_reply;
5013 struct add_fd_completion_reply add_fd_completion_reply;
5014 struct get_window_layered_info_reply get_window_layered_info_reply;
5015 struct set_window_layered_info_reply set_window_layered_info_reply;
5018 #define SERVER_PROTOCOL_VERSION 342
5020 #endif /* __WINE_WINE_SERVER_PROTOCOL_H */