How to retrieve the Field Value using your GetCustomLicenseField() function in C++

What is the workable String Type for strtype? So as to get the fieldValue. Thank you.
STRTYPE fieldValue

You can use a simple string:

char buffer[256];

If on Windows use

wchar_t buffer[256];