Previous Book Contents Book Index Next

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


ISpDevice_GetDefinition

You can use the ISpDevice_GetDefinition function to get a device definition structure for a specified device.

OSStatus ISpDevice_GetDefinition (
	const ISpDeviceReference inDevice,
	UInt32 buflen,
	ISpDeviceDefinition *outStruct);
inDevice
The device whose device definition structure you want to get.
buflen
The length of the device definition buffer.
outStruct
A pointer to a device definition structure.
function result
A result code.
DESCRIPTION
The ISpDevice_GetDefinition function returns a pointer to a device definition structure for the device specified in the inDevice parameter and stores it in the location passed in the outStruct parameter. You also pass in, in the buflen parameter, the length of the buffer needed for a device definition structure.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996