dwrite: Fix invalid read when building zero length text layout (Valgrind).
[wine.git] / include / mfapi.h
blob554d8cf34f3bf4c44d8c9a72dcd129186dbc512a
1 /*
2 * Copyright (C) 2015 Austin English
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_MFAPI_H
20 #define __WINE_MFAPI_H
22 #include <mfobjects.h>
23 #include <mmreg.h>
24 #include <avrt.h>
26 #define MFSTARTUP_NOSOCKET 0x1
27 #define MFSTARTUP_LITE (MFSTARTUP_NOSOCKET)
28 #define MFSTARTUP_FULL 0
30 typedef unsigned __int64 MFWORKITEM_KEY;
32 HRESULT WINAPI MFCancelWorkItem(MFWORKITEM_KEY key);
33 HRESULT WINAPI MFGetTimerPeriodicity(DWORD *periodicity);
34 HRESULT WINAPI MFLockPlatform(void);
35 HRESULT WINAPI MFShutdown(void);
36 HRESULT WINAPI MFStartup(ULONG version, DWORD flags);
37 HRESULT WINAPI MFUnlockPlatform(void);
38 HRESULT WINAPI MFGetPluginControl(IMFPluginControl**);
40 #endif /* __WINE_MFAPI_H */