Shell_GetImageLists function
[This function is available through Windows XP Service Pack 2 (SP2) and Windows Server 2003. It might be altered or unavailable in subsequent versions of Windows.]
Retrieves system image lists for large and small icons.
Syntax
BOOL Shell_GetImageLists( _In_ HIMAGELIST *phiml, _In_ HIMAGELIST *phimlSmall );
Parameters
- phiml [in]
-
Type: HIMAGELIST*
A pointer to the handle of an image list which, on success, receives the system image list for large (32 x 32) icons.
- phimlSmall [in]
-
Type: HIMAGELIST*
A pointer to the handle of an image list which, on success, receives the system image list for small (16 x 16) icons.
Return value
Type: BOOL
Returns TRUE on success. On failure, returns FALSE and the image lists pointed to by phiml and phimlSmall are unchanged.
Remarks
Important The image lists retrieved through this function are global system image lists; do not call ImageList_Destroy using them.
Requirements
|
Minimum supported client | Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/28/2012