msxml3: Return E_INVALIDARG when value is NULL.
[wine] / server / request.h
1 /*
2  * Wine server requests
3  *
4  * Copyright (C) 1999 Alexandre Julliard
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  */
20
21 #ifndef __WINE_SERVER_REQUEST_H
22 #define __WINE_SERVER_REQUEST_H
23
24 #include <assert.h>
25
26 #include "thread.h"
27 #include "wine/server_protocol.h"
28
29 /* max request length */
30 #define MAX_REQUEST_LENGTH  8192
31
32 /* request handler definition */
33 #define DECL_HANDLER(name) \
34     void req_##name( const struct name##_request *req, struct name##_reply *reply )
35
36 /* request functions */
37
38 #ifdef __GNUC__
39 extern void fatal_protocol_error( struct thread *thread,
40                                   const char *err, ... ) __attribute__((format (printf,2,3)));
41 extern void fatal_protocol_perror( struct thread *thread,
42                                    const char *err, ... ) __attribute__((format (printf,2,3)));
43 extern void fatal_error( const char *err, ... )  __attribute__((noreturn,format(printf,1,2)));
44 extern void fatal_perror( const char *err, ... )  __attribute__((noreturn,format(printf,1,2)));
45 #else
46 extern void fatal_protocol_error( struct thread *thread, const char *err, ... );
47 extern void fatal_protocol_perror( struct thread *thread, const char *err, ... );
48 extern void fatal_error( const char *err, ... );
49 extern void fatal_perror( const char *err, ... );
50 #endif
51
52 extern const char *get_config_dir(void);
53 extern void *set_reply_data_size( data_size_t size );
54 extern int receive_fd( struct process *process );
55 extern int send_client_fd( struct process *process, int fd, obj_handle_t handle );
56 extern void read_request( struct thread *thread );
57 extern void write_reply( struct thread *thread );
58 extern unsigned int get_tick_count(void);
59 extern void open_master_socket(void);
60 extern void close_master_socket( timeout_t timeout );
61 extern void shutdown_master_socket(void);
62 extern int wait_for_lock(void);
63 extern int kill_lock_owner( int sig );
64
65 extern void trace_request(void);
66 extern void trace_reply( enum request req, const union generic_reply *reply );
67
68 /* get the request vararg data */
69 static inline const void *get_req_data(void)
70 {
71     return current->req_data;
72 }
73
74 /* get the request vararg size */
75 static inline data_size_t get_req_data_size(void)
76 {
77     return current->req.request_header.request_size;
78 }
79
80 /* get the request vararg as unicode string */
81 static inline void get_req_unicode_str( struct unicode_str *str )
82 {
83     str->str = get_req_data();
84     str->len = (get_req_data_size() / sizeof(WCHAR)) * sizeof(WCHAR);
85 }
86
87 /* get the reply maximum vararg size */
88 static inline data_size_t get_reply_max_size(void)
89 {
90     return current->req.request_header.reply_size;
91 }
92
93 /* allocate and fill the reply data */
94 static inline void *set_reply_data( const void *data, data_size_t size )
95 {
96     void *ret = set_reply_data_size( size );
97     if (ret) memcpy( ret, data, size );
98     return ret;
99 }
100
101 /* set the reply data pointer directly (will be freed by request code) */
102 static inline void set_reply_data_ptr( void *data, data_size_t size )
103 {
104     assert( size <= get_reply_max_size() );
105     current->reply_size = size;
106     current->reply_data = data;
107 }
108
109
110 /* Everything below this line is generated automatically by tools/make_requests */
111 /* ### make_requests begin ### */
112
113 DECL_HANDLER(new_process);
114 DECL_HANDLER(get_new_process_info);
115 DECL_HANDLER(new_thread);
116 DECL_HANDLER(get_startup_info);
117 DECL_HANDLER(init_process_done);
118 DECL_HANDLER(init_thread);
119 DECL_HANDLER(terminate_process);
120 DECL_HANDLER(terminate_thread);
121 DECL_HANDLER(get_process_info);
122 DECL_HANDLER(set_process_info);
123 DECL_HANDLER(get_thread_info);
124 DECL_HANDLER(set_thread_info);
125 DECL_HANDLER(get_dll_info);
126 DECL_HANDLER(suspend_thread);
127 DECL_HANDLER(resume_thread);
128 DECL_HANDLER(load_dll);
129 DECL_HANDLER(unload_dll);
130 DECL_HANDLER(queue_apc);
131 DECL_HANDLER(get_apc_result);
132 DECL_HANDLER(close_handle);
133 DECL_HANDLER(set_handle_info);
134 DECL_HANDLER(dup_handle);
135 DECL_HANDLER(open_process);
136 DECL_HANDLER(open_thread);
137 DECL_HANDLER(select);
138 DECL_HANDLER(create_event);
139 DECL_HANDLER(event_op);
140 DECL_HANDLER(open_event);
141 DECL_HANDLER(create_mutex);
142 DECL_HANDLER(release_mutex);
143 DECL_HANDLER(open_mutex);
144 DECL_HANDLER(create_semaphore);
145 DECL_HANDLER(release_semaphore);
146 DECL_HANDLER(open_semaphore);
147 DECL_HANDLER(create_file);
148 DECL_HANDLER(open_file_object);
149 DECL_HANDLER(alloc_file_handle);
150 DECL_HANDLER(get_handle_fd);
151 DECL_HANDLER(flush_file);
152 DECL_HANDLER(lock_file);
153 DECL_HANDLER(unlock_file);
154 DECL_HANDLER(create_socket);
155 DECL_HANDLER(accept_socket);
156 DECL_HANDLER(set_socket_event);
157 DECL_HANDLER(get_socket_event);
158 DECL_HANDLER(enable_socket_event);
159 DECL_HANDLER(set_socket_deferred);
160 DECL_HANDLER(alloc_console);
161 DECL_HANDLER(free_console);
162 DECL_HANDLER(get_console_renderer_events);
163 DECL_HANDLER(open_console);
164 DECL_HANDLER(get_console_wait_event);
165 DECL_HANDLER(get_console_mode);
166 DECL_HANDLER(set_console_mode);
167 DECL_HANDLER(set_console_input_info);
168 DECL_HANDLER(get_console_input_info);
169 DECL_HANDLER(append_console_input_history);
170 DECL_HANDLER(get_console_input_history);
171 DECL_HANDLER(create_console_output);
172 DECL_HANDLER(set_console_output_info);
173 DECL_HANDLER(get_console_output_info);
174 DECL_HANDLER(write_console_input);
175 DECL_HANDLER(read_console_input);
176 DECL_HANDLER(write_console_output);
177 DECL_HANDLER(fill_console_output);
178 DECL_HANDLER(read_console_output);
179 DECL_HANDLER(move_console_output);
180 DECL_HANDLER(send_console_signal);
181 DECL_HANDLER(read_directory_changes);
182 DECL_HANDLER(read_change);
183 DECL_HANDLER(create_mapping);
184 DECL_HANDLER(open_mapping);
185 DECL_HANDLER(get_mapping_info);
186 DECL_HANDLER(create_snapshot);
187 DECL_HANDLER(next_process);
188 DECL_HANDLER(next_thread);
189 DECL_HANDLER(next_module);
190 DECL_HANDLER(wait_debug_event);
191 DECL_HANDLER(queue_exception_event);
192 DECL_HANDLER(get_exception_status);
193 DECL_HANDLER(output_debug_string);
194 DECL_HANDLER(continue_debug_event);
195 DECL_HANDLER(debug_process);
196 DECL_HANDLER(debug_break);
197 DECL_HANDLER(set_debugger_kill_on_exit);
198 DECL_HANDLER(read_process_memory);
199 DECL_HANDLER(write_process_memory);
200 DECL_HANDLER(create_key);
201 DECL_HANDLER(open_key);
202 DECL_HANDLER(delete_key);
203 DECL_HANDLER(flush_key);
204 DECL_HANDLER(enum_key);
205 DECL_HANDLER(set_key_value);
206 DECL_HANDLER(get_key_value);
207 DECL_HANDLER(enum_key_value);
208 DECL_HANDLER(delete_key_value);
209 DECL_HANDLER(load_registry);
210 DECL_HANDLER(unload_registry);
211 DECL_HANDLER(save_registry);
212 DECL_HANDLER(set_registry_notification);
213 DECL_HANDLER(create_timer);
214 DECL_HANDLER(open_timer);
215 DECL_HANDLER(set_timer);
216 DECL_HANDLER(cancel_timer);
217 DECL_HANDLER(get_timer_info);
218 DECL_HANDLER(get_thread_context);
219 DECL_HANDLER(set_thread_context);
220 DECL_HANDLER(get_selector_entry);
221 DECL_HANDLER(add_atom);
222 DECL_HANDLER(delete_atom);
223 DECL_HANDLER(find_atom);
224 DECL_HANDLER(get_atom_information);
225 DECL_HANDLER(set_atom_information);
226 DECL_HANDLER(empty_atom_table);
227 DECL_HANDLER(init_atom_table);
228 DECL_HANDLER(get_msg_queue);
229 DECL_HANDLER(set_queue_fd);
230 DECL_HANDLER(set_queue_mask);
231 DECL_HANDLER(get_queue_status);
232 DECL_HANDLER(get_process_idle_event);
233 DECL_HANDLER(send_message);
234 DECL_HANDLER(post_quit_message);
235 DECL_HANDLER(send_hardware_message);
236 DECL_HANDLER(get_message);
237 DECL_HANDLER(reply_message);
238 DECL_HANDLER(accept_hardware_message);
239 DECL_HANDLER(get_message_reply);
240 DECL_HANDLER(set_win_timer);
241 DECL_HANDLER(kill_win_timer);
242 DECL_HANDLER(is_window_hung);
243 DECL_HANDLER(get_serial_info);
244 DECL_HANDLER(set_serial_info);
245 DECL_HANDLER(register_async);
246 DECL_HANDLER(cancel_async);
247 DECL_HANDLER(ioctl);
248 DECL_HANDLER(get_ioctl_result);
249 DECL_HANDLER(create_named_pipe);
250 DECL_HANDLER(get_named_pipe_info);
251 DECL_HANDLER(create_window);
252 DECL_HANDLER(destroy_window);
253 DECL_HANDLER(get_desktop_window);
254 DECL_HANDLER(set_window_owner);
255 DECL_HANDLER(get_window_info);
256 DECL_HANDLER(set_window_info);
257 DECL_HANDLER(set_parent);
258 DECL_HANDLER(get_window_parents);
259 DECL_HANDLER(get_window_children);
260 DECL_HANDLER(get_window_children_from_point);
261 DECL_HANDLER(get_window_tree);
262 DECL_HANDLER(set_window_pos);
263 DECL_HANDLER(get_window_rectangles);
264 DECL_HANDLER(get_window_text);
265 DECL_HANDLER(set_window_text);
266 DECL_HANDLER(get_windows_offset);
267 DECL_HANDLER(get_visible_region);
268 DECL_HANDLER(get_window_region);
269 DECL_HANDLER(set_window_region);
270 DECL_HANDLER(get_update_region);
271 DECL_HANDLER(update_window_zorder);
272 DECL_HANDLER(redraw_window);
273 DECL_HANDLER(set_window_property);
274 DECL_HANDLER(remove_window_property);
275 DECL_HANDLER(get_window_property);
276 DECL_HANDLER(get_window_properties);
277 DECL_HANDLER(create_winstation);
278 DECL_HANDLER(open_winstation);
279 DECL_HANDLER(close_winstation);
280 DECL_HANDLER(get_process_winstation);
281 DECL_HANDLER(set_process_winstation);
282 DECL_HANDLER(enum_winstation);
283 DECL_HANDLER(create_desktop);
284 DECL_HANDLER(open_desktop);
285 DECL_HANDLER(close_desktop);
286 DECL_HANDLER(get_thread_desktop);
287 DECL_HANDLER(set_thread_desktop);
288 DECL_HANDLER(enum_desktop);
289 DECL_HANDLER(set_user_object_info);
290 DECL_HANDLER(attach_thread_input);
291 DECL_HANDLER(get_thread_input);
292 DECL_HANDLER(get_last_input_time);
293 DECL_HANDLER(get_key_state);
294 DECL_HANDLER(set_key_state);
295 DECL_HANDLER(set_foreground_window);
296 DECL_HANDLER(set_focus_window);
297 DECL_HANDLER(set_active_window);
298 DECL_HANDLER(set_capture_window);
299 DECL_HANDLER(set_caret_window);
300 DECL_HANDLER(set_caret_info);
301 DECL_HANDLER(set_hook);
302 DECL_HANDLER(remove_hook);
303 DECL_HANDLER(start_hook_chain);
304 DECL_HANDLER(finish_hook_chain);
305 DECL_HANDLER(get_hook_info);
306 DECL_HANDLER(create_class);
307 DECL_HANDLER(destroy_class);
308 DECL_HANDLER(set_class_info);
309 DECL_HANDLER(set_clipboard_info);
310 DECL_HANDLER(open_token);
311 DECL_HANDLER(set_global_windows);
312 DECL_HANDLER(adjust_token_privileges);
313 DECL_HANDLER(get_token_privileges);
314 DECL_HANDLER(check_token_privileges);
315 DECL_HANDLER(duplicate_token);
316 DECL_HANDLER(access_check);
317 DECL_HANDLER(get_token_user);
318 DECL_HANDLER(get_token_groups);
319 DECL_HANDLER(set_security_object);
320 DECL_HANDLER(get_security_object);
321 DECL_HANDLER(create_mailslot);
322 DECL_HANDLER(set_mailslot_info);
323 DECL_HANDLER(create_directory);
324 DECL_HANDLER(open_directory);
325 DECL_HANDLER(get_directory_entry);
326 DECL_HANDLER(create_symlink);
327 DECL_HANDLER(open_symlink);
328 DECL_HANDLER(query_symlink);
329 DECL_HANDLER(get_object_info);
330 DECL_HANDLER(get_token_impersonation_level);
331 DECL_HANDLER(allocate_locally_unique_id);
332 DECL_HANDLER(create_device_manager);
333 DECL_HANDLER(create_device);
334 DECL_HANDLER(delete_device);
335 DECL_HANDLER(get_next_device_request);
336 DECL_HANDLER(make_process_system);
337 DECL_HANDLER(get_token_statistics);
338 DECL_HANDLER(create_completion);
339 DECL_HANDLER(open_completion);
340 DECL_HANDLER(add_completion);
341 DECL_HANDLER(remove_completion);
342 DECL_HANDLER(query_completion);
343 DECL_HANDLER(set_completion_info);
344 DECL_HANDLER(add_fd_completion);
345
346 #ifdef WANT_REQUEST_HANDLERS
347
348 typedef void (*req_handler)( const void *req, void *reply );
349 static const req_handler req_handlers[REQ_NB_REQUESTS] =
350 {
351     (req_handler)req_new_process,
352     (req_handler)req_get_new_process_info,
353     (req_handler)req_new_thread,
354     (req_handler)req_get_startup_info,
355     (req_handler)req_init_process_done,
356     (req_handler)req_init_thread,
357     (req_handler)req_terminate_process,
358     (req_handler)req_terminate_thread,
359     (req_handler)req_get_process_info,
360     (req_handler)req_set_process_info,
361     (req_handler)req_get_thread_info,
362     (req_handler)req_set_thread_info,
363     (req_handler)req_get_dll_info,
364     (req_handler)req_suspend_thread,
365     (req_handler)req_resume_thread,
366     (req_handler)req_load_dll,
367     (req_handler)req_unload_dll,
368     (req_handler)req_queue_apc,
369     (req_handler)req_get_apc_result,
370     (req_handler)req_close_handle,
371     (req_handler)req_set_handle_info,
372     (req_handler)req_dup_handle,
373     (req_handler)req_open_process,
374     (req_handler)req_open_thread,
375     (req_handler)req_select,
376     (req_handler)req_create_event,
377     (req_handler)req_event_op,
378     (req_handler)req_open_event,
379     (req_handler)req_create_mutex,
380     (req_handler)req_release_mutex,
381     (req_handler)req_open_mutex,
382     (req_handler)req_create_semaphore,
383     (req_handler)req_release_semaphore,
384     (req_handler)req_open_semaphore,
385     (req_handler)req_create_file,
386     (req_handler)req_open_file_object,
387     (req_handler)req_alloc_file_handle,
388     (req_handler)req_get_handle_fd,
389     (req_handler)req_flush_file,
390     (req_handler)req_lock_file,
391     (req_handler)req_unlock_file,
392     (req_handler)req_create_socket,
393     (req_handler)req_accept_socket,
394     (req_handler)req_set_socket_event,
395     (req_handler)req_get_socket_event,
396     (req_handler)req_enable_socket_event,
397     (req_handler)req_set_socket_deferred,
398     (req_handler)req_alloc_console,
399     (req_handler)req_free_console,
400     (req_handler)req_get_console_renderer_events,
401     (req_handler)req_open_console,
402     (req_handler)req_get_console_wait_event,
403     (req_handler)req_get_console_mode,
404     (req_handler)req_set_console_mode,
405     (req_handler)req_set_console_input_info,
406     (req_handler)req_get_console_input_info,
407     (req_handler)req_append_console_input_history,
408     (req_handler)req_get_console_input_history,
409     (req_handler)req_create_console_output,
410     (req_handler)req_set_console_output_info,
411     (req_handler)req_get_console_output_info,
412     (req_handler)req_write_console_input,
413     (req_handler)req_read_console_input,
414     (req_handler)req_write_console_output,
415     (req_handler)req_fill_console_output,
416     (req_handler)req_read_console_output,
417     (req_handler)req_move_console_output,
418     (req_handler)req_send_console_signal,
419     (req_handler)req_read_directory_changes,
420     (req_handler)req_read_change,
421     (req_handler)req_create_mapping,
422     (req_handler)req_open_mapping,
423     (req_handler)req_get_mapping_info,
424     (req_handler)req_create_snapshot,
425     (req_handler)req_next_process,
426     (req_handler)req_next_thread,
427     (req_handler)req_next_module,
428     (req_handler)req_wait_debug_event,
429     (req_handler)req_queue_exception_event,
430     (req_handler)req_get_exception_status,
431     (req_handler)req_output_debug_string,
432     (req_handler)req_continue_debug_event,
433     (req_handler)req_debug_process,
434     (req_handler)req_debug_break,
435     (req_handler)req_set_debugger_kill_on_exit,
436     (req_handler)req_read_process_memory,
437     (req_handler)req_write_process_memory,
438     (req_handler)req_create_key,
439     (req_handler)req_open_key,
440     (req_handler)req_delete_key,
441     (req_handler)req_flush_key,
442     (req_handler)req_enum_key,
443     (req_handler)req_set_key_value,
444     (req_handler)req_get_key_value,
445     (req_handler)req_enum_key_value,
446     (req_handler)req_delete_key_value,
447     (req_handler)req_load_registry,
448     (req_handler)req_unload_registry,
449     (req_handler)req_save_registry,
450     (req_handler)req_set_registry_notification,
451     (req_handler)req_create_timer,
452     (req_handler)req_open_timer,
453     (req_handler)req_set_timer,
454     (req_handler)req_cancel_timer,
455     (req_handler)req_get_timer_info,
456     (req_handler)req_get_thread_context,
457     (req_handler)req_set_thread_context,
458     (req_handler)req_get_selector_entry,
459     (req_handler)req_add_atom,
460     (req_handler)req_delete_atom,
461     (req_handler)req_find_atom,
462     (req_handler)req_get_atom_information,
463     (req_handler)req_set_atom_information,
464     (req_handler)req_empty_atom_table,
465     (req_handler)req_init_atom_table,
466     (req_handler)req_get_msg_queue,
467     (req_handler)req_set_queue_fd,
468     (req_handler)req_set_queue_mask,
469     (req_handler)req_get_queue_status,
470     (req_handler)req_get_process_idle_event,
471     (req_handler)req_send_message,
472     (req_handler)req_post_quit_message,
473     (req_handler)req_send_hardware_message,
474     (req_handler)req_get_message,
475     (req_handler)req_reply_message,
476     (req_handler)req_accept_hardware_message,
477     (req_handler)req_get_message_reply,
478     (req_handler)req_set_win_timer,
479     (req_handler)req_kill_win_timer,
480     (req_handler)req_is_window_hung,
481     (req_handler)req_get_serial_info,
482     (req_handler)req_set_serial_info,
483     (req_handler)req_register_async,
484     (req_handler)req_cancel_async,
485     (req_handler)req_ioctl,
486     (req_handler)req_get_ioctl_result,
487     (req_handler)req_create_named_pipe,
488     (req_handler)req_get_named_pipe_info,
489     (req_handler)req_create_window,
490     (req_handler)req_destroy_window,
491     (req_handler)req_get_desktop_window,
492     (req_handler)req_set_window_owner,
493     (req_handler)req_get_window_info,
494     (req_handler)req_set_window_info,
495     (req_handler)req_set_parent,
496     (req_handler)req_get_window_parents,
497     (req_handler)req_get_window_children,
498     (req_handler)req_get_window_children_from_point,
499     (req_handler)req_get_window_tree,
500     (req_handler)req_set_window_pos,
501     (req_handler)req_get_window_rectangles,
502     (req_handler)req_get_window_text,
503     (req_handler)req_set_window_text,
504     (req_handler)req_get_windows_offset,
505     (req_handler)req_get_visible_region,
506     (req_handler)req_get_window_region,
507     (req_handler)req_set_window_region,
508     (req_handler)req_get_update_region,
509     (req_handler)req_update_window_zorder,
510     (req_handler)req_redraw_window,
511     (req_handler)req_set_window_property,
512     (req_handler)req_remove_window_property,
513     (req_handler)req_get_window_property,
514     (req_handler)req_get_window_properties,
515     (req_handler)req_create_winstation,
516     (req_handler)req_open_winstation,
517     (req_handler)req_close_winstation,
518     (req_handler)req_get_process_winstation,
519     (req_handler)req_set_process_winstation,
520     (req_handler)req_enum_winstation,
521     (req_handler)req_create_desktop,
522     (req_handler)req_open_desktop,
523     (req_handler)req_close_desktop,
524     (req_handler)req_get_thread_desktop,
525     (req_handler)req_set_thread_desktop,
526     (req_handler)req_enum_desktop,
527     (req_handler)req_set_user_object_info,
528     (req_handler)req_attach_thread_input,
529     (req_handler)req_get_thread_input,
530     (req_handler)req_get_last_input_time,
531     (req_handler)req_get_key_state,
532     (req_handler)req_set_key_state,
533     (req_handler)req_set_foreground_window,
534     (req_handler)req_set_focus_window,
535     (req_handler)req_set_active_window,
536     (req_handler)req_set_capture_window,
537     (req_handler)req_set_caret_window,
538     (req_handler)req_set_caret_info,
539     (req_handler)req_set_hook,
540     (req_handler)req_remove_hook,
541     (req_handler)req_start_hook_chain,
542     (req_handler)req_finish_hook_chain,
543     (req_handler)req_get_hook_info,
544     (req_handler)req_create_class,
545     (req_handler)req_destroy_class,
546     (req_handler)req_set_class_info,
547     (req_handler)req_set_clipboard_info,
548     (req_handler)req_open_token,
549     (req_handler)req_set_global_windows,
550     (req_handler)req_adjust_token_privileges,
551     (req_handler)req_get_token_privileges,
552     (req_handler)req_check_token_privileges,
553     (req_handler)req_duplicate_token,
554     (req_handler)req_access_check,
555     (req_handler)req_get_token_user,
556     (req_handler)req_get_token_groups,
557     (req_handler)req_set_security_object,
558     (req_handler)req_get_security_object,
559     (req_handler)req_create_mailslot,
560     (req_handler)req_set_mailslot_info,
561     (req_handler)req_create_directory,
562     (req_handler)req_open_directory,
563     (req_handler)req_get_directory_entry,
564     (req_handler)req_create_symlink,
565     (req_handler)req_open_symlink,
566     (req_handler)req_query_symlink,
567     (req_handler)req_get_object_info,
568     (req_handler)req_get_token_impersonation_level,
569     (req_handler)req_allocate_locally_unique_id,
570     (req_handler)req_create_device_manager,
571     (req_handler)req_create_device,
572     (req_handler)req_delete_device,
573     (req_handler)req_get_next_device_request,
574     (req_handler)req_make_process_system,
575     (req_handler)req_get_token_statistics,
576     (req_handler)req_create_completion,
577     (req_handler)req_open_completion,
578     (req_handler)req_add_completion,
579     (req_handler)req_remove_completion,
580     (req_handler)req_query_completion,
581     (req_handler)req_set_completion_info,
582     (req_handler)req_add_fd_completion,
583 };
584 #endif  /* WANT_REQUEST_HANDLERS */
585
586 /* ### make_requests end ### */
587 /* Everything above this line is generated automatically by tools/make_requests */
588
589 #endif  /* __WINE_SERVER_REQUEST_H */