Package com.sun.jna.platform.win32.COM
Class Unknown
- java.lang.Object
-
- com.sun.jna.PointerType
-
- com.sun.jna.platform.win32.COM.COMInvoker
-
- com.sun.jna.platform.win32.COM.Unknown
-
- All Implemented Interfaces:
NativeMapped
,IUnknown
- Direct Known Subclasses:
ConnectionPoint
,ConnectionPointContainer
,Dispatch
,EnumMoniker
,EnumVariant
,Moniker
,RecordInfo
,RunningObjectTable
,TypeComp
,TypeInfo
,TypeLib
,Unknown.ByReference
,Wbemcli.IEnumWbemClassObject
,Wbemcli.IWbemClassObject
,Wbemcli.IWbemContext
,Wbemcli.IWbemLocator
,Wbemcli.IWbemServices
public class Unknown extends COMInvoker implements IUnknown
Wrapper class for the ITypeInfo interface Method Name V-Table Offset IUnknown.QueryInterface 0 IUnknown.AddRef 4 IUnknown.Release 8- Author:
- Tobias Wolf, wolf.tobias@gmx.net
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Unknown.ByReference
-
Field Summary
-
Fields inherited from interface com.sun.jna.platform.win32.COM.IUnknown
IID_IUNKNOWN
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
AddRef()
WinNT.HRESULT
QueryInterface(Guid.REFIID riid, PointerByReference ppvObject)
Query interface.int
Release()
-
Methods inherited from class com.sun.jna.platform.win32.COM.COMInvoker
_invokeNativeInt, _invokeNativeObject, _invokeNativeVoid
-
Methods inherited from class com.sun.jna.PointerType
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
-
-
-
-
Constructor Detail
-
Unknown
public Unknown()
-
Unknown
public Unknown(Pointer pvInstance)
Instantiates a new i unknown.- Parameters:
pvInstance
- the pv instance
-
-
Method Detail
-
QueryInterface
public WinNT.HRESULT QueryInterface(Guid.REFIID riid, PointerByReference ppvObject)
Query interface.- Specified by:
QueryInterface
in interfaceIUnknown
- Parameters:
riid
- the riidppvObject
- the ppv object- Returns:
- the hresult
-
-