get and set win info