Important: The information in this document is obsolete and should not be used for new development.
SetCollectionExceptionProc
You use theSetCollectionExceptionProc
function 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
TheSetCollectionExceptionProc
function copies the function pointer from thenewExceptionProc
parameter into the collection object referenced by thetarget
parameter.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
GetCollectionExceptionProc
function, which is described in the previous section.For more information about exception procedures, see page 5-101.