Yes, IIRC the trick is to split the pointer I two integers and pass the halves separately.
Which would imply that you know that sizeof(int) * 2 == sizeof(void*). That's a good assumption for x86-64 architectures but doesn't sound very portable at all.
There are many ways to recover portability.
I checked the API. It looks like a variadic function, so you can pass any arguments to it?