Added ccSetResolution, WIN32 implementation follows