How do export "DPI-C" task call sequence?

In reply to birdluo:

Sound a little bit confusing to me.
Do you want to start a sequence from a piece of C-code? Is this right?
This is possible but it complicates the common mechanism.