Previous Book Contents Book Index Next

Inside Macintosh: Apple Game Sprockets Guide /
Chapter 3 - InputSprocket / InputSprocket Reference
InputSprocket Functions / Configuring the Application


ISpElement_GetGroup

You can use the ISpElement_GetGroup function to find out what group an element belongs to.

OSStatus ISpElement_GetGroup (
	const ISpElementReference inElement,
	UInt32 *outGroup);
inElement
A reference to the element whose group you want to get.
outGroup
On exit, a group ID.
function result
A result code.
DESCRIPTION
The ISpElement_GetGroup function returns in the outGroup parameter the group ID of the element specified in the inElement parameter. If the specified element does not belongs to a group, the function returns 0.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996