wined3d: Add a separate function for query initialization.
[wine] / dlls / qcap / capture.h
1 /* DirectShow private capture header (QCAP.DLL)
2  *
3  * Copyright 2005 Maarten Lankhorst
4  *
5  * This file contains the (internal) driver registration functions,
6  * driver enumeration APIs and DirectDraw creation functions.
7  *
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.
12  *
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.
17  *
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
21  */
22
23 #ifndef __QCAP_CAPTURE_H__
24 #define __QCAP_CAPTURE_H__
25
26 struct _Capture;
27 typedef struct _Capture Capture;
28
29 Capture *qcap_driver_init(IPin*,USHORT);
30 HRESULT qcap_driver_destroy(Capture*);
31 HRESULT qcap_driver_set_format(Capture*,AM_MEDIA_TYPE*);
32 HRESULT qcap_driver_get_format(const Capture*,AM_MEDIA_TYPE**);
33 HRESULT qcap_driver_get_prop_range(Capture*,LONG,LONG*,LONG*,LONG*,LONG*,LONG*);
34 HRESULT qcap_driver_get_prop(Capture*,LONG,LONG*,LONG*);
35 HRESULT qcap_driver_set_prop(Capture*,long,long,long);
36 HRESULT qcap_driver_run(Capture*,FILTER_STATE*);
37 HRESULT qcap_driver_pause(Capture*,FILTER_STATE*);
38 HRESULT qcap_driver_stop(Capture*,FILTER_STATE*);
39
40 #endif /* __QCAP_CAPTURE_H__ */