Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 16 - Storage Objects / Storage Objects Reference
Storage Objects Routines / Creating and Accessing FSSpec Storage Objects


Q3FSSpecStorage_New

You can use the Q3FSSpecStorage_New function to create a new memory storage object specified using a file system specification structure.

TQ3StorageObject Q3FSSpecStorage_New (const FSSpec *fs);
fs
A file system specification structure specifying the name and location of a Macintosh file.
DESCRIPTION
The Q3FSSpecStorage_New function returns, as its function result, a new storage object associated with the Macintosh file specified by the fs parameter. The specified file is assumed to be closed. QuickDraw 3D opens the file, and, when the associated storage object is closed or disposed of, QuickDraw 3D closes the file. If Q3FSSpecStorage_New cannot create a new storage object, it returns the value NULL.

ERRORS
kQ3ErrorOutOfMemory
kQ3ErrorNULLParameter


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help