When changing parameters and setting them via notifying the host, prompts the DAW to remind the user to save the session before closing as to not lose their changes. This is normally indicated by the dirty bit in the DAWs main window.
Now, my plugin has some configuration stuff that it does not necessarily have to notify the host for, say, e.g. a name string or something, for the sake of argument. The thing now is, when saving the session I want to of course recall this meta information for the user.
But, because I’m not notifying the host about anything, the host does not know what the state of the session has changed and the user could potentially close the session without saving, meaning this information (like the name example) will not be recalled correctly when reloading Some DAWs even go so far as to not even letting the user save the session without having this dirty bit set, so the user could never save the newly set name without changing something else that provokes the DAW to finally let him save his session.
Of course, my question is now, how can I get the DAW to set its dirty bit so that the user is prompted to save the session (or not, if he/she chooses) whenever I want from the plugin? In other words, how can I tell the DAW the state of the session has changed, even though those are values that the do not concern the DAW directly, so it would not know otherwise?