Creates the source resolver, which is used to create a media source from a URL or byte stream.
HRESULT MFCreateSourceResolver(
_Outptr_ IMFSourceResolver **ppISourceResolver
)
ppISourceResolver
Type: Outptr IMFSourceResolver **
Receives a pointer to the source resolver’s IMFSourceResolver interface. The caller must release the interface.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Refer to Media Foundation return codes.
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.
Header: Declared in mfidl.h.
Library: Use mf.lib.