mshtml: Move the MessageEvent construction to a helper.
[wine.git] / dlls / wineandroid.drv / unixlib.h
blob98da6528fd5d18f9f17b58f8b4d9b08653ec4da5
1 /*
2 * Copyright 2022 Jacek Caban for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #include "ntuser.h"
20 #include "wine/unixlib.h"
22 enum android_funcs
24 unix_create_desktop,
25 unix_dispatch_ioctl,
26 unix_init,
27 unix_java_init,
28 unix_java_uninit,
29 unix_register_window,
30 unix_funcs_count
33 #define ANDROID_CALL(func, params) __wine_unix_call( unix_handle, unix_ ## func, params )
35 /* android_init params */
36 struct init_params
38 PNTAPCFUNC register_window_callback;
42 /* android_ioctl params */
43 struct ioctl_params
45 struct _IRP *irp;
46 DWORD client_id;
50 /* android_register_window params */
51 struct register_window_params
53 UINT_PTR arg1;
54 UINT_PTR arg2;
55 UINT_PTR arg3;
59 enum
61 client_start_device = NtUserDriverCallbackFirst,