xaudio2: Implement IXAudio2SourceVoice::Discontinuity.
[wine/multimedia.git] / dlls / mciqtz32 / mciqtz_private.h
blob6a3ca45487f3f0e6cfb603287ceb60f6f6005cd7
1 /*
2 * DirectShow MCI Driver
4 * Copyright 2009 Christian Costa
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef __WINE_PRIVATE_MCIQTZ_H
22 #define __WINE_PRIVATE_MCIQTZ_H
24 #define COBJMACROS
26 #include "dshow.h"
28 typedef struct {
29 HANDLE thread;
30 HANDLE notify;
31 HANDLE done;
32 DWORD msg;
33 DWORD_PTR devid;
34 DWORD flags;
35 DWORD_PTR parms;
36 LRESULT res;
37 } WINE_MCIQTZ_TASK;
39 typedef struct {
40 MCIDEVICEID wDevID;
41 BOOL opened;
42 BOOL uninit;
43 IGraphBuilder* pgraph;
44 IMediaControl* pmctrl;
45 IMediaSeeking* seek;
46 IMediaEvent* mevent;
47 IVideoWindow* vidwin;
48 IBasicVideo* vidbasic;
49 IBasicAudio* audio;
50 DWORD time_format;
51 UINT command_table;
52 HWND parent;
53 MCIDEVICEID notify_devid;
54 HANDLE callback;
55 HANDLE thread;
56 HANDLE stop_event;
57 CRITICAL_SECTION cs;
58 WINE_MCIQTZ_TASK task;
59 } WINE_MCIQTZ;
61 #endif /* __WINE_PRIVATE_MCIQTZ_H */