dmime: Implement band track IDirectMusicTrack_Play.
[wine.git] / dlls / gphoto2.ds / unixlib.h
blob0e8ea87f93e740e0e9d54c88c7d42a8808c4614f
1 /*
2 * Unix library interface for gphoto
4 * Copyright 2000 Corel Corporation
5 * Copyright 2006 Marcus Meissner
6 * Copyright 2021 Alexandre Julliard
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
23 #include <stdarg.h>
24 #include "windef.h"
25 #include "winternl.h"
26 #include "wine/unixlib.h"
27 #include "twain.h"
29 struct load_file_list_params
31 const char *root;
32 unsigned int *count;
35 struct get_file_name_params
37 unsigned int idx;
38 unsigned int size;
39 char *buffer;
42 struct open_file_params
44 unsigned int idx;
45 BOOL preview;
46 UINT64 *handle;
47 unsigned int *size;
50 struct get_file_data_params
52 UINT64 handle;
53 void *data;
54 unsigned int size;
57 struct close_file_params
59 UINT64 handle;
62 enum gphoto2_funcs
64 unix_get_identity,
65 unix_open_ds,
66 unix_close_ds,
67 unix_load_file_list,
68 unix_get_file_name,
69 unix_open_file,
70 unix_get_file_data,
71 unix_close_file,
74 #define GPHOTO2_CALL( func, params ) WINE_UNIX_CALL( unix_ ## func, params )