IWICMetadataHandlerInfo::GetDeviceModels method (wincodecsdk.h)

Retrieves the device models that support the metadata handler.

Syntax

HRESULT GetDeviceModels(
  [in]      UINT  cchDeviceModels,
  [in, out] WCHAR *wzDeviceModels,
  [out]     UINT  *pcchActual
);

Parameters

[in] cchDeviceModels

Type: UINT

The length of the wzDeviceModels buffer.

[in, out] wzDeviceModels

Type: WCHAR*

Pointer that receives the device models supported by the metadata handler.

[out] pcchActual

Type: UINT*

The actual length needed to retrieve the device models.

Return value

Type: HRESULT

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

Requirements

Requirement Value
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header wincodecsdk.h
Library Windowscodecs.lib
DLL Windowscodecs.dll