2009-03-29 23:50:26 +02:00
|
|
|
/*
|
|
|
|
* DirectShow MCI Driver
|
|
|
|
*
|
|
|
|
* Copyright 2009 Christian Costa
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WINE_PRIVATE_MCIQTZ_H
|
|
|
|
#define __WINE_PRIVATE_MCIQTZ_H
|
|
|
|
|
2009-03-29 23:51:49 +02:00
|
|
|
#define COBJMACROS
|
|
|
|
|
|
|
|
#include "dshow.h"
|
|
|
|
|
2015-05-07 17:37:21 +02:00
|
|
|
typedef struct {
|
|
|
|
HANDLE thread;
|
|
|
|
HANDLE notify;
|
|
|
|
HANDLE done;
|
|
|
|
DWORD msg;
|
|
|
|
DWORD_PTR devid;
|
|
|
|
DWORD flags;
|
|
|
|
DWORD_PTR parms;
|
|
|
|
LRESULT res;
|
|
|
|
} WINE_MCIQTZ_TASK;
|
|
|
|
|
2009-03-29 23:50:26 +02:00
|
|
|
typedef struct {
|
2009-03-29 23:51:49 +02:00
|
|
|
MCIDEVICEID wDevID;
|
2009-04-16 20:29:00 +02:00
|
|
|
BOOL opened;
|
2010-04-12 11:21:27 +02:00
|
|
|
BOOL uninit;
|
2009-03-29 23:51:49 +02:00
|
|
|
IGraphBuilder* pgraph;
|
|
|
|
IMediaControl* pmctrl;
|
2010-06-03 21:08:15 +02:00
|
|
|
IMediaSeeking* seek;
|
2012-03-28 18:09:32 +02:00
|
|
|
IMediaEvent* mevent;
|
2010-06-03 21:08:15 +02:00
|
|
|
IVideoWindow* vidwin;
|
|
|
|
IBasicVideo* vidbasic;
|
2015-03-05 15:34:42 +01:00
|
|
|
IBasicAudio* audio;
|
2009-04-28 23:18:29 +02:00
|
|
|
DWORD time_format;
|
2010-05-18 15:07:34 +02:00
|
|
|
UINT command_table;
|
2015-03-17 16:04:59 +01:00
|
|
|
HWND parent;
|
|
|
|
MCIDEVICEID notify_devid;
|
|
|
|
HANDLE callback;
|
|
|
|
HANDLE thread;
|
|
|
|
HANDLE stop_event;
|
2015-05-07 17:37:21 +02:00
|
|
|
CRITICAL_SECTION cs;
|
|
|
|
WINE_MCIQTZ_TASK task;
|
2009-03-29 23:50:26 +02:00
|
|
|
} WINE_MCIQTZ;
|
|
|
|
|
|
|
|
#endif /* __WINE_PRIVATE_MCIQTZ_H */
|