Leaked source code of windows server 2003
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.

99 lines
2.5 KiB

  1. /********************************************************************
  2. ICWCFG.H
  3. Copyright(c) Microsoft Corporation, 1996-1998
  4. *** N O T F O R E X T E R N A L R E L E A S E *******
  5. *
  6. * This header file is not intended for distribution outside Microsoft.
  7. *
  8. ***********************************************************
  9. Header file for Internet Connection Wizard external configuration
  10. routines found in INETCFG.DLL.
  11. Routines:
  12. CheckConnectionWizard - Checks which parts of ICW are installed
  13. and if it has been run before. It optionally will start
  14. either the full or manual path of ICW if it is insalled
  15. but has not been run before.
  16. History: 10/22/96 Created
  17. 10/24/96 Added defines and typedefs
  18. 2/25/97 Added CreateDirectoryService -- jmazner
  19. 4/24/97 Removed InetCreate*, these are now owned
  20. by the Account Manager -- jmazner
  21. Support: This header file (and INETCFG.DLL) is supported by the
  22. Internet Connection Wizard team (alias icwcore). Please
  23. do not modify this directly.
  24. *********************************************************************/
  25. #ifndef _ICWCFG_H_
  26. //
  27. // defines
  28. //
  29. // ICW registry settings
  30. // HKEY_CURRENT_USER
  31. #define ICW_REGPATHSETTINGS "Software\\Microsoft\\Internet Connection Wizard"
  32. #define ICW_REGKEYCOMPLETED "Completed"
  33. // Maximum field lengths
  34. #define ICW_MAX_ACCTNAME 256
  35. #define ICW_MAX_PASSWORD 256 // PWLEN
  36. #define ICW_MAX_LOGONNAME 256 // UNLEN
  37. #define ICW_MAX_SERVERNAME 64
  38. #define ICW_MAX_RASNAME 256 // RAS_MaxEntryName
  39. #define ICW_MAX_EMAILNAME 64
  40. #define ICW_MAX_EMAILADDR 128
  41. // Bit-mapped flags
  42. // CheckConnectionWizard input flags
  43. #define ICW_CHECKSTATUS 0x0001
  44. #define ICW_LAUNCHFULL 0x0100
  45. #define ICW_LAUNCHMANUAL 0x0200
  46. #define ICW_USE_SHELLNEXT 0x0400
  47. #define ICW_FULL_SMARTSTART 0x0800
  48. // CheckConnectionWizard output flags
  49. #define ICW_FULLPRESENT 0x0001
  50. #define ICW_MANUALPRESENT 0x0002
  51. #define ICW_ALREADYRUN 0x0004
  52. #define ICW_LAUNCHEDFULL 0x0100
  53. #define ICW_LAUNCHEDMANUAL 0x0200
  54. // InetCreateMailNewsAccount input flags
  55. #define ICW_USEDEFAULTS 0x0001
  56. #ifdef __cplusplus
  57. extern "C"
  58. {
  59. #endif // __cplusplus
  60. //
  61. // external function typedefs
  62. //
  63. typedef DWORD (WINAPI *PFNCHECKCONNECTIONWIZARD) (DWORD, LPDWORD);
  64. typedef DWORD (WINAPI *PFNSETSHELLNEXT) (CHAR *);
  65. //
  66. // external function declarations
  67. //
  68. DWORD WINAPI CheckConnectionWizard(DWORD, LPDWORD);
  69. DWORD WINAPI SetShellNext(CHAR *);
  70. #ifdef __cplusplus
  71. }
  72. #endif // __cplusplus
  73. #endif // _ICWCFG_H_