Sweden-Number/dlls/mciqtz32/mciqtz_private.h

62 lines
1.7 KiB
C
Raw Normal View History

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"
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;
BOOL opened;
BOOL uninit;
2009-03-29 23:51:49 +02:00
IGraphBuilder* pgraph;
IMediaControl* pmctrl;
IMediaSeeking* seek;
IMediaEvent* mevent;
IVideoWindow* vidwin;
IBasicVideo* vidbasic;
IBasicAudio* audio;
2009-04-28 23:18:29 +02:00
DWORD time_format;
UINT command_table;
2015-03-17 16:04:59 +01:00
HWND parent;
MCIDEVICEID notify_devid;
HANDLE callback;
HANDLE thread;
HANDLE stop_event;
CRITICAL_SECTION cs;
WINE_MCIQTZ_TASK task;
2009-03-29 23:50:26 +02:00
} WINE_MCIQTZ;
#endif /* __WINE_PRIVATE_MCIQTZ_H */