[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME
        DoMethod -- Perform method on object.

   SYNOPSIS
        result = DoMethod( obj, MethodID, ... )

        ULONG DoMethod( object *, ulong, ... );

   FUNCTION
        Boopsi support function that invokes the supplied message
        on the specified object.  The message is invoked on the
        object's true class.  Equivalent to domethoda(), but allows
        you to build the message on the stack.

   INPUTS
        obj - pointer to boopsi object
        MethodID - which method to send (see <intuition/classusr.h>)
        ... - method-specific message built on the stack

   RESULT
        result - specific to the message and the object's class.

   NOTES
        This function first appears in the V37 release of amiga.lib.
        While it intrinsically does not require any particular release
        of the system software to operate, it is designed to work with
        the boopsi subsystem of Intuition, which was only introduced
        in V36.

   SEE ALSO
        domethoda(), coercemethoda(), dosupermethoda(), <intuition/classusr.h>
        ROM Kernel Manual boopsi section