Skip to content

Latest commit

 

History

History
133 lines (94 loc) · 3.51 KB

nf-commctrl-imagelist_writeex.md

File metadata and controls

133 lines (94 loc) · 3.51 KB
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:commctrl.ImageList_WriteEx
ImageList_WriteEx function (commctrl.h)
Writes an image list to a stream. (ImageList_WriteEx)
ILP_DOWNLEVEL
ILP_NORMAL
ImageList_WriteEx
ImageList_WriteEx function [Windows Controls]
_win32_ImageList_WriteEx
_win32_ImageList_WriteEx_cpp
commctrl/ImageList_WriteEx
controls.ImageList_WriteEx
controls._win32_ImageList_WriteEx
controls\ImageList_WriteEx.htm
Controls
VS|Controls|~\controls\imagelist\functions\imagelist_writeex.htm
12/05/2018
ILP_DOWNLEVEL, ILP_NORMAL, ImageList_WriteEx, ImageList_WriteEx function [Windows Controls], _win32_ImageList_WriteEx, _win32_ImageList_WriteEx_cpp, commctrl/ImageList_WriteEx, controls.ImageList_WriteEx, controls._win32_ImageList_WriteEx
commctrl.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Comctl32.lib
Comctl32.dll (version 6.0 or later)
Windows
19H1
ImageList_WriteEx
commctrl/ImageList_WriteEx
c++
APIRef
kbSyntax
DllExport
Comctl32.dll
ImageList_WriteEx

ImageList_WriteEx function

-description

Writes an image list to a stream.

-parameters

-param himl [in]

Type: HIMAGELIST

A handle to the image list.

-param dwFlags [in]

Type: DWORD

A flag that specifies how the stream is written.

Value Meaning
ILP_NORMAL
Writes to the stream using the file format for Common Controls 6.0, which includes information about image list attributes new to this version.
ILP_DOWNLEVEL
Writes to the stream using a file format previous to version 6.0. Specify this flag if you need to save image lists loaded under Common Controls versions earlier than version 6.0.

-param pstm [in]

Type: LPSTREAM

The address of the stream.

-returns

Type: HRESULT

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

-remarks

You should not create an image list that is written with the ILP_DOWNLEVEL flag with ILC_COLOR32.

To use ImageList_WriteEx, the application must specify Comctl32.dll version 6 in the manifest. For more information on manifests, see Enabling Visual Styles.

-see-also

ImageList_Read

ImageList_ReadEx

ImageList_Write

Reference