com.develop.jawin
Class IdentityManager
java.lang.Object
com.develop.jawin.IdentityManager
- public class IdentityManager
- extends java.lang.Object
COM helper class. Loads native code dll.
Field Summary |
static boolean |
traceRefs
property to trace |
Method Summary |
static COMPtr |
createDirectRef(COMPtr src)
|
static COMPtr |
createGITRef(COMPtr src)
|
static void |
DecRef(int peer)
decrements the cached ref count for the proxy. |
static COMPtr |
getCOMPtr(byte[] stream,
int offset,
GUID iid)
|
static COMPtr |
getCOMPtr(int peer,
int unk,
GUID iid)
|
static COMPtr |
getCOMPtr(LittleEndianInputStream leis,
GUID iid)
|
static DispatchPtr |
newListener(java.lang.Class newItf,
java.lang.Object src)
|
static COMPtr |
queryInterface(java.lang.Class newItf,
COMPtr src)
|
static int |
registerProxy(GUID iid,
java.lang.Class proxy)
Each COM iid must have a proxy class registered with the system. |
static int |
registerRecord(GUID iidTlb,
GUID iidRec,
java.lang.Class proxy)
|
static int |
registerTypeInfo(GUID iid)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
traceRefs
public static final boolean traceRefs
- property to trace
IdentityManager
public IdentityManager()
queryInterface
public static COMPtr queryInterface(java.lang.Class newItf,
COMPtr src)
- Parameters:
newItf
- src
-
- Returns:
newListener
public static DispatchPtr newListener(java.lang.Class newItf,
java.lang.Object src)
throws COMException
- Parameters:
newItf
- src
-
- Returns:
-
- Throws:
COMException
createGITRef
public static COMPtr createGITRef(COMPtr src)
- Parameters:
src
-
- Returns:
createDirectRef
public static COMPtr createDirectRef(COMPtr src)
- Parameters:
src
-
- Returns:
DecRef
public static void DecRef(int peer)
- decrements the cached ref count for the proxy. If count reaches zero,
revoke the GIT pointer
getCOMPtr
public static COMPtr getCOMPtr(int peer,
int unk,
GUID iid)
- Parameters:
peer
- unk
- iid
-
- Returns:
getCOMPtr
public static COMPtr getCOMPtr(LittleEndianInputStream leis,
GUID iid)
throws java.io.IOException,
COMException
- Parameters:
leis
- iid
-
- Returns:
-
- Throws:
java.io.IOException
COMException
getCOMPtr
public static COMPtr getCOMPtr(byte[] stream,
int offset,
GUID iid)
throws COMException
- Parameters:
stream
- offset
- iid
-
- Returns:
-
- Throws:
COMException
registerProxy
public static int registerProxy(GUID iid,
java.lang.Class proxy)
- Each COM iid must have a proxy class registered with the system.
- Parameters:
iid
- proxy
-
- Returns:
registerTypeInfo
public static int registerTypeInfo(GUID iid)
registerRecord
public static int registerRecord(GUID iidTlb,
GUID iidRec,
java.lang.Class proxy)
Composia Soft Ltd. Designed by Vitally Shelest. .