Schnittstelle IUnknown

Alle bekannten Unterschnittstellen:
IDispatch
Alle bekannten Implementierungsklassen:
ProxyObject

public interface IUnknown
Java friendly version of the IUnknown interface.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    <T> T
    queryInterface(Class<T> comInterface)
    Returns a proxy object for the given interface.
  • Methodendetails

    • queryInterface

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

      Löst aus:
      COMException