IsRegisteredSection
IsRegisteredSection Verify that each event received is for a registered
section
#include <Editions.h> Edition Manager
SectionHandle sectionH ; a handle to a section record
returns Error Code; 0=no error
Using the IsRegisteredSection function, your application must verify that
each event received is for a registered section. This is necessary because your
application may have just called UnRegisterSection while the event was
already being held in the event queue.
sectionH Iis a handle to the section record for a given section..
Returns: an operating system Error Code.
noErr (0) No error
notRegisteredSectionErr (-452) Not registered

Notes: The IsRegisteredSection function does not return a Boolean--a noErr
result code indicates that a section is registered.