DRY up UiaDll messages that return a string