Determine whether or not the screen saver is enabled.
Determine whether or not the screen saver is enabled.
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 whether or not the screen saver is enabled.
(3(3 Vote))
Dim blnActive As Boolean
' Determine whether screen saver is enabled.
Call SystemParametersInfo(SPI_GETSCREENSAVEACTIVE, vbNull, blnReturn, 0)
blnActive = blnReturn
Determine whether or not the screen saver is enabled. Comments
No comments yet — be the first to post one!
Post a Comment