MFCreateSourceResolver function (mfidl.h)

Creates the source resolver, which is used to create a media source from a URL or byte stream.

Syntax

HRESULT MFCreateSourceResolver(
  [out] IMFSourceResolver **ppISourceResolver
);

Parameters

[out] ppISourceResolver

Receives a pointer to the source resolver's IMFSourceResolver interface. The caller must release the interface.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Note  Prior to Windows 7, this function was exported from mf.dll. Starting in Windows 7, this function is exported from mfplat.dll, and mf.dll exports a stub function that calls into mfplat.dll. For more information, see Library Changes in Windows 7.
 

Requirements

   
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header mfidl.h
Library Mfplat.lib
DLL Mfplat.dll

See also

Media Foundation Functions

Source Resolver