IWICMetadataHandlerInfo::GetDeviceModels method

Retrieves the device models that support the metadata handler.

Syntax


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

Parameters

cchDeviceModels [in]

Type: UINT

The length of the wzDeviceModels buffer.

wzDeviceModels [in, out]

Type: WCHAR*

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

pcchActual [out]

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

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: