Try setting mmi.fMask to MIIM_STRING.