Module: wine
Branch: master
Commit: 271f2eda14a1345044df11deeedb735435ad1015
URL: http://source.winehq.org/git/wine.git/?a=commit;h=271f2eda14a1345044df11dee…
Author: Maarten Lankhorst <m.b.lankhorst(a)gmail.com>
Date: Fri Apr 11 15:03:33 2008 -0700
include: Add dvdmedia stub header.
---
include/Makefile.in | 1 +
include/dvdmedia.h | 44 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+), 0 deletions(-)
diff --git a/include/Makefile.in b/include/Makefile.in
index 11ee8b6..d03f7cf 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -180,6 +180,7 @@ SRCDIR_INCLUDES = \
dshow.h \
dsound.h \
dsrole.h \
+ dvdmedia.h \
dwmapi.h \
dxdiag.h \
dxerr8.h \
diff --git a/include/dvdmedia.h b/include/dvdmedia.h
new file mode 100644
index 0000000..9a29994
--- /dev/null
+++ b/include/dvdmedia.h
@@ -0,0 +1,44 @@
+/*
+ * Copyright (C) 2008 Maarten Lankhorst
+ *
+ * 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 __DVDMEDIA_H__
+#define __DVDMEDIA_H__
+
+#define AMCONTROL_USED 0x00000001
+#define AMCONTROL_PAD_TO_4x3 0x00000002
+#define AMCONTROL_PAD_TO_16x9 0x00000004
+
+typedef struct tagVIDEOINFOHEADER2 {
+ RECT rcSource;
+ RECT rcTarget;
+ DWORD dwBitRate;
+ DWORD dwBitErrorRate;
+ REFERENCE_TIME AvgTimePerFrame;
+ DWORD dwInterlaceFlags;
+ DWORD dwCopyProtectFlags;
+ DWORD dwPictAspectRatioX;
+ DWORD dwPictAspectRatioY;
+ union {
+ DWORD dwControlFlags;
+ DWORD dwReserved1;
+ } DUMMYUNIONNAME;
+ DWORD dwReserved2;
+ BITMAPINFOHEADER bmiHeader;
+} VIDEOINFOHEADER2;
+
+#endif /* __DVDMEDIA_H__ */