To see a variety of system icons, test this code with Shell32.dll and Imageres.dll files located in System32 folder.
* * *
VFP versions 3..9 do not support callback functions. This prevents using the EnumResourceNames function to enumerate available resources in executable or dynamic library files. For that reason, the IconGroups class enumerates IconGroup resources with only integer identifiers in 1..0xffff range.