public static class WTypes2.LPWSTRByReference
extends com.sun.jna.ptr.ByReference
LPWSTR is itself a pointer, so a pointer to an LPWSTR is really a pointer-to-pointer. This class hides this complexity and also takes care of memory disposal.
The class is useful where the Windows function returns a result
into a variable of type LPWSTR*. The class currently has no
setters so it isn't useful for the opposite case, i.e. where a Windows
function accepts a LPWSTR* as its input.
| Constructor | Description |
|---|---|
LPWSTRByReference() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
finalize() |
Memory disposal.
|
String |
getString() |
Gets the string as pointed to by the LPWSTR or
null if
there's no LPWSTR. |
com.sun.jna.platform.win32.WTypes.LPWSTR |
getValue() |
Gets the LPWSTR from this pointer.
|
public com.sun.jna.platform.win32.WTypes.LPWSTR getValue()
getString.public String getString()
null if
there's no LPWSTR.Copyright © 2018. All rights reserved.