When VWorks software loads each plugin, it checks whether the plugin implements the IControllerClient interface. If the plugin does,
VWorks software calls the
SetController method and passes a pointer to itself in the
Controller parameter. The pointer is valid because
VWorks software implements the IWorksController interface. See
“IWorksController interface” .
The plugin stores the pointer and uses it to call the following IWorksController methods, which asks
VWorks software to perform actions that the plugin cannot do on its own.