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.

WICMatchMetadataContent function

Obtains a metadata format GUID for a specified container format and vendor that best matches the content within a given stream.

Syntax


HRESULT WICMatchMetadataContent(
  _In_        REFGUID guidContainerFormat,
  _In_  const GUID    *pguidVendor,
  _In_        IStream *pIStream,
  _Out_       GUID    *pguidMetadataFormat
);

Parameters

guidContainerFormat [in]

Type: REFGUID

The container format GUID.

pguidVendor [in]

Type: const GUID*

The vendor GUID.

pIStream [in]

Type: IStream*

The content stream in which to match a metadata format.

pguidMetadataFormat [out]

Type: GUID*

A pointer that receives a metadata format GUID for the given parameters.

Return value

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

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]

Minimum supported phone

Windows Phone 8.1

Header

Wincodec.h

DLL

Windowscodecs.dll;
Wincodec.lib

 

 

Show:
© 2017 Microsoft