Select the product you need help with
BUG: SystemParametersInfo with SPI_GETSCREENSAVEACTIVE Always Returns True on Windows 2000Article ID: 318781 - View products that this article applies to. This article was previously published under Q318781 On This PageSYMPTOMS
The SystemParametersInfo function with the uiAction parameter set to SPI_GETSCREENSAVEACTIVE returns True although no screen saver is active.
RESOLUTION
You can work around this problem by querying the registry to check whether the screen saver is active. The presence of the Scrnsave.exe file under the registry key HKCU\Control Panel\Desktop indicates that the screen saver is active. The following sample code demonstrates this condition: STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. MORE INFORMATIONSteps to Reproduce the Behavior
PropertiesArticle ID: 318781 - Last Review: February 12, 2007 - Revision: 1.1
|


Back to the top








