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.

55 lines
1.5 KiB

  1. /********************************************************************/
  2. /** Microsoft LAN Manager **/
  3. /** Copyright(c) Microsoft Corp., 1990,1991 **/
  4. /********************************************************************/
  5. /*
  6. newprof.h
  7. Constants for ini-file-handling module
  8. These constants are needed by both newprof.h and newprof.hxx clients.
  9. FILE STATUS:
  10. 06/04/91 jonn Created
  11. */
  12. #ifndef _NEWPROFC_H_
  13. #define _NEWPROFC_H_
  14. /****************************************************************************
  15. MODULE: NewProfC.h
  16. PURPOSE: Constants and macros for the C and C++ version of the
  17. user preference module.
  18. FUNCTIONS:
  19. COMMENTS:
  20. ****************************************************************************/
  21. /* returncodes: */
  22. /* global macros */
  23. #define PROFILE_DEFAULTFILE "LMUSER.INI" // this is not internationalized.
  24. #define USERPREF_MAX 256 // arbitrary limit to ease mem alloc
  25. #define USERPREF_YES "yes" // this is not internationalized.
  26. #define USERPREF_NO "no" // ditto
  27. #define USERPREF_NONE 0 // no such value
  28. #define USERPREF_AUTOLOGON 0x1 // auto logon
  29. #define USERPREF_AUTORESTORE 0x2 // auto restore profile
  30. #define USERPREF_SAVECONNECTIONS 0x3 // auto save connections
  31. #define USERPREF_USERNAME 0x4 // user name
  32. #define USERPREF_CONFIRMATION 0x5 // confirm actions?
  33. #define USERPREF_ADMINMENUS 0x6 // Admin menus (PrintMgr)
  34. #endif // _NEWPROFC_H_