VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Determine the screen saver time-out value in seconds

by Anonymous (267 Submissions)
Category: Windows System Services
Compatability: Visual Basic 4.0 (32-bit)
Difficulty: Unknown Difficulty
Originally Published: Mon 14th December 1998
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Determine the screen saver time-out value in seconds

API Declarations


Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, lpvParam As Any, ByVal fuWinIni As Long) As Long


Rate Determine the screen saver time-out value in seconds




'Get the screen saver time-out value in seconds.
Call SystemParametersInfo(SPI_GETSCREENSAVETIMEOUT, vbNull, intValue, 0)
MsgBox ("Screen saver time-out value: " & intValue & " seconds.")

Download this snippet    Add to My Saved Code

Determine the screen saver time-out value in seconds Comments

No comments have been posted about Determine the screen saver time-out value in seconds. Why not be the first to post a comment about Determine the screen saver time-out value in seconds.

Post your comment

Subject:
Message:
0/1000 characters