a wrapper is been written for a .dll file to use in python. a function has argument as reference of instance of structure of structures. like this
this is C#
settings(Int32 hObject, ref FSettings pSettings)

public struct FSettings
{
public UInt16 perf_en;
public CSETTINGS C1;
public CFSETTINGS Cf1;
}

public struct CSETTINGS
...