API:C++ Create MacroFeature Example

I am new to this forum. May be this question already asked before.

I am trying to create a MacroFeature in Solidworks. Do we have any example in C++ not in C#?

I actually want to know how to use InsertMacroFeature3 as it has many arguments.

SolidworksApi macros