16 Creating and Accessing FSSpec Storage Objects
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.
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. QuickDraw3D opens the file, and, when the associated storage object is closed or disposed of, QuickDraw3D closes the file. If Q3FSSpecStorage_New
cannot create a new storage object, it returns the value NULL
.kQ3ErrorOutOfMemory
kQ3ErrorNULLParameter
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker