Event subscriber extension sample overview

This sample demonstrates how to add support for a new event source library, as described in Creating event subscriber extensions.

Detail of the event subscriber extension sample

This sample demonstrates a very simple event source library that adds support for one event with four details.

The sample code consists of C++ source for the event source library.

essdk.cpp
Source file that implements the following entry points:

initialize
Initialization routine, typically used to verify environment and to allocate any required resources.

rootQualifier
Returns the root qualifier for this event source.

eventSourceQualifiers
Returns object that describes sample event.

run
Called when the Event Subscriber Client is ready to process getServerList method calls.

updateIndication
Not used.

finalize
Called when the DLL is unloaded, allows the library to release any system resources it is using.

essdk.rc
Defines string resources used by the event source library.

Source files of the sample