Functions | |
wchar_t * | ToBSTR () const |
Return a BSTR of this string. More... | |
static MaxString | FromBSTR (const wchar_t *string, size_t length=(size_t)-1) |
Construct a MaxString out of a BSTR. More... | |
const MaxStringCast< wchar_t > | ToOLESTR (size_t *length=NULL) const |
Construct a OLE string. More... | |
static MaxString | FromOLESTR (const wchar_t *string, size_t length=(size_t)-1) |
Construct a MaxString out of a OLESTR. More... | |
wchar_t* ToBSTR | ( | ) | const |
Return a BSTR of this string.
The string is allocated with SysAllocString, and the caller is responsible to free it using SysFreeString.
Construct a OLE string.