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 code | Description |
|---|---|
|
The operation was successful. |
|
The codec does not implement this method. |
Remarks
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 |
|
|
IDL |
|
|
Library |
|
|
DLL |
|