UrbaneRove
Programmer
Hello there,
I was wondering if there was a way to call an API function directly from the DOS prompt.
What I need to return is the screen res as a variable in a batch file and then open the shell commend to control the monitor res depending on the answer.
Opening the shell control for the monitor I am fine with I just need to know how to pull the screen res to a variable. Using the 'GetSystemMetrics32' in the User32.dll
Any ideas or references are greatly appreciated.
Urbane Rove
I was wondering if there was a way to call an API function directly from the DOS prompt.
What I need to return is the screen res as a variable in a batch file and then open the shell commend to control the monitor res depending on the answer.
Opening the shell control for the monitor I am fine with I just need to know how to pull the screen res to a variable. Using the 'GetSystemMetrics32' in the User32.dll
Any ideas or references are greatly appreciated.
Urbane Rove