Previous Book Contents Book Index Next

Inside Macintosh: Apple Game Sprockets Guide /
Chapter 2 - DrawSprocket / DrawSprocket Reference
DrawSprocket Functions / Manipulating a Context


DSpContext_Release

You can use the DSpContext_Release function to release a context you are finished using.

OSStatus DSpContext_Release  (DSpContextReference inContext);
inContext
A reference to the context to be released.
function result
A result code.
DESCRIPTION
When you are finished using a context, you must release it with the DSpContext_Release function. You pass the function a reference to the context to be released in the inContext parameter. Releasing the context does not necessarily remove the blanking window from its graphics device's display. All displays remain covered by the blanking window until all contexts have been released or put in an inactive play state.

CALLING RESTRICTIONS
Do not call this function during an interrupt.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996