Save custom data on 3dsmax plugin c++

Hi all, I’m writing a c++ plugin for 3dsmax using Qt. The plugin is a custom modifier
Inside my modifier, I show a QListView where I display some custom data
I would like to be able to store those data with the modifier of course, but I do not understand if there is a way to save it with the parameter block.
a sore of way store a custom object as a parameter
Right now I’m using the load/save method to write my data in the file

But I’m not sure if this is the right way to work

What do you think?

Thanks in advance

Depending on the data type, you would save it as either a serialised string or in a type specific tab in the parameter block.
I only know how to do this in MaxScript so I cannot provide you with any c++ examples, but the logic would be pretty much identical between to two.

There is also appData:
http://docs.autodesk.com/3DSMAX/15/ENU/MAXScript-Help/index.html?url=files/GUID-5517C84B-95A3-430D-BBF2-D62E638FD77E.htm,topicNumber=d30e263303