Important: The information in this document is obsolete and should not be used for new development.
GetODHandleDestructor
Retrieves a destructor for anODHandle
object.
ParamDestructorUPP GetODHandleDestructor ();
- return value
- A pointer to a destructor function that takes two parameters: an environment pointer and a pointer of type
ODPtr*
; the function returns no value. The function has the following form:void
ODHandleDestructor (Environment* ev,
ODPtr* odHandle);
DISCUSSION
You call this method to retrieve a destructor function suitable for anODHandle
object. The destructor function disposes of theODHandle
object, as shown in the following example:
ODHandleDestructor (Environment* ev, ODPtr* odHandle) { ODDisposeHandle (odHandle); }If you subclassParameterSet
, do not override this method.