Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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
[in] phiml
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.
[in] phimlSmall
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
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Target Platform | Windows |
| Header | shlobj_core.h (include Shlobj.h) |
| Library | Shell32.lib |
| DLL | Shell32.dll (version 5.0 or later) |
| API set | ext-ms-win-shell-shell32-l1-2-1 (introduced in Windows 10, version 10.0.10240) |