Screen saver

From: Rob <rob.ward_at_tpg.com.au>
Date: Thu, 31 Mar 2005 21:46:28 +0800

Hello everyone,
I am currently 'trying' to set the screen saver timeout using the
*SystemParametersInfo
*function located at

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/systemparametersinfo.asp

I can read the value ok but I am having trouble setting the value, I
keep returning a zero which is an error.
A typical segment of code for setting is

SPI_SETSCREENSAVETIMEOUT 60 0 0 SystemParametersInfo

The following code for reading works ok

variable pv
SPI_GETSCREENSAVETIMEOUT 0 pv 0 SystemParametersInfo
pv @ .
60

Anybody have any ideas on the correct way to set the value?

Many regards

Rob

----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Thu Mar 31 2005 - 05:48:46 PST


Subscribe to our e-mail list service. It's free for all SwiftForth and SwiftX users!

This archive was generated 02-Sep-2010. Archive updated nightly.