Returns a Java callable wrapper that can be used to access the specified interface pointer. The Microsoft VM will keep a reference to this interface pointer. If fFreeThreaded is false, the Microsoft VM auto-marshals all COM calls to the current COM context.
Hjava_lang_Object *__cdecl convert_IUnknown_to_Java_Object2(IUnknown *punk, ClassClass *pClassClass, int fFreeThreaded);
*punk | The address of the IUnknown interface. |
*pClassClass | The reference to the specified class. |
fFreeThreaded | The flag which, if false, causes the Microsoft VM to auto-marshal all COM calls to the current COM context. |