2 * Wine server USER definitions
4 * Copyright (C) 2001 Alexandre Julliard
7 #ifndef __WINE_SERVER_USER_H
8 #define __WINE_SERVER_USER_H
10 #include "wine/server_protocol.h"
21 /* user handles functions */
23 extern user_handle_t
alloc_user_handle( void *ptr
, enum user_object type
);
24 extern void *get_user_object( user_handle_t handle
, enum user_object type
);
25 extern void *get_user_object_handle( user_handle_t
*handle
, enum user_object type
);
26 extern user_handle_t
get_user_full_handle( user_handle_t handle
);
27 extern void *free_user_handle( user_handle_t handle
);
28 extern void *next_user_handle( user_handle_t
*handle
, enum user_object type
);
32 extern void inc_queue_paint_count( struct thread
*thread
, int incr
);
33 extern void queue_cleanup_window( struct thread
*thread
, user_handle_t win
);
35 /* window functions */
37 extern void destroy_thread_windows( struct thread
*thread
);
38 extern int is_child_window( user_handle_t parent
, user_handle_t child
);
39 extern user_handle_t
find_window_to_repaint( user_handle_t parent
, struct thread
*thread
);
41 #endif /* __WINE_SERVER_USER_H */