| Modifier and Type | Class and Description |
|---|---|
| public static class | Guid.CLSID
The Class CLSID. |
| public static class | Guid.GUID
The Class GUID. |
| public static class | Guid.IID
The Class IID. |
| public static class | Guid.REFIID
REFIID is a pointer to an IID. |
| Modifier and Type | Field and Description |
|---|---|
| public static final Guid. | IID_NULL
The Constant IID_NULL. |
| IID_NULL | back to summary |
|---|---|
| public static final Guid. The Constant IID_NULL. | |
| Modifier and Type | Class and Description |
|---|---|
| public static class | Guid.CLSID.ByReference
The Class ByReference. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| CLSID | back to summary |
|---|---|
| public CLSID() Instantiates a new clsid. | |
| CLSID | back to summary |
|---|---|
| public CLSID(String guid) Instantiates a new clsid.
| |
| CLSID | back to summary |
|---|---|
| public CLSID(Guid. Instantiates a new clsid. | |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| ByReference | back to summary |
|---|---|
| public ByReference() Instantiates a new by reference. | |
| ByReference | back to summary |
|---|---|
| public ByReference(Guid. Instantiates a new by reference. | |
| ByReference | back to summary |
|---|---|
| public ByReference(Pointer memory) Instantiates a new by reference.
| |
| Modifier and Type | Class and Description |
|---|---|
| public static class | Guid.GUID.ByReference
The Class ByReference. |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public int | Data1
The Data1. |
| public short | Data2
The Data2. |
| public short | Data3
The Data3. |
| public byte[] | Data4
The Data4. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides com. |
| public static Guid. | |
| public static Guid. | |
| public int | |
| public static Guid. | |
| public byte[] | |
| public String | Returns: the stringThe value of this Guid, formatted as follows: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. |
| protected void |
| Data1 | back to summary |
|---|---|
| public int Data1 The Data1. | |
| Data2 | back to summary |
|---|---|
| public short Data2 The Data2. | |
| Data3 | back to summary |
|---|---|
| public short Data3 The Data3. | |
| Data4 | back to summary |
|---|---|
| public byte[] Data4 The Data4. | |
| GUID | back to summary |
|---|---|
| public GUID() Instantiates a new guid. | |
| GUID | back to summary |
|---|---|
| public GUID(Guid. Instantiates a new guid. | |
| GUID | back to summary |
|---|---|
| public GUID(String guid) Instantiates a new guid.
| |
| GUID | back to summary |
|---|---|
| public GUID(byte[] data) Instantiates a new guid.
| |
| GUID | back to summary |
|---|---|
| public GUID(Pointer memory) Instantiates a new guid.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides com. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| fromBinary | back to summary |
|---|---|
| public static Guid. From binary. | |
| fromString | back to summary |
|---|---|
| public static Guid. From string. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides com. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| newGuid | back to summary |
|---|---|
| public static Guid. Generates a new guid. Code taken from the standard jdk implementation (see UUID class). | |
| toByteArray | back to summary |
|---|---|
| public byte[] toByteArray() To byte array.
| |
| toGuidString | back to summary |
|---|---|
| public String toGuidString() The value of this Guid, formatted as follows: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.
| |
| writeFieldsToMemory | back to summary |
|---|---|
| protected void writeFieldsToMemory() Write fields to backing memory. | |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| ByReference | back to summary |
|---|---|
| public ByReference() Instantiates a new by reference. | |
| ByReference | back to summary |
|---|---|
| public ByReference(Guid. Instantiates a new by reference. | |
| ByReference | back to summary |
|---|---|
| public ByReference(Pointer memory) Instantiates a new by reference.
| |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| ByValue | back to summary |
|---|---|
| public ByValue() | |
| ByValue | back to summary |
|---|---|
| public ByValue(Guid. | |
| ByValue | back to summary |
|---|---|
| public ByValue(Pointer memory) | |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public |
| IID | back to summary |
|---|---|
| public IID() Instantiates a new iid. | |
| IID | back to summary |
|---|---|
| public IID(Pointer memory) Instantiates a new iid.
| |
| IID | back to summary |
|---|---|
| public IID(String iid) Instantiates a new iid.
| |
| IID | back to summary |
|---|---|
| public IID(byte[] data) Instantiates a new iid.
| |
| IID | back to summary |
|---|---|
| public IID(Guid. | |
This type needs to be seperate from IID, as the REFIID can be passed in from external code, that does not allow writes to memory.
With the normal JNA behaviour a structure, that crosses the native<-%gt;Java border will be autowritten, which causes a fault when written. Observed was this behaviour in COM-Callbacks, which get the REFIID passed into Invoke-method.
So a IID can't be used directly, although the typedef of REFIID (from MSDN):
typedef IID* REFIID;
and the jna behaviour is described as:
"When a function requires a pointer to a struct, a Java Structure should be used."
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides com. PointerType with identical pointers compare
equal by default.
|
| public Guid. | |
| public int | hashCode()
Overrides com. PointerType is the same as that for
its pointer.
|
| public void |
| REFIID | back to summary |
|---|---|
| public REFIID() Instantiates a new refiid. | |
| REFIID | back to summary |
|---|---|
| public REFIID(Pointer memory) Instantiates a new refiid.
| |
| REFIID | back to summary |
|---|---|
| public REFIID(Guid. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides com. Doc from com. Instances of
| |
| getValue | back to summary |
|---|---|
| public Guid. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides com. Doc from com. The hash code for a
| |
| setValue | back to summary |
|---|---|
| public void setValue(Guid. | |