Custom Code to get Refresh Rate?
Hi, I'm using the following code to get the display height and width:
${SegmentFile}
${SegmentInit}
System::Call user32::GetSystemMetrics(i0)i.r0
System::Call user32::GetSystemMetrics(i1)i.r1
${SetEnvironmentVariable} ScreenWidth $0
${SetEnvironmentVariable} ScreenHeight $1
!macroend
However, I really need the screen refresh rate as well. I have no idea how to incorporate win32 functions into NSIS. Can you help me?
Thanks.
- Read more about Custom Code to get Refresh Rate?
- 4 comments
- Log in or register to post comments