Export (0) Print
Expand All

IWICImagingFactory::CreateQueryWriter method

Creates a new instance of a query writer.

Syntax


HRESULT CreateQueryWriter(
  [in]   REFGUID guidMetadataFormat,
  [in]   const GUID *pguidVendor,
  [out]  IWICMetadataQueryWriter **ppIQueryWriter
);

Parameters

guidMetadataFormat [in]

Type: REFGUID

The GUID for the desired metadata format.

pguidVendor [in]

Type: const GUID*

The GUID for the preferred metadata writer vendor. Use NULL if no preferred vendor.

ppIQueryWriter [out]

Type: IWICMetadataQueryWriter**

When this method returns, contains a pointer to a new IWICMetadataQueryWriter.

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

Wincodec.h

IDL

Wincodec.idl

Library

Windowscodecs.lib

DLL

Windowscodecs.dll

See also

IWICImagingFactory
Conceptual
WIC Metadata Overview
Metadata Query Language Overview
Overview of Reading and Writing Image Metadata
WIC GUIDs and CLSIDs

 

 

Community Additions

ADD
Show:
© 2015 Microsoft