UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:wincodec.IWICBitmapCodecInfo.GetDeviceModels |
IWICBitmapCodecInfo::GetDeviceModels (wincodec.h) |
Retrieves a comma delimited list of device models associated with the codec. |
|
wic\_wic_codec_iwicbitmapcodecinfo_getdevicemodels.htm |
wic |
ccc5aab6-8817-4c18-8e52-a1372b015541 |
12/05/2018 |
GetDeviceModels, GetDeviceModels method [Windows Imaging Component], GetDeviceModels method [Windows Imaging Component],IWICBitmapCodecInfo interface, IWICBitmapCodecInfo interface [Windows Imaging Component],GetDeviceModels method, IWICBitmapCodecInfo.GetDeviceModels, IWICBitmapCodecInfo::GetDeviceModels, _wic_codec_iwicbitmapcodecinfo_getdevicemodels, wic._wic_codec_iwicbitmapcodecinfo_getdevicemodels, wincodec/IWICBitmapCodecInfo::GetDeviceModels |
wincodec.h |
Windows |
Windows XP with SP2, Windows Vista [desktop apps \| UWP apps] |
Windows Server 2008 [desktop apps \| UWP apps] |
Wincodec.idl |
Windowscodecs.lib |
Windowscodecs.dll |
Windows |
19H1 |
|
|
|
|
|
|
Retrieves a comma delimited list of device models associated with the codec.
Type: UINT
The size of the device models buffer. Use 0
on first call to determine needed buffer size.
Type: WCHAR*
Receives a comma delimited list of device model names associated with the codec. Use NULL
on first call to determine needed buffer size.
Type: UINT*
The actual buffer size needed to retrieve all of the device model names.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
The usage pattern for this method is a two call process.
The first call retrieves the buffer size needed to retrieve the full color management version number by calling it with cchDeviceModels set to 0
and wzDeviceModels set to NULL
.
This call sets pcchActual to the buffer size needed.
Once the needed buffer size is determined, a second GetDeviceModels call with cchDeviceModels set to the buffer size and wzDeviceModels set to a buffer of the appropriate size will retrieve the pixel formats.