AssociateSection
AssociateSection Update a section's alias record
#include <Editions.h> Edition Manager
OSErr AssociateSection(sectionH ,newSectionDocument);
SectionHandle sectionH ; ‹a handle to a section record
const FSSpec *newSectionDocument ; contains the volume reference number,
directory ID, and filename of the new
document
returns Error Code; 0=no error
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 the AssociateSection function to update the section's
alias record.
sectionH is a handle to the section record for a given section.
newSectionDocument contains the volume reference number, directory ID, and
filename of the new document. The AssociateSection
function calls UpdateAlias on the section's alias record.
Returns: an operating system Error Code.
noErr (0) No error