NativeMapped
Guid
REFIID is a pointer to an IID.
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."
Konstruktoren
Instantiates a new refiid.
Instantiates a new refiid.
boolean
Instances of PointerType
with identical pointers compare equal by default.
int
The hash code for a PointerType
is the same as that for its pointer.
void
public REFIID()
Instantiates a new refiid.
Instantiates a new refiid.
memory
- the memory
Instances of PointerType
with identical pointers compare equal by default.
equals
in Klasse PointerType
public int hashCode()
The hash code for a PointerType
is the same as that for its pointer.
hashCode
in Klasse PointerType
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4