com.develop.jawin
Class UnknownPtr
java.lang.Object
|
+--com.develop.jawin.COMPtr
|
+--com.develop.jawin.UnknownPtr
- All Implemented Interfaces:
- IUnknown, VarTypes, WellKnownGUIDs
- Direct Known Subclasses:
- DispatchPtr
- public class UnknownPtr
- extends COMPtr
UnknownPtr class the same as DispatchPtr but for IUnknown
- Author:
- Vitally Shelest
Fields inherited from interface com.develop.jawin.constants.VarTypes |
VARIANT_FALSE, VARIANT_TRUE, VT_ARRAY, VT_BLOB, VT_BLOB_OBJECT, VT_BOOL, VT_BSTR, VT_BYREF, VT_CARRAY, VT_CF, VT_CLSID, VT_CY, VT_DATE, VT_DECIMAL, VT_DISPATCH, VT_EMPTY, VT_ERROR, VT_FILETIME, VT_HRESULT, VT_I1, VT_I2, VT_I4, VT_I8, VT_ILLEGAL, VT_ILLEGALMASKED, VT_INT, VT_LPSTR, VT_LPWSTR, VT_NULL, VT_PTR, VT_R4, VT_R8, VT_RESERVED, VT_SAFEARRAY, VT_STORAGE, VT_STORED_OBJECT, VT_STREAM, VT_STREAMED_OBJECT, VT_TYPEMASK, VT_UI1, VT_UI2, VT_UI4, VT_UI8, VT_UINT, VT_UNKNOWN, VT_USERDEFINED, VT_VARIANT, VT_VECTOR, VT_VOID |
Methods inherited from class com.develop.jawin.COMPtr |
close, comInvoke, copyUnknown, finalize, getPeer, getUnknown, hasFTM, nullUnknown, releaseUnknown, setPeer, setUnknown, stealUnknown, toGITRef, toString |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
proxyIID
public static final GUID proxyIID
- proxy iid
iidToken
public static final int iidToken
- iid token
UnknownPtr
protected UnknownPtr()
- Creates empty UnknownPtr
UnknownPtr
public UnknownPtr(java.lang.String progid)
throws COMException
- Creates UnknpwnPtr by ProgID
- Parameters:
progid
- ProgID- Throws:
COMException
- JNI/COM exception
UnknownPtr
public UnknownPtr(GUID guid)
throws COMException
- Creates UnknpwnPtr by CLSID
- Parameters:
guid
- CLSID- Throws:
COMException
- JNI/COM exception
UnknownPtr
public UnknownPtr(int unknown)
throws COMException
- Creates new UnknpwnPtr by with unknown handler
- Parameters:
unknown
- handler- Throws:
COMException
- JNI/COM exception
UnknownPtr
public UnknownPtr(IUnknown unk)
throws COMException
- Clones other object
- Parameters:
unk
- object- Throws:
COMException
- JNI/COM exception
static void ()
getGuidToken
public int getGuidToken()
- Returns guid token
- Returns:
- token
queryInterface
public IUnknown queryInterface(java.lang.Class newItf)
- Description copied from class:
COMPtr
- Queries interface and
- Overrides:
queryInterface
in class COMPtr
- Following copied from class:
com.develop.jawin.COMPtr
- Parameters:
newItf
- class to query- Returns:
- new IUnknown object
New Jawin designed by Vitally Shelest. This product includes software developed by the DevelopMentor OpenSource Project (http://www.develop.com/OpenSource).