Ziqing Hui : d2d1: Implement GetUnitMode().