Allocates and returns a copy of a wide string.
- Parameters
-
[in] | pszRight | is an input wide string used to initialize the output. |
- Returns
- Returns a pointer to a copy of the input wide string. The allocated buffer returned should be deallocated using FreeStringW function or any other free functions defined in chsvmem.h. On failure the function returns NULL setting corresponding chsvlib error. code.
- See also
- FreeStringW;
AllocateAndCopyStringA;
AllocateAndFormatStringW;
AllocateWideFromMBS.