2015-03-30 07:52:47 +02:00
|
|
|
/*
|
|
|
|
* 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
|
|
|
|
|
2015-08-07 12:30:10 +02:00
|
|
|
#include <mfobjects.h>
|
|
|
|
#include <mmreg.h>
|
|
|
|
#include <avrt.h>
|
|
|
|
|
2015-03-30 07:52:47 +02:00
|
|
|
#define MFSTARTUP_NOSOCKET 0x1
|
|
|
|
#define MFSTARTUP_LITE (MFSTARTUP_NOSOCKET)
|
|
|
|
#define MFSTARTUP_FULL 0
|
|
|
|
|
|
|
|
typedef unsigned __int64 MFWORKITEM_KEY;
|
|
|
|
|
|
|
|
HRESULT WINAPI MFCancelWorkItem(MFWORKITEM_KEY key);
|
2017-04-21 03:48:12 +02:00
|
|
|
HRESULT WINAPI MFCreateAttributes(IMFAttributes **attributes, UINT32 size);
|
2015-03-30 07:52:47 +02:00
|
|
|
HRESULT WINAPI MFGetTimerPeriodicity(DWORD *periodicity);
|
2017-05-09 00:50:50 +02:00
|
|
|
HRESULT WINAPI MFTEnum(GUID category, UINT32 flags, MFT_REGISTER_TYPE_INFO *input_type,
|
|
|
|
MFT_REGISTER_TYPE_INFO *output_type, IMFAttributes *attributes,
|
|
|
|
CLSID **pclsids, UINT32 *pcount);
|
2015-03-30 07:52:47 +02:00
|
|
|
HRESULT WINAPI MFLockPlatform(void);
|
2017-05-09 00:50:26 +02:00
|
|
|
HRESULT WINAPI MFTRegister(CLSID clsid, GUID category, LPWSTR name, UINT32 flags, UINT32 cinput,
|
|
|
|
MFT_REGISTER_TYPE_INFO *input_types, UINT32 coutput,
|
|
|
|
MFT_REGISTER_TYPE_INFO *output_types, IMFAttributes *attributes);
|
2015-03-30 07:52:47 +02:00
|
|
|
HRESULT WINAPI MFShutdown(void);
|
|
|
|
HRESULT WINAPI MFStartup(ULONG version, DWORD flags);
|
|
|
|
HRESULT WINAPI MFUnlockPlatform(void);
|
2017-05-09 00:50:38 +02:00
|
|
|
HRESULT WINAPI MFTUnregister(CLSID clsid);
|
2015-08-07 12:30:10 +02:00
|
|
|
HRESULT WINAPI MFGetPluginControl(IMFPluginControl**);
|
2015-03-30 07:52:47 +02:00
|
|
|
|
|
|
|
#endif /* __WINE_MFAPI_H */
|