16 Creating and Accessing Macintosh Storage Objects
Q3MacintoshStorage_New
function to create a new Macintosh storage object.
TQ3StorageObject Q3MacintoshStorage_New (short fsRefNum);
fsRefNum
A file reference number of the data fork of a Macintosh file. This file must already be open.
Q3MacintoshStorage_New
function returns, as its function result, a new storage object associated with the Macintosh file specified by the fsRefNum
parameter. The specified file is assumed to be open, and it must remain open as long as you use the returned storage object. In addition, you are responsible for closing the file once the associated storage object has been closed or disposed of. If Q3MacintoshStorage_New
cannot create a new storage object, it returns the value NULL
.kQ3ErrorOutOfMemory
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker