Hem / Tips & tricks
Dim blnReturn As BooleanDim blnActive As Boolean' Determine whether screen saver is enabled.Call SystemParametersInfo(SPI_GETSCREENSAVEACTIVE, vbNull, blnReturn, 0)blnActive = blnReturn