- java.lang.Object
-
- de.ibapl.jnhw.common.memory.AbstractNativeMemory
-
- de.ibapl.jnhw.common.memory.OpaqueMemory32
-
- de.ibapl.jnhw.common.memory.Struct32
-
- de.ibapl.jnhw.util.winapi.memory.WinApiStruct32
-
- de.ibapl.jnhw.winapi.Winnt.LPWSTR
-
- All Implemented Interfaces:
Native
- Enclosing class:
- Winnt
public static class Winnt.LPWSTR extends de.ibapl.jnhw.util.winapi.memory.WinApiStruct32Wrapper for LPWSTR.A pointer to a null-terminated string of 16-bit Unicode characters. For more information, see Character Sets Used By Fonts.
The wrapper for a byte buffer. The position of the buffer is always 0! It must be reset to 0 if changed. The limit of the buffer is always amount of valid bytes in the buffer and must be set if the amount of valid bytes changed.
This type is declared in WinNT.h as follows:
typedef WCHAR *LPWSTR;
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.ibapl.jnhw.util.winapi.memory.WinApiStruct32
de.ibapl.jnhw.util.winapi.memory.WinApiStruct32.Accessor_BOOL_As_int32_t, de.ibapl.jnhw.util.winapi.memory.WinApiStruct32.Accessor_BYTE_As_uint8_t, de.ibapl.jnhw.util.winapi.memory.WinApiStruct32.Accessor_DWORD_As_uint32_t, de.ibapl.jnhw.util.winapi.memory.WinApiStruct32.Accessor_HANDLE_As_intptr_t, de.ibapl.jnhw.util.winapi.memory.WinApiStruct32.Accessor_PVOID_As_uintptr_t, de.ibapl.jnhw.util.winapi.memory.WinApiStruct32.Accessor_ULONG_PTR_As_uintptr_t, de.ibapl.jnhw.util.winapi.memory.WinApiStruct32.Accessor_WORD_As_uint16_t
-
Nested classes/interfaces inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
OpaqueMemory32.OpaqueMemory32Producer<T extends OpaqueMemory32,P extends AbstractNativeMemory>
-
Nested classes/interfaces inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
AbstractNativeMemory.SetMem
-
-
Field Summary
-
Fields inherited from class de.ibapl.jnhw.util.winapi.memory.WinApiStruct32
ACCESSOR_BOOL, ACCESSOR_BYTE, ACCESSOR_DWORD, ACCESSOR_HANDLE, ACCESSOR_PVOID, ACCESSOR_ULONG_PTR, ACCESSOR_WORD
-
Fields inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
sizeInBytes
-
Fields inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
baseAddress, CLEANER, LOG, MEM_ACCESS, MEM_ACCESS_PROPERTY, NULL, parent
-
-
Constructor Summary
Constructors Constructor Description LPWSTR(int elementLength, AbstractNativeMemory.SetMem setMem)Creates space for a Wide String (16 bit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()StringgetUnicodeString(int elementLength)return the NULL terminated string @baseaddress-
Methods inherited from class de.ibapl.jnhw.common.memory.Struct32
getBaseDataType, nativeToHexString
-
Methods inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
checkIndex, clear, copy, copy, equals, getByte, getSizeInBytes, hashCode, memset, nativeToString, nativeToString, printMemory, printMemory, setByte, setMemTo, toBytes, toString
-
Methods inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
calcOffsetForAlignment, getOffset, getSizeInBytes, isSameAddress, offsetof, toNativeAddressHolder, toUintptr_t, toUintptr_tOrNULL
-
-
-
-
Constructor Detail
-
LPWSTR
public LPWSTR(int elementLength, AbstractNativeMemory.SetMem setMem)Creates space for a Wide String (16 bit)- Parameters:
elementLength-
-
-
Method Detail
-
clear
public void clear()
-
getUnicodeString
public String getUnicodeString(int elementLength)
return the NULL terminated string @baseaddress- Returns:
-
-