public class IUnknown extends PointerType
Modifier and Type | Class and Description |
---|---|
static class |
IUnknown.ByReference
The Class ByReference.
|
Modifier and Type | Field and Description |
---|---|
static Guid.IID |
IID_IDispatch
The Constant IID_IDispatch.
|
Constructor and Description |
---|
IUnknown()
Instantiates a new i unknown.
|
IUnknown(Pointer pvInstance)
Instantiates a new i unknown.
|
Modifier and Type | Method and Description |
---|---|
int |
AddRef()
Adds the ref.
|
WinNT.HRESULT |
QueryInterface(Guid.IID riid,
PointerByReference ppvObject)
Query interface.
|
int |
Release()
Release.
|
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
public static final Guid.IID IID_IDispatch
public IUnknown()
public IUnknown(Pointer pvInstance)
pvInstance
- the pv instancepublic WinNT.HRESULT QueryInterface(Guid.IID riid, PointerByReference ppvObject)
riid
- the riidppvObject
- the ppv objectpublic int AddRef()
public int Release()