Previous Book Contents Book Index Next

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


ISpDevice_IsActive

You can use the ISpDevice_IsActive function to find out if a device is active.

OSStatus ISpDevice_IsActive (
	ISpDeviceReference inDevice,
	Boolean *outIsActive);
inDevice
A reference to a device.
outIsActive
This value is true if the device is active, false if it is inactive.
function result
A result code.
DESCRIPTION
You pass the ISpDevice_IsActive function a reference to a device in the inDevice parameter and it returns, in the outIsActive parameter, true if the device is active or false if it is inactive.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996