Missed one obvious Windows API use.