public static class Winnt.LPWSTR extends OpaqueMemory
| Modifier and Type | Field and Description |
|---|---|
static int |
SIZE_OF_WCHAR |
baseAddress, LOG, memoryOwner, sizeInBytes| Constructor and Description |
|---|
LPWSTR(int elementLength,
boolean clearMemory)
Creates space for a Wide String (16 bit)
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
String |
getString()
return the NULL terminated string @baseaddress
|
void |
resetBufferEnd() |
static String |
stringValueOfNullTerminated(Minwindef.LPBYTE lpData)
Skip the last two 0 bytes aka the last 0 char
|
clear, ENOMEM, finalizepublic static final int SIZE_OF_WCHAR
public LPWSTR(int elementLength,
boolean clearMemory)
elementLength - clearMemory - public static String stringValueOfNullTerminated(Minwindef.LPBYTE lpData)
lpData - public String getString()
public void clear()
public void resetBufferEnd()
Copyright © 2019. All rights reserved.