Feature->IIsSuppressed2

Hello
I am Working on C++ code that check whether selected feature issupressed or not in the drawing document.
When I am using IIsSuppressed2 API for this configuration, I amgetting same value for (states) supressed and unsupressed case.
I also Created macro for this purpose, it works fine.
can anyone have example that uses this Api.
Feature->IIsSuppressed2 ( config_opt, config_count,config_names, *states)
SolidworksApi macros