mf: Add MFEnumDeviceSources() stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ec991fbf29
commit
136312e2dc
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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);")
|
||||
|
|
Loading…
Reference in New Issue