Previous Book Contents Book Index Next

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


ISpElement_GetInfo

You can use the ISpElement_GetInfo function to get an element information structure for an element. This function returns information common to all elements (kind, label, and human-readable string). To get element kind-specific information use the ISpElement_GetConfigurationInfo function (page 3-46).

OSStatus ISpElement_GetInfo (
	const ISpElementReference inElement,
	ISpElementInfoPtr outInfo);
inElement
A reference to the element whose element information structure you want to get.
outInfo
On exit, a pointer to an element information structure.
function result
A result code.
DESCRIPTION
The ISpElement_GetInfo function takes an element reference in the inElement parameter and returns a pointer to the element information structure for that element in the outInfo parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996