Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.8 KiB

  1. ////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // File: Registry.h
  4. // Created: Feb 1996
  5. // By: Martin Holladay (a-martih) and Ryan Marshall (a-ryanm)
  6. //
  7. // Project: MultiDesk - The NT Resource Kit Desktop Switcher
  8. //
  9. //
  10. //
  11. ////////////////////////////////////////////////////////////////////////////////
  12. #ifndef __MULTIDESK_REGISTRY_H__
  13. #define __MULTIDESK_REGISTRY_H__
  14. //
  15. // Function Prototypes
  16. //
  17. // Copy and set the active in-use Windows colors.
  18. BOOL Reg_GetSysColors(DWORD dwColor[NUM_COLOR_ELEMENTS]);
  19. BOOL Reg_SetSysColors(const DWORD dwColor[NUM_COLOR_ELEMENTS]);
  20. BOOL Reg_UpdateColorRegistry(const DWORD dwColor[NUM_COLOR_ELEMENTS]);
  21. // Copy and set the active in-use Windows properties.
  22. BOOL Reg_GetWallpaper(LPTSTR szWallpaper, LPTSTR szTile);
  23. BOOL Reg_SetWallpaper(LPCTSTR szWallpaper, LPCTSTR szTile);
  24. BOOL Reg_GetPattern(LPTSTR szPattern);
  25. BOOL Reg_SetPattern(LPCTSTR szPattern);
  26. BOOL Reg_GetScreenSaver(LPTSTR szScreenSaver, LPTSTR szSecure, LPTSTR szTimeOut, LPTSTR szActive);
  27. BOOL Reg_SetScreenSaver(LPCTSTR szScreenSaver, LPCTSTR szSecure, LPCTSTR szTimeOut, LPCTSTR szActive);
  28. // Read and save the current desktop number.
  29. BOOL Profile_GetNewContext(UINT* NumOfDesktops);
  30. BOOL Profile_SetNewContext(UINT NumOfDesktops);
  31. // Read and save the properties for each desktop profile.
  32. BOOL Profile_LoadDesktopContext(UINT DesktopNumber, LPTSTR szDesktopName, LPTSTR szSaiferName, UINT* nIconID);
  33. BOOL Profile_SaveDesktopContext(UINT DesktopNumber, LPCTSTR szDesktopName, LPCTSTR szSaiferName, UINT nIconID);
  34. // Read and save the stored configurations for each of the desktops.
  35. BOOL Profile_SaveScheme(UINT DesktopNumber, PDESKTOP_SCHEME pDesktopScheme);
  36. BOOL Profile_LoadScheme(UINT DesktopNumber, PDESKTOP_SCHEME pDesktopScheme);
  37. #endif