Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IWICBitmapCodecInfo::GetDeviceManufacturer method

Retrieves the name of the device manufacture associated with the codec.

Syntax


HRESULT GetDeviceManufacturer(
  [in]              UINT  cchDeviceManufacturer,
  [in, out, unique] WCHAR *wzDeviceManufacturer,
  [out]             UINT  *pcchActual
);

Parameters

cchDeviceManufacturer [in]

Type: UINT

The size of the device manufacture's name. Use 0 on first call to determine needed buffer size.

wzDeviceManufacturer [in, out]

Type: WCHAR*

Receives the device manufacture's name. Use NULL on first call to determine needed buffer size.

pcchActual [out]

Type: UINT*

The actual buffer size needed to retrieve the device manufacture's name.

Return value

Type: HRESULT

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

Remarks

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 cchDeviceManufacturer set to 0 and wzDeviceManufacturer set to NULL. This call sets pcchActual to the buffer size needed. Once the needed buffer size is determined, a second GetDeviceManufacturer call with cchDeviceManufacturer set to the buffer size and wzDeviceManufacturer set to a buffer of the appropriate size will retrieve the pixel formats.

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

 

 

Show:
© 2017 Microsoft