Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/external/source/vncdll/winvnc/WallpaperUtils.h
Views: 11779
1// This file is part of the VNC system.2//3// The VNC system is free software; you can redistribute it and/or modify4// it under the terms of the GNU General Public License as published by5// the Free Software Foundation; either version 2 of the License, or6// (at your option) any later version.7//8// This program is distributed in the hope that it will be useful,9// but WITHOUT ANY WARRANTY; without even the implied warranty of10// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the11// GNU General Public License for more details.12//13// You should have received a copy of the GNU General Public License14// along with this program; if not, write to the Free Software15// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,16// USA.17//18// TightVNC distribution homepage on the Web: http://www.tightvnc.com/19//20// If the source code for the VNC system is not available from the place21// whence you received this file, check http://www.uk.research.att.com/vnc or contact22// the authors on [email protected] for information on obtaining it.2324#ifndef __WALLPAPERUTILS_H25#define __WALLPAPERUTILS_H2627#include "stdhdrs.h"2829#include <wininet.h>30#include <shlobj.h>3132class WallpaperUtils33{34public:35WallpaperUtils();3637void KillWallpaper();38void RestoreWallpaper();3940protected:41// NOTE: Before using any of the following two functions, the caller MUST42// initialize the COM library, e.g. by calling CoInitialize(NULL).43void KillActiveDesktop();44void RestoreActiveDesktop();4546bool m_restore_ActiveDesktop;47bool m_restore_wallpaper;48};4950#endif // __WALLPAPERUTILS_H515253