January 1, 2005

WinTask - ScreenSaver

'
' ScreenSaver - turn screen saver off during test, back on when done
'
' Author: Joe Strazzere
'

' Turn Screen Save OFF
'
External("user32.dll","SystemParametersInfoA",17,0,0,0)

'
' Your tests go here
'
'
' Turn Screen Save back ON (restores whatever settings were in effect)
'
External("user32.dll","SystemParametersInfoA",17,1,0,0)