RaiseGenericEventCB

Purpose

When an application or plug-in registers to receive specific types of generic HSEvent callbacks, this procedure is used to raise those callbacks and send information to that application.  See RegisterGenericEventCB, UnRegisterGenericEventCB, and HSEvent information for more details.  

This procedure is also available to plug-ins using the CallBack object.

Parameters

Parameter: Generic Type
Type: string
Description: This is the generic type name that was used when the receiving plug-in or application called RegisterGenericEventCB.  If you know that the plug-in or application that you wish to raise the generic event with used an asterisk as the Generic Type, then you can use any text here as that plug-in will receive all generic event callbacks.

Parameter: Parms()
Type: Array of Objects
Description: These are parameters that you wish to be passed to the receiving application.  As an array of objects, it can contain strings, integers, other objects, etc.

Parameter: Object ID
Type: object or string
Description: This provides the name of the plug-in or application raising the event.  If an object is provided, then the object's Name() procedure will be called to get the object name.  If a string is provided, then that will be passed to the receiving application verbatim.  When used with the scripting interface, always provide a string object.

Returns

None.

Example