MFGetSupportedSchemes function (mfidl.h)

Retrieves the URL schemes that are registered for the source resolver.

Syntax

HRESULT MFGetSupportedSchemes(
  [out] PROPVARIANT *pPropVarSchemeArray
);

Parameters

[out] pPropVarSchemeArray

Pointer to a PROPVARIANT that receives the URL schemes. Before calling this method, call PropVariantInit to initialize the PROPVARIANT. If the method succeeds, the PROPVARIANT contains an array of wide-character strings. The PROPVARIANT data type is VT_VECTOR | VT_LPWSTR. The caller must release the PROPVARIANT by calling PropVariantClear.

Return value

The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The function succeeded.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header mfidl.h
Library Mf.lib
DLL Mf.dll

See also

Media Foundation Functions