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