ForEachIconDo
ForEachIconDo Perform action for specified members of an icon family
#include <Icons.h> Finder Interface
OSErr ForEachIconDo (theSuite, theSelector, actionProc, yourData );
Handle theSuite ; icon family
long theSelector ; specifies family members to operate on
ProcPtr actionProc ; procedure to be called for specified icons
void *yourData ; user data
returns Error Code; 0 = no error
ForEachIconDo will call actionProc for each icon in the family specified by
theSelector and theSuite. theSelector is a bit level flag that specifies which
members to operate on; they can be added together to create composite selectors
that work on several different family members. See the Notes section below
for the possible selector values.

Notes: ForEachIconDo takes a selector value that specifies which icons in the
family to operate on. The values for theSelector are as follows:
svLarge1Bit ÍsvMini8Bit
svLarge4Bit ÍsvAllLargeData
svLarge8Bit ÍsvAllSmallData
svSmall1Bit ÍsvAllMiniData
svSmall4Bit ÍsvAll1BitData
svSmall8Bit ÍsvAll4BitData
svMini1Bit ÍsvAll8BitData
svMini4Bit ÍsvAllAvailableData
The actionProc procedure should have the following form:
pascal OSErr ActionProc (Handle *theIconData, ResType the Type,
void *yourDataPtr);
This routine is not currently documented in MPW header files (hence, it is
not in any THINK C or THINK Pascal header file either). The information
given above comes from Macintosh Technical Note #306. This tech. note
also gives the inline glue for the call as follows:
pascal OSErr ForEachIconDo (Handle theSuite, long selector,
ProcPtr action, void *yourDataPtr)
= {0x303C, 0x080A, 0xABC9};