msmapi implementation