public SetScreensaverActive ( bool active ) : void | ||
active | bool | Pass in TRUE to activate or FALSE to deactivate the screensaver. |
리턴 | void |
public void SetScreensaverActive(bool active)
{
var nullVar = 0;
NativeMethods.SystemParametersInfo(SpiSetScreensaverActive, active ? 1 : 0, ref nullVar, SpifSendWininiChange);
}