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.

IWICMetadataWriterInfo::GetHeader method

Gets the metadata header for the metadata writer.

Syntax


HRESULT GetHeader(
  [in]      REFGUID           guidContainerFormat,
  [in]      UINT              cbSize,
  [in, out] WICMetadataHeader *pHeader,
  [in, out] UINT              *pcbActual
);

Parameters

guidContainerFormat [in]

Type: REFGUID

The format container GUID to obtain the header for.

cbSize [in]

Type: UINT

The size of the pHeader buffer.

pHeader [in, out]

Type: WICMetadataHeader*

Pointer that receives the WICMetadataHeader.

pcbActual [in, out]

Type: UINT*

The actual size of the header.

Return value

Type: HRESULT

If this method 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]

Header

Wincodecsdk.h

IDL

Wincodecsdk.idl

Library

Windowscodecs.lib

DLL

Windowscodecs.dll

 

 

Show:
© 2016 Microsoft