device: windows: fix resize()
device: windows: fix resize()

dbartolini/crown,dbartolini/crown,dbartolini/crown,galek/crown,taylor001/crown,mikymod/crown,galek/crown,mikymod/crown,dbartolini/crown,taylor001/crown,mikymod/crown,galek/crown,mikymod/crown,taylor001/crown,galek/crown,taylor001/crown