Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MFCreateSourceResolver function

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

ppISourceResolver [out]

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 | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1

Header

Mfidl.h

Library

Mf.lib

DLL

Mfplat.dll

See also

Media Foundation Functions
Source Resolver

 

 

Show:
© 2017 Microsoft