Definition
typedef struct tagCustomEventInfo { unsigned long ulThemeKey; PFNADDGRAPHICCALLBACK pfnAGCB; PFNREMOVEGRAPHICCALLBACK pfnRGCB; long ulSessionData; unsigned long ulEventHint; } CustomEventInfo;
Members
ulThemeKey [in]
A plugin defined value. This is defined in fnLoadShapes function.
pfnAGCB [in]
A callback function of type PFNADDGRAPHICCALLBACK. This function should be called to notify ShapeUp of new shapes. If the callback returns true, the shape was accepted, if it returns false, the shape may be discarded by the plugin and its memory should be deleted.
pfnRGCB [in]
A callback function of type PFNREMOVEGRAPHICCALLBACK . This function should be called to notify ShapeUp if an existing shape needs to be removed. If the callback returns true, the shape was removed, if it returns false, the shape could not be removed.
ulSessionData [in]
This value should be the first argument to the callback functions of this structure. This value must not be modified.
ulEventHint [in]
This is the default color of the theme. It may be modified by the plugin to any other color.
Remarks
A pointer to this structure is sent to the fnHandleCustomEvent function when the plugin has raised a custom event.
See Also
Loader API, fnHandleCustomEvent, fnLoadShapes