Ziqing Hui : d2d1: Implement SetUnitMode().