NativeMappedWTypes.BSTR.ByReference, WTypes.LPSTR.ByReference, WTypes.LPWSTR.ByReferencepublic static class WTypes.BSTR extends PointerType
From MSDN:
A BSTR (Basic string or binary string) is a string data type that is used by COM, Automation, and Interop functions. Use the BSTR data type in all interfaces that will be accessed from script.
The memory structure:
The "value" of the BSTR is the pointer to the start of the Data String, the length prefix is the four bytes before that.
The MSDN states, that a BSTR derived from a Nullpointer is treated as a string containing zero characters.
| Modifier and Type | Class | Description |
|---|---|---|
static class |
WTypes.BSTR.ByReference |
| Constructor | Description |
|---|---|
BSTR() |
|
BSTR(Pointer pointer) |
|
BSTR(String value) |
| Modifier and Type | Method | Description |
|---|---|---|
String |
getValue() |
|
void |
setValue(String value) |
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitequals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative