CoolMon 2 : SDKInfoList

The Info List

During development of the framework it became apparent that we needed to be able to attach some information to all plugins. This information is not handled by CoolMon 2; it’s merely a way to communicate basic information to the user of the plugin. This information can be anything from credits to plugin requirements to copyright information. There is not set standard or requirement for what information you must provide (however we do recommend always providing the 4 mentioned below).


You can of course add as many field as your like to your list, these are just what I feel all plugin should have as minimum.

Function GetInfoCount(OUT InfoCount: Integer)...
Provide the length of your info list in InfoCount, if the above list it would be 4.

Function GetInfo(Index: Integer; OUT InfoName: PChar; OUT InfoVar: PChar)...
Provide the info for the record at index, in the above list if CM2 was asking for 1 (provided in index) it you should set InfoName to "Created" and InfoVar to "date of plugin creations" since the list starts at zero.