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.

34 lines
1.6 KiB

  1. #ifndef _CONFREG_H_
  2. #define _CONFREG_H_
  3. // The Windows CurrentVersion key is used for obtaining the name that was
  4. // was specified while installing Windows. It is stored under HKEY_LOCAL_MACHINE:
  5. #define WINDOWS_CUR_VER_KEY TEXT("SOFTWARE\\Microsoft\\Windows\\CurrentVersion")
  6. #define REGVAL_REGISTERED_USER TEXT("RegisteredOwner")
  7. #define MAX_DCL_NAME_LEN 48 /* REGVAL_ULS_NAME can't be larger than this */
  8. ////////////// Remote control service related keys and values ////////////////
  9. #define WIN95_SERVICE_KEY TEXT("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\RunServices")
  10. #define WINNT_WINLOGON_KEY TEXT("SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon")
  11. #define WIN95_WINLOGON_KEY TEXT("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Winlogon")
  12. #define DESKTOP_KEY TEXT("Control Panel\\Desktop")
  13. #define REMOTE_REG_PASSWORD TEXT("FieldPos")
  14. #define REGVAL_SCREENSAVER_GRACEPERIOD TEXT("ScreenSaverGracePeriod")
  15. #define REGVAL_WINNT_SCPW TEXT("ScreenSaverIsSecure")
  16. #define REGVAL_WIN95_SCPW TEXT("ScreenSaveUsePassword")
  17. /////////// NT service pack version registry keys and values (HKLM) /////////////
  18. #define NT_WINDOWS_SYSTEM_INFO_KEY TEXT("System\\CurrentControlSet\\Control\\Windows")
  19. #define REGVAL_NT_CSD_VERSION TEXT("CSDVersion")
  20. /////////// System Information registry keys and values (HKLM) /////////////
  21. #define WINDOWS_KEY TEXT("SOFTWARE\\Microsoft\\Windows\\CurrentVersion")
  22. #define WINDOWS_NT_KEY TEXT("SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion")
  23. #endif // ! _CONFREG_H_