System.AnsiStringBase.WideChar
C++
wchar_t* WideChar(wchar_t* dest, int destSize, int codePage) const;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | dstring.h | System | AnsiStringBase |
Description
Converts the AnsiStringBase to a wide-character array.
WideChar converts the AnsiStringBase to an array of wide characters, and returns the resulting wide-character array.
Dest is a buffer the caller allocates to hold the return value. Use the WideCharBufSize method to determine the size needed to hold the entire string value.
destSize is the size, in bytes, of dest.
WideChar returns a pointer to the wide-character array that is written to dest.