wined3d: Use the macro when querying the current display settings.