GetComponents - configuration of part used...

I'm trying to traverse the SolidWorks tree in an Assembly file.  I'm using the GetComponents method, but I'm not having any luck getting the configuration name of the part used.

I've tried accessing the ModelDoc of a component in the tree and getting it's active configuration, but when I have the same part used in an assembly, but at two different configurations, that just tells me I have 2 of configuration 01 instead of telling me that I have 1 configuration 01 and 1 configuration 02 in the assembly.

Can anyone tell me how to get it to return the actual configuration name used.

SolidworksApi macros