WINDOWS - added ChoosePixelFormat error handling