Custom API

If you want to create your own custom CpsEvents handling, you can find a sample cmake project in the samples under xpm/Samples/C++/cpsevents, which reflects the default behavior of cpsrt.

The interface definition cpsevents.h can also be found there.

Essentially, two core interfaces are defined, comprising two functions (CpsGetLicenseAccessFilter, CpsOnEvent) and a structure (CpsEventsContext).