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.

WICSerializeMetadataContent function

Writes metadata into a given stream.

Syntax


HRESULT WICSerializeMetadataContent(
  _In_ REFGUID            guidContainerFormat,
  _In_ IWICMetadataWriter *pIWriter,
  _In_ DWORD              dwPersistOptions,
  _In_ IStream            *pIStream
);

Parameters

guidContainerFormat [in]

Type: REFGUID

The container format GUID.

pIWriter [in]

Type: IWICMetadataWriter*

The metadata writer to write metadata to the stream.

dwPersistOptions [in]

Type: DWORD

The WICPersistOptions options to use when writing the metadata.

pIStream [in]

Type: IStream*

A pointer to the stream in which to write the metadata.

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 | UWP apps]

Minimum supported server

Windows Server 2008 [desktop apps | UWP apps]

Minimum supported phone

Windows Phone 8.1

Header

Wincodec.h

DLL

Windowscodecs.dll;
Wincodec.lib

 

 

Show:
© 2017 Microsoft