| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Allocate a null-terminated widestring on the heap.
Source position: sysunih.inc line 59
function WideStrAlloc(  | 
size: Cardinal  | 
):pwidechar;  | 
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.
None.
  | 
Return the size of a null-terminated string allocated on the heap.  | 
|
  | 
Dispose of a null-terminated string on the heap.  | 
|
  | 
Allocate memory for a new null-terminated string on the heap  |