How to get all resolutions? #4
Answered
by
lingme
MaxtrHasan
asked this question in
Q&A
-
How to get all resolutions using c# code? |
Beta Was this translation helpful? Give feedback.
Answered by
lingme
Nov 22, 2022
Replies: 1 comment
-
`
` |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
MaxtrHasan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
`
class Program
{
[DllImport("user32.dll")]
public static extern bool EnumDisplaySettings(
string deviceName, int modeNum, ref DEVMODE devMode);
const int ENUM_CURRENT_SETTINGS = -1;