Windows: Added graphic device code.