resource: add window support