Maybe I've missed something but it doesn't seem to be possible to enumerate all possible display modes.
If this is indeed not possible IMO it would be a nice addition to the API.
If this is indeed not possible IMO it would be a nice addition to the API.