com.jniwrapper.win32.com.types
Class GUID
java.lang.Object
com.jniwrapper.Parameter
com.jniwrapper.Structure
com.jniwrapper.win32.com.types.GUID
- All Implemented Interfaces:
- AlignmentAwareParameter, CompositeParameter
- Direct Known Subclasses:
- CLSID, IID
- public class GUID
- extends Structure
A globally unique identifier supported by COM.
Fields inherited from class com.jniwrapper.Structure |
f |
Constructor Summary |
GUID()
|
GUID(GUID src)
|
GUID(int d1,
short d2,
short d3,
byte b1,
byte b2,
byte b3,
byte b4,
byte b5,
byte b6,
byte b7,
byte b8)
Creates a GUID by specified bytes. |
Methods inherited from class com.jniwrapper.Structure |
a, a, acceptIOPerformer, addMembers, computeLength, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write |
Methods inherited from class com.jniwrapper.Parameter |
, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getDataBuffer, getDataBufferOffset, indent, read, read, toByteArray, write |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
GUID_NULL
public static final GUID GUID_NULL
GUID
public GUID()
GUID
public GUID(int d1,
short d2,
short d3,
byte b1,
byte b2,
byte b3,
byte b4,
byte b5,
byte b6,
byte b7,
byte b8)
- Creates a GUID by specified bytes.
GUID
public GUID(GUID src)
string2GUID
public static GUID string2GUID(java.lang.String guidString)
- Utility function that converts string presentation of a GUID to the GUID.
- Parameters:
guidString
- - string presentation of GUID in the following format: {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}
- Returns:
- GUID
clone
public java.lang.Object clone()
getData1
public long getData1()
setData1
public void setData1(long value)
getData2
public int getData2()
setData2
public void setData2(int value)
getData3
public int getData3()
setData3
public void setData3(int value)
getData4
public PrimitiveArray getData4()
setData4
public void setData4(PrimitiveArray value)
toString
public java.lang.String toString()
equals
public boolean equals(java.lang.Object o)
hashCode
public int hashCode()
getOleFunction
protected static Function getOleFunction(java.lang.String functionName)