Important: The information in this document is obsolete and should not be used for new development.
|
|
Log In | Not a Member? |
Contact ADC |
AssociateSection
If a user saves a document that contains sections under another name (using Save As) or pastes a portion of a document that contains a section into another document, use theAssociateSectionfunction to update the section's alias record.
FUNCTION AssociateSection (sectionH: SectionHandle; newSectionDocument: FSSpecPtr): OSErr;
sectionH- A handle to the section record for a given section.
newSectionDocument- The volume reference number, directory ID, and filename of the new document.
DESCRIPTION
TheAssociateSectionfunction callsUpdateAliason the section's alias record.RESULT CODES
noErr 0 No error paramErr -50 Invalid parameter SEE ALSO
For information on theUpdateAliasfunction, see the chapter "Alias Manager" in Inside Macintosh: Files.
Get information on Apple products.
Visit the Apple Store online or at retail locations. 1-800-MY-APPLE Copyright © 2007 Apple Inc. All rights reserved. | Terms of use | Privacy Notice |