Microsoft SDK for Java

convert_IUnknown_to_Java_Object2

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.

Syntax

Hjava_lang_Object *__cdecl convert_IUnknown_to_Java_Object2(IUnknown *punk, ClassClass *pClassClass, int fFreeThreaded);

Parameters

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

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