How to detect the suppression event of macro feature

Hi everyone,

I work on a tool solidworks as a macro feature, I want to detect the event suppression of macro feature from the feature manager tree, For now I detect the event click on the macro feature and also the suppression event of macro feature in the same function Security of SwComFeature interface.

How can I make the difference between these two behavior to detect the suppression of macro feature?

SolidworksApi macros