UnRegisterSection
UnRegisterSection Remove a section from the list of registered
sections
#include <Editions.h> Edition Manager
SectionHandle sectionH ; a handle to a section record
returns Error Code; 0=no error
The UnRegisterSection function removes the section from the
Edition Manager's list of registered sections. You can then dispose of the
section record and alias record with standard Memory Manager and
Resource Manager calls. Once un registered, a section does not receive any
events and cannot read or write any data. Depending on your Clip board
strategy, you may want to unregister sections that have been cut into the
Clip board.
sectionH Iis a handle to the section record for a given section..
Returns: an operating system Error Code.
noErr (0) No error
fBsyErr (-47) Section doing I/O
editionMgrInitErr (-450) Manager not initialized
notRegisteredSectionErr (-452) Not registered

Notes: When a section needs to be disposed of because the document containing the
section is closing, or the user has canceled the section, you need to call the
UnRegisterSection function before disposing of the section.