Skip navigation links
JNA API 5.10.0
com.sun.jna.platform.win32.COM.util

Interface IUnknown

  • All Known Subinterfaces:
    IDispatch
    All Known Implementing Classes:
    ProxyObject


    public interface IUnknown
    Java friendly version of the IUnknown interface.
    • Method Detail

      • queryInterface

        <T> T queryInterface(java.lang.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.

        Throws:
        COMException
JNA API 5.10.0

Copyright © 2007-2018 Timothy Wall. All Rights Reserved.