|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jniwrapper.Parameter com.jniwrapper.win32.com.impl.IUnknownImpl
Class IUnknownImpl is an implementation of the IUnknown interface.
Nested Class Summary | |
static class |
IUnknownImpl.MemoryBufferImpl
|
Field Summary | |
static boolean |
DebugComfyJ
Specifies whether to debug ComfyJ. |
static java.lang.String |
INTERFACE_IDENTIFIER
|
protected static java.lang.String |
LICENSE_TYPE
|
protected static Pointer.Void |
PTR_NULL
|
Fields inherited from class com.jniwrapper.Parameter |
V |
Constructor Summary | |
|
IUnknownImpl()
|
|
IUnknownImpl(CLSID clsid,
ClsCtx dwClsContext)
|
|
IUnknownImpl(CLSID clsid,
IUnknown pUnkOuter,
ClsCtx dwClsContext)
|
|
IUnknownImpl(IUnknown that)
|
protected |
IUnknownImpl(IUnknownImpl that)
|
|
IUnknownImpl(Pointer.Void interfacePointer)
Constructor that creates an object from the pointer. |
Method Summary | |
void |
acceptIOPerformer(IOPerformer performer,
DataBuffer buffer,
int initialOffset,
boolean isReadOperation,
boolean invokedByCallback)
|
ULongInt |
addRef()
Increments the reference count for an interface on an object. |
void |
asVoidPointer(Pointer.Void target)
|
java.lang.Object |
clone()
|
void |
dumpVTBL()
|
boolean |
equals(java.lang.Object o)
|
void |
fromVoidPointer(Pointer.Void source)
|
java.lang.String |
getDebugInfo()
|
IID |
getIID()
|
java.lang.String |
getInterfaceIdentifier()
|
int |
getLength()
|
int |
hashCode()
|
protected HResult |
invokeStandardVirtualMethod(int funcIndex,
byte callingConvension)
|
protected HResult |
invokeStandardVirtualMethod(int funcIndex,
byte callingConvension,
Parameter p1)
|
HResult |
invokeStandardVirtualMethod(int funcIndex,
byte callingConvension,
Parameter[] parameters)
Invokes the method of the COM object specified by the funcIndex parameter. |
HResult |
invokeStandardVirtualMethod(int funcIndex,
byte callingConvension,
Parameter[] parameters,
boolean nothrow)
Invokes the method of the COM object specified by the funcIndex parameter. |
protected HResult |
invokeStandardVirtualMethod(int funcIndex,
byte callingConvension,
Parameter p1,
Parameter p2)
|
protected HResult |
invokeStandardVirtualMethod(int funcIndex,
byte callingConvension,
Parameter p1,
Parameter p2,
Parameter p3)
|
protected HResult |
invokeStandardVirtualMethod(int funcIndex,
byte callingConvension,
Parameter p1,
Parameter p2,
Parameter p3,
Parameter p4)
|
protected void |
invokeVirtualMethod(int funcIndex,
byte callingConvension,
Parameter returnValue)
|
protected void |
invokeVirtualMethod(int funcIndex,
byte callingConvension,
Parameter returnValue,
Parameter p1)
|
protected void |
invokeVirtualMethod(int funcIndex,
byte callingConvension,
Parameter returnValue,
Parameter[] parameters)
|
protected void |
invokeVirtualMethod(int funcIndex,
byte callingConvension,
Parameter returnValue,
Parameter p1,
Parameter p2)
|
protected void |
invokeVirtualMethod(int funcIndex,
byte callingConvension,
Parameter returnValue,
Parameter p1,
Parameter p2,
Parameter p3)
|
protected void |
invokeVirtualMethod(int funcIndex,
byte callingConvension,
Parameter returnValue,
Parameter p1,
Parameter p2,
Parameter p3,
Parameter p4)
|
boolean |
isAutoDelete()
|
boolean |
isNull()
|
static boolean |
isSameObject(IUnknown itf1,
IUnknown itf2)
Returns true if two interface pointers point to the same object else returns false |
void |
queryInterface(IID iid,
IUnknown pReqInterface)
Retrieves pointers to the supported interfaces on an object. |
void |
queryInterface(IUnknown pReqInterface)
|
void |
read(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
|
ULongInt |
release()
Decrements the reference count for an interface on an object. |
void |
setAutoDelete(boolean autoDelete)
|
void |
setNull()
|
void |
setValue(IUnknown newValue)
Sets this interface pointer to the specified unknown pointer. |
void |
write(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
|
Methods inherited from class com.jniwrapper.Parameter |
|
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final java.lang.String LICENSE_TYPE
public static boolean DebugComfyJ
protected static Pointer.Void PTR_NULL
public static final java.lang.String INTERFACE_IDENTIFIER
Constructor Detail |
public IUnknownImpl()
protected IUnknownImpl(IUnknownImpl that) throws ComException
public IUnknownImpl(IUnknown that)
public IUnknownImpl(CLSID clsid, ClsCtx dwClsContext) throws ComException
public IUnknownImpl(CLSID clsid, IUnknown pUnkOuter, ClsCtx dwClsContext) throws ComException
public IUnknownImpl(Pointer.Void interfacePointer)
interfacePointer
- pointer to interfaceMethod Detail |
public boolean isNull()
isNull
in interface IUnknown
public void setNull()
setNull
in interface IUnknown
public void write(DataBuffer stackBuffer, int offset, boolean invokedByCallback) throws MemoryAccessViolationException
MemoryAccessViolationException
public void read(DataBuffer stackBuffer, int offset, boolean invokedByCallback) throws MemoryAccessViolationException
MemoryAccessViolationException
public void fromVoidPointer(Pointer.Void source)
public void setValue(IUnknown newValue)
newValue
- new pointer valuepublic void asVoidPointer(Pointer.Void target)
public void acceptIOPerformer(IOPerformer performer, DataBuffer buffer, int initialOffset, boolean isReadOperation, boolean invokedByCallback)
public int getLength()
public boolean isAutoDelete()
isAutoDelete
in interface AutoDeleteParameter
public void setAutoDelete(boolean autoDelete)
setAutoDelete
in interface AutoDeleteParameter
public void dumpVTBL()
public static boolean isSameObject(IUnknown itf1, IUnknown itf2)
itf1
- interface pointeritf2
- interface pointer
public boolean equals(java.lang.Object o)
public int hashCode()
public final void queryInterface(IUnknown pReqInterface) throws ComException
ComException
public final void queryInterface(IID iid, IUnknown pReqInterface) throws ComException
IUnknown
queryInterface
in interface IUnknown
iid
- [in]
pReqInterface
- [out]
ComException
- if the interface is not supportedpublic final ULongInt addRef()
IUnknown
addRef
in interface IUnknown
public final ULongInt release()
IUnknown
release
in interface IUnknown
public IID getIID()
public java.lang.Object clone()
public final java.lang.String getInterfaceIdentifier()
protected final void invokeVirtualMethod(int funcIndex, byte callingConvension, Parameter returnValue, Parameter[] parameters)
protected final void invokeVirtualMethod(int funcIndex, byte callingConvension, Parameter returnValue)
protected final void invokeVirtualMethod(int funcIndex, byte callingConvension, Parameter returnValue, Parameter p1)
protected final void invokeVirtualMethod(int funcIndex, byte callingConvension, Parameter returnValue, Parameter p1, Parameter p2)
protected final void invokeVirtualMethod(int funcIndex, byte callingConvension, Parameter returnValue, Parameter p1, Parameter p2, Parameter p3)
protected final void invokeVirtualMethod(int funcIndex, byte callingConvension, Parameter returnValue, Parameter p1, Parameter p2, Parameter p3, Parameter p4)
public final HResult invokeStandardVirtualMethod(int funcIndex, byte callingConvension, Parameter[] parameters) throws ComException
funcIndex
parameter.
funcIndex
- is an index of the method in VTBL.callingConvension
- is a calling convention.parameters
- are parameters of the method.
ComException
public final HResult invokeStandardVirtualMethod(int funcIndex, byte callingConvension, Parameter[] parameters, boolean nothrow)
funcIndex
parameter.
funcIndex
- is an index of the method in VTBL.callingConvension
- is a calling convention.parameters
- are parameters of the method.nothrow
- do not throw a ComExceptionprotected final HResult invokeStandardVirtualMethod(int funcIndex, byte callingConvension) throws ComException
ComException
protected final HResult invokeStandardVirtualMethod(int funcIndex, byte callingConvension, Parameter p1) throws ComException
ComException
protected final HResult invokeStandardVirtualMethod(int funcIndex, byte callingConvension, Parameter p1, Parameter p2) throws ComException
ComException
protected final HResult invokeStandardVirtualMethod(int funcIndex, byte callingConvension, Parameter p1, Parameter p2, Parameter p3) throws ComException
ComException
protected final HResult invokeStandardVirtualMethod(int funcIndex, byte callingConvension, Parameter p1, Parameter p2, Parameter p3, Parameter p4) throws ComException
ComException
public java.lang.String getDebugInfo()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |