Package com.sun.jna.platform.win32
Klasse WTypes.BSTRByReference
java.lang.Object
com.sun.jna.PointerType
com.sun.jna.ptr.ByReference
com.sun.jna.platform.win32.WTypes.BSTRByReference
- Alle implementierten Schnittstellen:
NativeMapped
- Umschließende Schnittstelle:
WTypes
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungBSTRByReference
(WTypes.BSTR value) Store a reference to the specifiedWTypes.BSTR
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the String represented by the referencedWTypes.BSTR
.getValue()
Returns a copy of theWTypes.BSTR
referenced by this object.void
setValue
(WTypes.BSTR value) Store a reference to the specifiedWTypes.BSTR
.Von Klasse geerbte Methoden com.sun.jna.ptr.ByReference
toString
Von Klasse geerbte Methoden com.sun.jna.PointerType
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative
-
Konstruktordetails
-
BSTRByReference
public BSTRByReference() -
BSTRByReference
Store a reference to the specifiedWTypes.BSTR
. This method does not maintain a reference to the object passed as an argument. The user is responsible for allocating and freeing the memory associated with thisWTypes.BSTR
.- Parameter:
value
- The BSTR to be referenced. Only the pointer is stored as a reference.
-
-
Methodendetails
-
setValue
Store a reference to the specifiedWTypes.BSTR
. This method does not maintain a reference to the object passed as an argument. The user is responsible for allocating and freeing the memory associated with thisWTypes.BSTR
.- Parameter:
value
- The BSTR to be referenced. Only the pointer is stored as a reference.
-
getValue
Returns a copy of theWTypes.BSTR
referenced by this object. The memory associated with theWTypes.BSTR
may be referenced by other objects/threads which may also free the underlying native memory.- Gibt zurück:
- A new
WTypes.BSTR
object corresponding to the memory referenced by this object.
-
getString
Returns the String represented by the referencedWTypes.BSTR
.- Gibt zurück:
- the referenced String, if the reference is not
null
,null
otherwise.
-