Duration (Pacific Standard Time):
To (Pacific Standard Time):
Impact:
  • None
User Action:
  • None

MFCreateSourceResolver function

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

Syntax

No code example is currently available or this language may not be supported.

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.

Windows Phone 8.1: This API is supported.

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfidl.h

Library

Mf.lib

DLL

Mfplat.dll

See also

Media Foundation Functions
Source Resolver