Previous Book Contents Book Index Next

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


ISpElement_GetDevice

You can use the ISpElement_GetDevice function to find out what device an element belongs to.

OSStatus ISpElement_GetDevice (
	const ISpElementReference inElement,
	ISpDeviceReference *outDevice);
inElement
A reference to the element whose device you want to get.
outDevice
On exit, a device reference.
function result
A result code.
DESCRIPTION
The ISpElement_GetDevice function returns, in the outDevice parameter, a device reference for the device the element specified in the inElement parameter belongs to.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996