mdlView_saveNamed() takes a name and description for the saved view. No mention is made of the maximum length that the function will accept for those strings.
In msdefs.h I found these macros...
#define MAX_LINKAGE_STRING_LENGTH 512 /* String length */ #define MAX_LINKAGE_STRING_BYTES 1024 /* max number of bytes string in a linkage */ ... #define MAX_NAMEDVIEW_NAME_LENGTH MAX_LINKAGE_STRING_LENGTH #define MAX_NAMEDVIEW_NAME_BYTES MAX_LINKAGE_STRING_BYTES
So a wide-char saved view could have 512 characters in its name?