call a published native functions with pointers

I have published a native function ( with PP as parameters type ), that requires two parameters of pointer type :

Is it right to recall the function like this ?

sprintf(espressione, "myfunction(%lld,%lld)",
   (long long)elemDPP,
   (long long)&featureCorrente);

when i try to access the pointer in published function, it seems invalid