xinput1_3: Move HID data into struct xinput_controller.
[wine.git] / dlls / qcap / qcap_private.h
blob104dba6a6490b2365cb7a3a6d85a5d23389ab03c
1 /*
2 * DirectShow capture
4 * Copyright (C) 2005 Rolf Kalbermatter
5 * Copyright 2005 Maarten Lankhorst
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef _QCAP_PRIVATE_H_DEFINED
22 #define _QCAP_PRIVATE_H_DEFINED
24 #define COBJMACROS
25 #define NONAMELESSSTRUCT
26 #define NONAMELESSUNION
27 #include "dshow.h"
28 #include "wine/debug.h"
29 #include "wine/strmbase.h"
31 extern HINSTANCE qcap_instance DECLSPEC_HIDDEN;
33 extern DWORD ObjectRefCount(BOOL increment) DECLSPEC_HIDDEN;
35 HRESULT audio_record_create(IUnknown *outer, IUnknown **out) DECLSPEC_HIDDEN;
36 HRESULT avi_compressor_create(IUnknown *outer, IUnknown **out) DECLSPEC_HIDDEN;
37 HRESULT avi_mux_create(IUnknown *outer, IUnknown **out) DECLSPEC_HIDDEN;
38 HRESULT capture_graph_create(IUnknown *outer, IUnknown **out) DECLSPEC_HIDDEN;
39 HRESULT file_writer_create(IUnknown *outer, IUnknown **out) DECLSPEC_HIDDEN;
40 HRESULT smart_tee_create(IUnknown *outer, IUnknown **out) DECLSPEC_HIDDEN;
41 HRESULT vfw_capture_create(IUnknown *outer, IUnknown **out) DECLSPEC_HIDDEN;
43 struct video_capture_funcs
45 struct video_capture_device *(CDECL *create)(USHORT index);
46 void (CDECL *destroy)(struct video_capture_device *device);
47 HRESULT (CDECL *check_format)(struct video_capture_device *device, const AM_MEDIA_TYPE *mt);
48 HRESULT (CDECL *set_format)(struct video_capture_device *device, const AM_MEDIA_TYPE *mt);
49 void (CDECL *get_format)(struct video_capture_device *device, AM_MEDIA_TYPE *mt, VIDEOINFOHEADER *format);
50 HRESULT (CDECL *get_media_type)(struct video_capture_device *device,
51 unsigned int index, AM_MEDIA_TYPE *mt, VIDEOINFOHEADER *format);
52 void (CDECL *get_caps)(struct video_capture_device *device, LONG index, AM_MEDIA_TYPE *mt,
53 VIDEOINFOHEADER *format, VIDEO_STREAM_CONFIG_CAPS *caps);
54 LONG (CDECL *get_caps_count)(struct video_capture_device *device);
55 HRESULT (CDECL *get_prop_range)(struct video_capture_device *device, VideoProcAmpProperty property,
56 LONG *min, LONG *max, LONG *step, LONG *default_value, LONG *flags);
57 HRESULT (CDECL *get_prop)(struct video_capture_device *device,
58 VideoProcAmpProperty property, LONG *value, LONG *flags);
59 HRESULT (CDECL *set_prop)(struct video_capture_device *device,
60 VideoProcAmpProperty property, LONG value, LONG flags);
61 BOOL (CDECL *read_frame)(struct video_capture_device *device, BYTE *data);
64 #endif