Called by the framework to notify your component of component related events.
The type of notification event.
|A new component has been registered with the framework|
|A new interface was registered with the framework. This message is where you typically track of interfaces you depend on and return TRUE from QueryInitInterfaces if all required interfaces have been notified|
|A component has had it's Start() function called|
|A component has had it's Stop() function called|
|The host framework is notifying you of a shutdown request. You can abort the shutdown through the return code.|
|The framework is up and running, all component initialisation is complete|
|A client (WinGate Management Console) has requested a disconnect from the WinGate Engine|
|All components are about to be stopped|
|The WinGate engine is about to stop|
Context data relating to the notification type being processed.
|Notification Type||pData type|
|A pointer to the ComponentEntry object of the new component|
|Pointer to the ComponentInterfaceEntry object that was just registered.|
|A pointer to the ComponentEntry object of the started component|
|A pointer to the ComponentEntry object of the stopped component|
For COMPONENT_NOTIFY_QUERYSHUTDOWN notification events you can return COMPONENT_NOTIFYRET_DENYSHUTDOWN to halt the shutdown or 0 to allow the shutdown.
For all other notification events the return type has no meaning.