Previous Book Contents Book Index Next

Inside Macintosh: Apple Game Sprockets Guide /
Chapter 3 - InputSprocket / InputSprocket Reference
InputSprocket Functions / Managing Element Lists


ISpElementList_RemoveElements

You can use the ISpElementList_RemoveElements function to remove elements from an element list.

OSStatus ISpElementList_RemoveElements (
	ISpElementListReference inElementList,
	UInit32 count,
	ISpElementReference *oldElement);
inElementList
A reference to the element list you want to remove elements from.
count
The number of elements to remove from the list.
oldElement
A pointer to a block of element references.
function result
A result code.
DESCRIPTION
The ISpElementList_RemoveElements function removes the number of elements specified by the count parameter from the element list referred to by the inElementList parameter. The oldElement parameter points to a block of references to the elements to be removed.

CALLING RESTRICTIONS
Do not call ISpElementList_RemoveElements at interrupt time.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996