You should be using DoGadgetMethod() whenever a GadgetInfo structure may be needed.gonegahgah wrote:The main purpose of DoGadgetMethod() is to create a GInfo structure and place that into the Msg isn't it?
I'm guessing that perhaps other code could have also been put in to DoGadgetMethod() to handle standard functions on legacy gadgets maybe?
That would certainly hamper making it more generalised.
Lol. Actually, the AutoDocs presently mention that it can be used for gadgets and for other things.
ie. "You should use this function for BOOPSI gadget objects, or for "models" which propagate information to gadgets.
See http://wiki.amigaos.net/index.php/BOOPS ... _an_Object