diff --git a/dlls/mfplat/main.c b/dlls/mfplat/main.c index e6616c81024..7e12be4b522 100644 --- a/dlls/mfplat/main.c +++ b/dlls/mfplat/main.c @@ -1513,3 +1513,16 @@ HRESULT WINAPI MFCreateMediaType(IMFMediaType **type) *type = &object->IMFMediaType_iface; return S_OK; } + +/*********************************************************************** + * MFCreateEventQueue (mfplat.@) + */ +HRESULT WINAPI MFCreateEventQueue(IMFMediaEventQueue **queue) +{ + FIXME("%p\n", queue); + + if(queue) + *queue = NULL; + + return E_FAIL; +} diff --git a/dlls/mfplat/mfplat.spec b/dlls/mfplat/mfplat.spec index efcb1439d55..e9c0eecb7c0 100644 --- a/dlls/mfplat/mfplat.spec +++ b/dlls/mfplat/mfplat.spec @@ -42,7 +42,7 @@ @ stdcall MFCreateAttributes(ptr long) @ stub MFCreateAudioMediaType @ stub MFCreateCollection -@ stub MFCreateEventQueue +@ stdcall MFCreateEventQueue(ptr) @ stub MFCreateFile @ stub MFCreateLegacyMediaBufferOnMFMediaBuffer @ stub MFCreateMFByteStreamOnStream diff --git a/include/mfapi.h b/include/mfapi.h index 2be063805b4..5aead1e0bca 100644 --- a/include/mfapi.h +++ b/include/mfapi.h @@ -65,6 +65,7 @@ typedef unsigned __int64 MFWORKITEM_KEY; HRESULT WINAPI MFCancelWorkItem(MFWORKITEM_KEY key); HRESULT WINAPI MFCreateAttributes(IMFAttributes **attributes, UINT32 size); +HRESULT WINAPI MFCreateEventQueue(IMFMediaEventQueue **queue); HRESULT WINAPI MFCreateMediaType(IMFMediaType **type); HRESULT WINAPI MFGetTimerPeriodicity(DWORD *periodicity); HRESULT WINAPI MFTEnum(GUID category, UINT32 flags, MFT_REGISTER_TYPE_INFO *input_type,