Important: The information in this document is obsolete and should not be used for new development.
ForEachIconDomust point to a function that uses this syntax:
FUNCTION MyIconAction (theType: ResType; VAR theIcon: Handle; yourDataPtr: Ptr): OSErr;
- The resource type of the icon.
- A handle to the icon on which to perform the operation.
- A pointer to data as specified in the
ForEachIconDofunction. When your application calls
ForEachIconDo, it typically provides in the
yourDataPtrparameter a value that identifies the action your function should perform.
ForEachIconDofunction uses your icon action function to perform actions on specified icons in an icon suite. Your icon action function should return a result code indicating whether it sucessfully performed the action on the icon.
noErr 0 No error
SEE ALSOFor a description of the
ForEachIconDofunction, see page 5-38.