[CONNECT C++] mdlElementTemplate_getElementParam() replacement

Hi, I have V8i MDL code using

mdlElementTemplate_getElementParam()  and

mdlElementTemplate_getNumElementParams()

Looking for a replacement of these functions, I searched the Connect 10 Update 14 SDK and found:

ElementTemplateParamsHelper::GetEntryCount (UInt32& numEntries, ECN::IECInstanceCR etInstance, ElementParameterType param);

ElementTemplateParamsHelper::GetElementColor(UInt32& color, DgnModelRefP modelRef, ECN::IECInstanceCR etInstance, UInt index=0);

How do I fill the input parameter ECN::IECInstanceCR etInstance?