win: remove usage of deprecated api.
win: remove usage of deprecated api.

rvandegrift/elementary,rvandegrift/elementary,tasn/elementary,rvandegrift/elementary,tasn/elementary,tasn/elementary,tasn/elementary,rvandegrift/elementary,tasn/elementary