include: Wrap exported function in extern C.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Alistair Leslie-Hughes 2018-12-21 00:24:21 +00:00 committed by Alexandre Julliard
parent 00c57ad89a
commit 0805783df3
1 changed files with 8 additions and 0 deletions

View File

@ -23,6 +23,10 @@
#include <mmreg.h>
#include <avrt.h>
#if defined(__cplusplus)
extern "C" {
#endif
#if !defined(MF_VERSION)
/* Default to Windows XP */
#define MF_SDK_VERSION 0x0001
@ -95,4 +99,8 @@ HRESULT WINAPI MFTUnregister(CLSID clsid);
HRESULT WINAPI MFTUnregisterLocal(IClassFactory *factory);
HRESULT WINAPI MFGetPluginControl(IMFPluginControl**);
#if defined(__cplusplus)
}
#endif
#endif /* __WINE_MFAPI_H */