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.

IWICBitmapCodecInfo::MatchesMimeType method

Retrieves a value indicating whether the given mime type matches the mime type of the codec.

Syntax


HRESULT MatchesMimeType(
  [in]  LPCWSTR wzMimeType,
  [out] BOOL    *pfMatches
);

Parameters

wzMimeType [in]

Type: LPCWSTR

The mime type to compare.

pfMatches [out]

Type: BOOL*

Receives TRUE if the mime types match; otherwise, FALSE.

Return value

Type: HRESULT

This method can return one of these values.

Return codeDescription
S_OK

The operation was successful.

E_NOTIMPL

The codec does not implement this method.

 

Remarks

Note  The Windows provided codecs do not implement this method and return E_NOTIMPL.
 

Requirements

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Wincodec.h

IDL

Wincodec.idl

Library

Windowscodecs.lib

DLL

Windowscodecs.dll

 

 

Show:
© 2017 Microsoft