[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] How to call EnumDisplaySettings using ctypes?



I know how to get the screen's refresh rate in Windows using pywin32 (win32all).

import win32api
d = win32api.EnumDisplaySettings(None, -1)
print (d.DisplayFrequency)

How would I call the same function using ctypes?

Thanks,
Jason