Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Example Code in Fortran

kwweber
Beginner
872 Views
I have been trying to find a working example using the SystemParametersInfo function. I have not been successful. If possible, please provide example code using this function with fortran.
Thank you for your assistance.
0 Kudos
3 Replies
Jugoslav_Dujic
Valued Contributor II
872 Views

SystemParametersInfo has about 100 usages depending on value of uiAction argument. Which one you're interested about? Some samples were posted at this Forum and youcan find them using Forum's search facility.

Jugoslav

0 Kudos
Steven_L_Intel1
Employee
872 Views

(Moving this reply from the separate topic it got accidentally put in)

From KWWEBER

Posted: 12-09-2003 10:21 AM (Viewed 8 times)

I am interested in the SPI_GETWORKAREA function. Any example that shows its use in the fortran environment will be helpful
0 Kudos
Jugoslav_Dujic
Valued Contributor II
872 Views

USE DFWIN

TYPE(T_RECT):: Rect

INTEGER:: iXRes, iYRes, b

b = SystemParametersInfo(SPI_GETWORKAREA,0,LOC(Rect),0)

iXRes = Rect%Right

iYRes = Rect%Bottom

Jugoslav


					
				
			
			
				
			
			
			
			
			
			
			
		
0 Kudos
Reply