Module: wine
Branch: master
Commit: 47ef8ebcc8b4f98ce1f2c2aca9b73cbc4130df1c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=47ef8ebcc8b4f98ce1f2c2aca…
Author: Austin English <austinenglish(a)gmail.com>
Date: Mon Mar 30 00:52:47 2015 -0500
include: Add initial mfapi.h.
---
dlls/mfplat/main.c | 1 +
include/Makefile.in | 1 +
include/mfapi.h | 40 ++++++++++++++++++++++++++++++++++++++++
3 files changed, 42 insertions(+)
diff --git a/dlls/mfplat/main.c b/dlls/mfplat/main.c
index 5608644..3376a2c 100644
--- a/dlls/mfplat/main.c
+++ b/dlls/mfplat/main.c
@@ -22,6 +22,7 @@
#include "windef.h"
#include "winbase.h"
+#include "mfapi.h"
#include "mferror.h"
#include "wine/debug.h"
diff --git a/include/Makefile.in b/include/Makefile.in
index 02d5d88..e114f9f 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -400,6 +400,7 @@ SRCDIR_INCLUDES = \
mciavi.h \
mcx.h \
mediaerr.h \
+ mfapi.h \
mferror.h \
midles.h \
minmax.h \
diff --git a/include/mfapi.h b/include/mfapi.h
new file mode 100644
index 0000000..929a36d
--- /dev/null
+++ b/include/mfapi.h
@@ -0,0 +1,40 @@
+/*
+ * Copyright (C) 2015 Austin English
+ *
+ * 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_MFAPI_H
+#define __WINE_MFAPI_H
+
+#define MFSTARTUP_NOSOCKET 0x1
+#define MFSTARTUP_LITE (MFSTARTUP_NOSOCKET)
+#define MFSTARTUP_FULL 0
+
+typedef struct _MFT_REGISTER_TYPE_INFO {
+ GUID major_type;
+ GUID sub_type;
+} MFT_REGISTER_TYPE_INFO;
+
+typedef unsigned __int64 MFWORKITEM_KEY;
+
+HRESULT WINAPI MFCancelWorkItem(MFWORKITEM_KEY key);
+HRESULT WINAPI MFGetTimerPeriodicity(DWORD *periodicity);
+HRESULT WINAPI MFLockPlatform(void);
+HRESULT WINAPI MFShutdown(void);
+HRESULT WINAPI MFStartup(ULONG version, DWORD flags);
+HRESULT WINAPI MFUnlockPlatform(void);
+
+#endif /* __WINE_MFAPI_H */