1 /* File generated automatically by tools/make_requests; DO NOT EDIT!! */
3 #ifndef __WINE_SERVER_REQUEST_H
4 #define __WINE_SERVER_REQUEST_H
13 REQ_TERMINATE_PROCESS
,
36 REQ_RELEASE_SEMAPHORE
,
57 REQ_WRITE_CONSOLE_INPUT
,
58 REQ_READ_CONSOLE_INPUT
,
59 REQ_CREATE_CHANGE_NOTIFICATION
,
69 #ifdef WANT_REQUEST_HANDLERS
71 DECL_HANDLER(new_process
);
72 DECL_HANDLER(new_thread
);
73 DECL_HANDLER(set_debug
);
74 DECL_HANDLER(init_process
);
75 DECL_HANDLER(init_thread
);
76 DECL_HANDLER(terminate_process
);
77 DECL_HANDLER(terminate_thread
);
78 DECL_HANDLER(get_process_info
);
79 DECL_HANDLER(set_process_info
);
80 DECL_HANDLER(get_thread_info
);
81 DECL_HANDLER(set_thread_info
);
82 DECL_HANDLER(suspend_thread
);
83 DECL_HANDLER(resume_thread
);
84 DECL_HANDLER(debugger
);
85 DECL_HANDLER(queue_apc
);
86 DECL_HANDLER(close_handle
);
87 DECL_HANDLER(get_handle_info
);
88 DECL_HANDLER(set_handle_info
);
89 DECL_HANDLER(dup_handle
);
90 DECL_HANDLER(open_process
);
92 DECL_HANDLER(create_event
);
93 DECL_HANDLER(event_op
);
94 DECL_HANDLER(open_event
);
95 DECL_HANDLER(create_mutex
);
96 DECL_HANDLER(release_mutex
);
97 DECL_HANDLER(open_mutex
);
98 DECL_HANDLER(create_semaphore
);
99 DECL_HANDLER(release_semaphore
);
100 DECL_HANDLER(open_semaphore
);
101 DECL_HANDLER(create_file
);
102 DECL_HANDLER(get_read_fd
);
103 DECL_HANDLER(get_write_fd
);
104 DECL_HANDLER(set_file_pointer
);
105 DECL_HANDLER(truncate_file
);
106 DECL_HANDLER(set_file_time
);
107 DECL_HANDLER(flush_file
);
108 DECL_HANDLER(get_file_info
);
109 DECL_HANDLER(lock_file
);
110 DECL_HANDLER(unlock_file
);
111 DECL_HANDLER(create_pipe
);
112 DECL_HANDLER(alloc_console
);
113 DECL_HANDLER(free_console
);
114 DECL_HANDLER(open_console
);
115 DECL_HANDLER(set_console_fd
);
116 DECL_HANDLER(get_console_mode
);
117 DECL_HANDLER(set_console_mode
);
118 DECL_HANDLER(set_console_info
);
119 DECL_HANDLER(get_console_info
);
120 DECL_HANDLER(write_console_input
);
121 DECL_HANDLER(read_console_input
);
122 DECL_HANDLER(create_change_notification
);
123 DECL_HANDLER(create_mapping
);
124 DECL_HANDLER(open_mapping
);
125 DECL_HANDLER(get_mapping_info
);
126 DECL_HANDLER(create_device
);
127 DECL_HANDLER(create_snapshot
);
128 DECL_HANDLER(next_process
);
130 static const struct handler
{
132 unsigned int min_size
;
133 } req_handlers
[REQ_NB_REQUESTS
] = {
134 { (void(*)())req_new_process
, sizeof(struct new_process_request
) },
135 { (void(*)())req_new_thread
, sizeof(struct new_thread_request
) },
136 { (void(*)())req_set_debug
, sizeof(struct set_debug_request
) },
137 { (void(*)())req_init_process
, sizeof(struct init_process_request
) },
138 { (void(*)())req_init_thread
, sizeof(struct init_thread_request
) },
139 { (void(*)())req_terminate_process
, sizeof(struct terminate_process_request
) },
140 { (void(*)())req_terminate_thread
, sizeof(struct terminate_thread_request
) },
141 { (void(*)())req_get_process_info
, sizeof(struct get_process_info_request
) },
142 { (void(*)())req_set_process_info
, sizeof(struct set_process_info_request
) },
143 { (void(*)())req_get_thread_info
, sizeof(struct get_thread_info_request
) },
144 { (void(*)())req_set_thread_info
, sizeof(struct set_thread_info_request
) },
145 { (void(*)())req_suspend_thread
, sizeof(struct suspend_thread_request
) },
146 { (void(*)())req_resume_thread
, sizeof(struct resume_thread_request
) },
147 { (void(*)())req_debugger
, sizeof(struct debugger_request
) },
148 { (void(*)())req_queue_apc
, sizeof(struct queue_apc_request
) },
149 { (void(*)())req_close_handle
, sizeof(struct close_handle_request
) },
150 { (void(*)())req_get_handle_info
, sizeof(struct get_handle_info_request
) },
151 { (void(*)())req_set_handle_info
, sizeof(struct set_handle_info_request
) },
152 { (void(*)())req_dup_handle
, sizeof(struct dup_handle_request
) },
153 { (void(*)())req_open_process
, sizeof(struct open_process_request
) },
154 { (void(*)())req_select
, sizeof(struct select_request
) },
155 { (void(*)())req_create_event
, sizeof(struct create_event_request
) },
156 { (void(*)())req_event_op
, sizeof(struct event_op_request
) },
157 { (void(*)())req_open_event
, sizeof(struct open_event_request
) },
158 { (void(*)())req_create_mutex
, sizeof(struct create_mutex_request
) },
159 { (void(*)())req_release_mutex
, sizeof(struct release_mutex_request
) },
160 { (void(*)())req_open_mutex
, sizeof(struct open_mutex_request
) },
161 { (void(*)())req_create_semaphore
, sizeof(struct create_semaphore_request
) },
162 { (void(*)())req_release_semaphore
, sizeof(struct release_semaphore_request
) },
163 { (void(*)())req_open_semaphore
, sizeof(struct open_semaphore_request
) },
164 { (void(*)())req_create_file
, sizeof(struct create_file_request
) },
165 { (void(*)())req_get_read_fd
, sizeof(struct get_read_fd_request
) },
166 { (void(*)())req_get_write_fd
, sizeof(struct get_write_fd_request
) },
167 { (void(*)())req_set_file_pointer
, sizeof(struct set_file_pointer_request
) },
168 { (void(*)())req_truncate_file
, sizeof(struct truncate_file_request
) },
169 { (void(*)())req_set_file_time
, sizeof(struct set_file_time_request
) },
170 { (void(*)())req_flush_file
, sizeof(struct flush_file_request
) },
171 { (void(*)())req_get_file_info
, sizeof(struct get_file_info_request
) },
172 { (void(*)())req_lock_file
, sizeof(struct lock_file_request
) },
173 { (void(*)())req_unlock_file
, sizeof(struct unlock_file_request
) },
174 { (void(*)())req_create_pipe
, sizeof(struct create_pipe_request
) },
175 { (void(*)())req_alloc_console
, sizeof(struct alloc_console_request
) },
176 { (void(*)())req_free_console
, sizeof(struct free_console_request
) },
177 { (void(*)())req_open_console
, sizeof(struct open_console_request
) },
178 { (void(*)())req_set_console_fd
, sizeof(struct set_console_fd_request
) },
179 { (void(*)())req_get_console_mode
, sizeof(struct get_console_mode_request
) },
180 { (void(*)())req_set_console_mode
, sizeof(struct set_console_mode_request
) },
181 { (void(*)())req_set_console_info
, sizeof(struct set_console_info_request
) },
182 { (void(*)())req_get_console_info
, sizeof(struct get_console_info_request
) },
183 { (void(*)())req_write_console_input
, sizeof(struct write_console_input_request
) },
184 { (void(*)())req_read_console_input
, sizeof(struct read_console_input_request
) },
185 { (void(*)())req_create_change_notification
, sizeof(struct create_change_notification_request
) },
186 { (void(*)())req_create_mapping
, sizeof(struct create_mapping_request
) },
187 { (void(*)())req_open_mapping
, sizeof(struct open_mapping_request
) },
188 { (void(*)())req_get_mapping_info
, sizeof(struct get_mapping_info_request
) },
189 { (void(*)())req_create_device
, sizeof(struct create_device_request
) },
190 { (void(*)())req_create_snapshot
, sizeof(struct create_snapshot_request
) },
191 { (void(*)())req_next_process
, sizeof(struct next_process_request
) },
193 #endif /* WANT_REQUEST_HANDLERS */
195 #endif /* __WINE_SERVER_REQUEST_H */