Forward return value from QueryInterface instead of always returning S_OK.