Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

MFGetSupportedMimeTypes function

Retrieves the MIME types that are registered for the source resolver.

Syntax


HRESULT MFGetSupportedMimeTypes(
  _Out_  PROPVARIANT *pPropVarMimeTypeArray
);

Parameters

pPropVarMimeTypeArray [out]

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 codeDescription
S_OK

The function succeeded.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfidl.h

Library

Mf.lib

DLL

Mf.dll

See also

Media Foundation Functions

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.