|
|
#1 |
|
Junior Member
Join Date: Jun 2019
Posts: 4
|
Hi' i'm trying to include a function in my script to detect the refresh rate of the main display. However, I do not know how to incorporate the functions into NSIS code.
I already managed to find a way to get the resolution using the following code: System::Call user32::GetSystemMetrics(i0)i.r0 System::Call user32::GetSystemMetrics(i1)i.r1 However, in order to obtain the refresh rate, one must use EnumDisplayDevices to get the right display and then pass that to EnumDisplaySettings. I do not know how to do that. Any help would be much appreciated. I am trying to build a portable application using the portableapps.com framework that uses NSIS language. Thank you and sorry for being a n00b. |
|
|
|
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|