Is it possible to get the supported video modes (resolution) of the target system?

OK, so far i have worked simply with something like “r.SetRes 1920x1080f”.

Well now i tested a game on my wifes Sony notebook and that one has a maximum res of “1366x768” which seemed a bit odd to me, but that’s how they made that laptop.

So the main problem is - i could add the 1366x768 res manually and it works fine. However - my laptop can’t use that resolution, so I’d hate to have it hard-coded into the game. Is there some halfway reasonable way to just grab all video modes of the graphics card (WIndows user here)? There must be some way i think…

Nevermind - i just noticed there’s a node called “getSupportedFullscreenResolutions” that does exactly what i want…