Brew MP 1.0.2
This data type defines the callback handlers a object implementing the handler interface
will use to handle events and -- when the object is finally released -- free any private
storage allocated by the object.
pfn: Pointer to the callback function that BREW will call when handling
events sent to this object. This routine will override the default
event handling routine, allowing an application to perform custom
event handling for the object.
pCxt: A pointer to private data allocated and managed by the caller that
has registered the handler. This data pointer is passed into the
event handler, as well as the free handler, providing each of these
callbacks with access to this private storage.
pfnFree: Pointer to the callback function that BREW will call when freeing the
private memory associated with the handler. This gives the object
the opportunity to release any "deep storage" that may have been
allocated by the object.