I have never toyed with the MsmDataProvider so this was interesting. Where did you source the msmapi32.dll and msmdataprovider.dll?
Also caution the msmapi32.dll file - some of us may have a reference in "C:\Program Files\Common Files\System\MSMAPI\1033" this is for MS Outlook and not MSM.
Person p = new Person();
p.Name = "Paul";
p.save(); // saves it in a M global*
*optionally you can specify where to store the global data using what InterSystems calls "storage definitions." ; so to connect other dots - if you map FileMan to storage definitions this is how Cache provides a SQL interface into VistA