NewUserDataFromHandle
TheNewUserDataFromHandlefunction creates a new user data structure from a handle.
pascal OSErr NewUserDataFromHandle (Handle h, UserData *theUserData);
h- Contains a handle to the data structure specified in the parameter
theUserData.theUserData- Contains a pointer to a new user data structure.
DESCRIPTION
The handle specified in thehparameter must be in the standard user data storage format (that is, as an atom, just like a public movie). Usually the handle will have been created by callingPutUserDataIntoHandle(described in the previous section).ERROR CODES
memFullErr -108 Not enough room in heap zone
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help