Package com.sun.jna.platform.win32
Class WinDef.USHORTByReference
java.lang.Object
com.sun.jna.PointerType
com.sun.jna.ptr.ByReference
com.sun.jna.platform.win32.WinDef.USHORTByReference
- All Implemented Interfaces:
NativeMapped
- Enclosing interface:
- WinDef
The Class USHORTByReference.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new USHORT by reference.USHORTByReference
(short value) Instantiates a new USHORT by reference.USHORTByReference
(WinDef.USHORT value) Instantiates a new USHORT by reference. -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
Gets the value.void
setValue
(WinDef.USHORT value) Sets the value.Methods inherited from class com.sun.jna.ptr.ByReference
toString
Methods inherited from class com.sun.jna.PointerType
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative
-
Constructor Details
-
USHORTByReference
public USHORTByReference()Instantiates a new USHORT by reference. -
USHORTByReference
Instantiates a new USHORT by reference.- Parameters:
value
- the value
-
USHORTByReference
public USHORTByReference(short value) Instantiates a new USHORT by reference.- Parameters:
value
- the value
-
-
Method Details
-
setValue
Sets the value.- Parameters:
value
- the new value
-
getValue
Gets the value.- Returns:
- the value
-