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

[pygame] Refresh rate code (Windows)



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

Sent from Yahoo Mail on Android