include: Add initial mfapi.h.

oldstable
Austin English 2015-03-30 00:52:47 -05:00 committed by Alexandre Julliard
parent 88362a0770
commit 47ef8ebcc8
3 changed files with 42 additions and 0 deletions

View File

@ -22,6 +22,7 @@
#include "windef.h"
#include "winbase.h"
#include "mfapi.h"
#include "mferror.h"
#include "wine/debug.h"

View File

@ -400,6 +400,7 @@ SRCDIR_INCLUDES = \
mciavi.h \
mcx.h \
mediaerr.h \
mfapi.h \
mferror.h \
midles.h \
minmax.h \

40
include/mfapi.h 100644
View File

@ -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 */