Decodes and stores a string.
The identifier of the string in the resource file to be decoded and stored. The validity of the string is not verified.
A pointer to a buffer with a length of cbmax. Strings that are longer than cbmax are truncated.
The maximum length of the string to be stored in the lsz parameter.
This function returns the decoded string.