[URGENT]Subform Insertion using C API

We are facing a strange problem using C API.Purpose:

Add a subform programmatically using C API into number of Forms in the same database at somewhere in the middle of forms.

Problem:

-We are able to insert the subform using ‘SubformInsert’ function

-But it goes to the end of each form, which we DO NOT want

Code:

SubformInsert(hDB,pSubForm,Form,HOTSPOTREC_RUNFLAG_EXTACTION);

Is it someting to do with HOTSPOTREC_RUNFLAG_EXTACTION keyword?

Is there any way we can, add it to the specified location in the form?

Any help will be appreciated.

Thanks in advance.