At.FF.Krems.FullscreenBrowser.Screensaver.KillScreensaverFunc C# (CSharp) Method

KillScreensaverFunc() private method

Kill screensaver.
private KillScreensaverFunc ( IntPtr wnd, IntPtr param ) : bool
wnd System.IntPtr The window.
param System.IntPtr The parameter.
return bool
        private bool KillScreensaverFunc(IntPtr wnd, IntPtr param)
        {
            if (NativeMethods.IsWindowVisible(wnd))
            {
                NativeMethods.PostMessage(wnd, WmClose, 0, 0);
            }

            return true;
        }