Important: The information in this document is obsolete and should not be used for new development.
SetCollectionExceptionProc
You use theSetCollectionExceptionProcfunction to install an exception procedure in a collection object.
void SetCollectionExceptionProc(Collection target, CollectionExceptionProc newExceptionProc);
target- A reference to the collection object whose exception procedure you want to change.
- newExceptionProc
- A pointer to the new exception procedure.
DESCRIPTION
TheSetCollectionExceptionProcfunction copies the function pointer from thenewExceptionProcparameter into the collection object referenced by thetargetparameter.SEE ALSO
For an example using this function, see "Installing an Exception Procedure" beginning on page 5-45.To obtain a pointer to an existing exception procedure in a collection object, use the
GetCollectionExceptionProcfunction, which is described in the previous section.For more information about exception procedures, see page 5-101.