WideStrAlloc function
Allocate a null-terminated widestring on the heap.
Declaration
function WideStrAlloc(size: Cardinal): PWideCharDescription
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
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
