MFGetSupportedMimeTypes function (mfidl.h)
Retrieves the MIME types that are registered for the source resolver.
Syntax
HRESULT MFGetSupportedMimeTypes(
[out] PROPVARIANT *pPropVarMimeTypeArray
);
Parameters
[out] pPropVarMimeTypeArray
Pointer to a PROPVARIANT that receives the MIME types. 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 |
---|---|
|
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 |