Top Description Methods
com.sun.jna.platform.win32.COM.util

public Interface IUnknown

Known Direct Subinterfaces
com.sun.jna.platform.win32.COM.util.IDispatch
Annotations
@ComInterface
iid:{00000000-0000-0000-C000-000000000046}
Imports
com.sun.jna.platform.win32.COM.COMException, com.sun.jna.platform.win32.COM.util.annotation.ComInterface

Java friendly version of the IUnknown interface.

Method Summary

Modifier and TypeMethod and Description
public <T> T
queryInterface(Class<T> comInterface)

Returns a proxy object for the given interface.

Method Detail

queryInterfaceback to summary
public <T> T queryInterface(Class<T> comInterface) throws COMException

Returns a proxy object for the given interface. Assuming that the interface is annotated with a ComInterface annotation that provides a valid iid.

Will throw COMException if an error occurs trying to retrieve the requested interface, see exception cause for details.