GetObjectInfo

Gets the current settings of an object.

Synopsis

Err GetObjectInfo( CObject *obj, TagArg *tags )

Description

This is a method macro that is part of the Juggler object-oriented toolbox. An object's method can be called explicitly through the class structure function pointer, or with one of the defined method macros. This method macro replaces the TagArg values in the specified tag argument list with the values currently defined for the object. Use this function to get information about the current state of an object.

See SetObjectInfo() for a list of the tag arguments supported.

Arguments

obj
A pointer to the CObject data structure for the object.
tags
A pointer to the TagArg list.

Return Value

This macro returns 0 if successful or an error code (a negative value) if an error occurs.

Implementation

Macro implemented in cobj.h V20.

Associated Files

cobj.h, music.lib

See Also

SetObjectInfo(), StopObject(), AllocObject(), FreeObject(), GetNthFromObject(), RemoveNthFromObject(), PrintObject(), StartObject()