WideStrAlloc¶
Allocate a null-terminated widestring on the heap.
Description¶
WideStrAlloc reserves memory on the heap for a widestring with length Len, (terminating #0#0 included), and returns a pointer to it.
Additionally, WideStrAlloc allocates 4 extra bytes to store the size of the allocated memory.
Errors¶
None.
See also¶
| Name | Description |
|---|---|
| StrBufSize | Return the size of a null-terminated string allocated on the heap. |
| StrDispose | Dispose of a null-terminated string on the heap. |
| StrAlloc | Allocate memory for a new null-terminated string on the heap. |