IWICMetadataReaderInfo::GetPatterns method

Gets the metadata patterns associated with the metadata reader.

Syntax


HRESULT GetPatterns(
  [in]      REFGUID            guidContainerFormat,
  [in]      UINT               cbSize,
  [in, out] WICMetadataPattern *pPattern,
  [in, out] UINT               *pcCount,
  [in, out] UINT               *pcbActual
);

Parameters

guidContainerFormat [in]

Type: REFGUID

The cointainer format GUID.

cbSize [in]

Type: UINT

The size, in bytes, of the pPattern buffer.

pPattern [in, out]

Type: WICMetadataPattern*

Pointer that receives the metadata patterns.

pcCount [in, out]

Type: UINT*

Pointer that receives the number of metadata patterns.

pcbActual [in, out]

Type: UINT*

Pointer that receives the size, in bytes, needed to obtain the metadata patterns.

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: