#include <Windows.h>
#include <mfobjects.h>
#include <mfapi.h>

extern "C" __declspec(dllexport) HRESULT Ext_MFCreateDXGIDeviceManager(
	OUT UINT* resetToken,
	OUT IMFDXGIDeviceManager** ppDeviceManager
) {
	return S_OK;
}

extern "C" __declspec(dllexport) HRESULT Ext_MFCreateDXGISurfaceBuffer(
	IN  REFIID         riid,
	IN  IUnknown * punkSurface,
	IN  UINT           uSubresourceIndex,
	IN  BOOL           fBottomUpWhenLinear,
	OUT IMFMediaBuffer * *ppBuffer
) {
	return S_OK;
}

#pragma comment(linker, "/EXPORT:MFCreateAlignedMemoryBuffer=mfplat.MFCreateAlignedMemoryBuffer")
#pragma comment(linker, "/EXPORT:MFCreateDXGIDeviceManager=Ext_MFCreateDXGIDeviceManager")
#pragma comment(linker, "/EXPORT:MFCreateDXGISurfaceBuffer=Ext_MFCreateDXGISurfaceBuffer")
#pragma comment(linker, "/EXPORT:MFCreateMediaType=mfplat.MFCreateMediaType")
#pragma comment(linker, "/EXPORT:MFCreateMemoryBuffer=mfplat.MFCreateMemoryBuffer")
#pragma comment(linker, "/EXPORT:MFCreateSample=mfplat.MFCreateSample")
#pragma comment(linker, "/EXPORT:MFStartup=mfplat.MFStartup")
#pragma comment(linker, "/EXPORT:MFTEnumEx=mfplat.MFTEnumEx")