mf: Add MFEnumDeviceSources() stub.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Nikolay Sivov 2019-04-30 14:26:28 +03:00 committed by Alexandre Julliard
parent ec991fbf29
commit 136312e2dc
3 changed files with 17 additions and 1 deletions

View File

@ -328,3 +328,18 @@ HRESULT WINAPI MFShutdownObject(IUnknown *object)
return S_OK;
}
/***********************************************************************
* MFEnumDeviceSources (mf.@)
*/
HRESULT WINAPI MFEnumDeviceSources(IMFAttributes *attributes, IMFActivate ***sources, UINT32 *count)
{
FIXME("%p, %p, %p.\n", attributes, sources, count);
if (!attributes || !sources || !count)
return E_INVALIDARG;
*count = 0;
return S_OK;
}

View File

@ -70,7 +70,7 @@
@ stub MFCreateVideoRendererActivate
@ stub MFCreateWMAEncoderActivate
@ stub MFCreateWMVEncoderActivate
@ stub MFEnumDeviceSources
@ stdcall MFEnumDeviceSources(ptr ptr ptr)
@ stub MFGetMultipleServiceProviders
@ stdcall MFGetService(ptr ptr ptr ptr)
@ stdcall MFGetSupportedMimeTypes(ptr)

View File

@ -480,6 +480,7 @@ cpp_quote("HRESULT WINAPI MFCreateSystemTimeSource(IMFPresentationTimeSource **t
cpp_quote("HRESULT WINAPI MFCreateTopology(IMFTopology **topology);")
cpp_quote("HRESULT WINAPI MFCreateTopologyNode(MF_TOPOLOGY_TYPE node_type, IMFTopologyNode **node);")
cpp_quote("HRESULT WINAPI MFCreateTopoLoader(IMFTopoLoader **loader);")
cpp_quote("HRESULT WINAPI MFEnumDeviceSources(IMFAttributes *attributes, IMFActivate ***sources, UINT32 *count);")
cpp_quote("HRESULT WINAPI MFGetSupportedMimeTypes(PROPVARIANT *array);")
cpp_quote("HRESULT WINAPI MFGetService(IUnknown *object, REFGUID service, REFIID iid, void **obj);")
cpp_quote("MFTIME WINAPI MFGetSystemTime(void);")