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.

101 lines
3.1 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. // Defines
  14. #define MAX_REG_LEN 2048 // max length of registry entries
  15. #define MAX_RES_LEN 255 // max length of string resources
  16. #define SMALL_BUF_LEN 48 // convenient size for small text buffers
  17. #define NUM_WIZARD_PAGES 14 // total number of pages in wizard
  18. #define MAX_PAGE_INDEX 13
  19. #define ISP_INFO_NO_VALIDOFFER -1
  20. #define MAX_OEM_MUTI_TIER 3
  21. // Data structures
  22. // structure to hold information about wizard state
  23. typedef struct tagWIZARDSTATE
  24. {
  25. UINT uCurrentPage; // index of current page wizard is on
  26. // keeps a history of which pages were visited, so user can
  27. // back up and we know the last page completed in case of reboot.
  28. UINT uPageHistory[NUM_WIZARD_PAGES]; // array of page #'s we visited
  29. UINT uPagesCompleted; // # of pages in uPageHistory
  30. BOOL fNeedReboot; // reboot needed at end
  31. BOOL bDoneWebServDownload;
  32. BOOL bDoneWebServRAS;
  33. BOOL bDialExact;
  34. BOOL bRefDialTerminate;
  35. BOOL bParseIspinfo;
  36. BOOL bISDNMode;
  37. int iRedialCount;
  38. // Number of different offers types available
  39. int iNumOfValidOffers;
  40. int iNumOfISDNOffers;
  41. // Image list for ISP select list view
  42. HIMAGELIST himlIspSelect;
  43. CISPCSV FAR *lpSelectedISPInfo;
  44. // Pointer to an OEM tier 1 offer, max of 3
  45. CISPCSV FAR *lpOEMISPInfo[MAX_OEM_MUTI_TIER];
  46. UINT uNumTierOffer;
  47. BOOL bShowMoreOffers; // TRUE if we should show more offers
  48. UINT_PTR nIdleTimerID;
  49. BOOL bAutoDisconnected;
  50. HWND hWndWizardApp;
  51. HWND hWndMsgBox;
  52. // ICWHELP objects
  53. IUserInfo *pUserInfo;
  54. IRefDial *pRefDial;
  55. IWebGate *pWebGate;
  56. IINSHandler *pINSHandler;
  57. CRefDialEvent *pRefDialEvents;
  58. CWebGateEvent *pWebGateEvents;
  59. CINSHandlerEvent *pINSHandlerEvents;
  60. // ICWWebView Object
  61. IICWWebView *pICWWebView;
  62. IICWWalker *pHTMLWalker;
  63. IICWGifConvert *pGifConvert;
  64. IICWISPData *pISPData;
  65. CStorage *pStorage;
  66. BOOL bWasNoUserInfo; // TRUE if there was no user info in the registry
  67. BOOL bUserEnteredData; // TRUE if the user sees the user info page
  68. HANDLE hEventWebGateDone;
  69. HWND hwndProgressAnime;
  70. // State data that is common to both sides of the WIZARD
  71. CMNSTATEDATA cmnStateData;
  72. } WIZARDSTATE;
  73. #endif // _WIZDEF_H_