1 /* DirectShow private capture header (QCAP.DLL)
3 * Copyright 2005 Maarten Lankhorst
5 * This file contains the (internal) driver registration functions,
6 * driver enumeration APIs and DirectDraw creation functions.
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 #ifndef __QCAP_CAPTURE_H__
24 #define __QCAP_CAPTURE_H__
27 typedef struct _Capture Capture
;
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(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
*);
40 #endif /* __QCAP_CAPTURE_H__ */