taskmgr: Shell32 is imported, no need to load it again.
[wine.git] / dlls / qcap / qcap_private.h
blobbbbe2ef43ec0cff0b6c368d74efeaeb8aadb6f63
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/heap.h"
30 #include "wine/strmbase.h"
31 #include "wine/unicode.h"
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_device
45 const struct video_capture_device_ops *ops;
48 struct video_capture_device_ops
50 void (*destroy)(struct video_capture_device *device);
51 HRESULT (*check_format)(struct video_capture_device *device, const AM_MEDIA_TYPE *mt);
52 HRESULT (*set_format)(struct video_capture_device *device, const AM_MEDIA_TYPE *mt);
53 HRESULT (*get_format)(struct video_capture_device *device, AM_MEDIA_TYPE *mt);
54 HRESULT (*get_media_type)(struct video_capture_device *device, unsigned int index, AM_MEDIA_TYPE *mt);
55 HRESULT (*get_caps)(struct video_capture_device *device, LONG index, AM_MEDIA_TYPE **mt, VIDEO_STREAM_CONFIG_CAPS *caps);
56 LONG (*get_caps_count)(struct video_capture_device *device);
57 HRESULT (*get_prop_range)(struct video_capture_device *device, VideoProcAmpProperty property,
58 LONG *min, LONG *max, LONG *step, LONG *default_value, LONG *flags);
59 HRESULT (*get_prop)(struct video_capture_device *device, VideoProcAmpProperty property, LONG *value, LONG *flags);
60 HRESULT (*set_prop)(struct video_capture_device *device, VideoProcAmpProperty property, LONG value, LONG flags);
61 void (*init_stream)(struct video_capture_device *device);
62 void (*start_stream)(struct video_capture_device *device);
63 void (*stop_stream)(struct video_capture_device *device);
64 void (*cleanup_stream)(struct video_capture_device *device);
67 struct video_capture_device *v4l_device_create(struct strmbase_source *pin, USHORT card);
69 #endif