Fixed WIN32 code after style changes