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.
Hjava_lang_Object *__cdecl convert_IUnknown_to_Java_Object(IUnknown *punk, Hjava_lang_Object *phJavaClass, int fAssumeThreadSafe);
*punk | The address of the IUnknown interface. |
*phJavaClass | The reference to the Java class. |
fAssumeThreadSafe | The flag which, if false, causes the Microsoft VM to auto-marshal all COM calls to the current COM context. |