Getting GetConfigurationNames in Delphi?

Hi all

How does this work?
I cannot get all name...

This works, but return only the word "layput" and ii as 4 - thereis 4 configurations...

params (widestring) := SWPart.IGetConfigurationNames(ii);

How do I use GetConfigurationNames and how do I get those names?

WBR
SonnichSolidworksApi macros