Microsoft SDK for Java

convert_IUnknown_to_Java_Object

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.

Syntax

Hjava_lang_Object *__cdecl convert_IUnknown_to_Java_Object(IUnknown *punk, Hjava_lang_Object *phJavaClass, int fAssumeThreadSafe);

Parameters

*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.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.