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.

70 lines
2.3 KiB

  1. //*********************************************************************
  2. //* Microsoft Windows **
  3. //* Copyright(c) Microsoft Corp., 1994 **
  4. //*********************************************************************
  5. //
  6. // WIZDEF.H - data structures and constants for Internet setup/signup wizard
  7. //
  8. // HISTORY:
  9. //
  10. // 05/13/98 donaldm new for ICW 5.0
  11. #ifndef _WIZDEF_H_
  12. #define _WIZDEF_H_
  13. #include "appdefs.h"
  14. // Defines
  15. #define MAX_REG_LEN 2048 // max length of registry entries
  16. #define MAX_RES_LEN 255 // max length of string resources
  17. #define SMALL_BUF_LEN 48 // convenient size for small text buffers
  18. // structure to hold information about wizard state
  19. typedef struct tagWIZARDSTATE
  20. {
  21. UINT uCurrentPage; // index of current page wizard is on
  22. // keeps a history of which pages were visited, so user can
  23. // back up and we know the last page completed in case of reboot.
  24. UINT uPageHistory[EXE_NUM_WIZARD_PAGES]; // array of page #'s we visited
  25. UINT uPagesCompleted; // # of pages in uPageHistory
  26. BOOL fNeedReboot; // reboot needed at end
  27. BOOL bStartRefServDownload;
  28. BOOL bDoneRefServDownload;
  29. BOOL bDoneRefServRAS;
  30. BOOL bDoUserPick;
  31. long lRefDialTerminateStatus;
  32. long lSelectedPhoneNumber;
  33. long lLocationID;
  34. long lDefaultLocationID;
  35. int iRedialCount;
  36. // Objects that live in ICWHELP.DLL that we need to use
  37. IRefDial* pRefDial;
  38. IDialErr* pDialErr;
  39. ISmartStart* pSmartStart;
  40. ITapiLocationInfo* pTapiLocationInfo;
  41. IINSHandler* pINSHandler;
  42. CRefDialEvent* pRefDialEvents;
  43. IICWWalker* pHTMLWalker;
  44. IICWWebView* pICWWebView; // ICWWebView Object
  45. HINSTANCE hInstUtilDLL;
  46. // State data that is common to both sides of the WIZARD
  47. CMNSTATEDATA cmnStateData;
  48. DWORD dwLastSelection;
  49. } WIZARDSTATE;
  50. #define IEAK_RESTRICTION_REGKEY TEXT("Software\\Policies\\Microsoft\\Internet Explorer\\Control Panel")
  51. #define IEAK_RESTRICTION_REGKEY_VALUE TEXT("Connwiz Admin Lock")
  52. #endif // _WIZDEF_H_