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.

86 lines
1.6 KiB

  1. //*********************************************************************
  2. //* Microsoft Windows **
  3. //* Copyright(c) Microsoft Corp., 1994-1995 **
  4. //*********************************************************************
  5. //
  6. // WIZARD.H - central header file for Internet setup/signup wizard
  7. //
  8. // HISTORY:
  9. //
  10. // 11/20/94 jeremys Created.
  11. // 96/03/26 markdu Put #ifdef __cplusplus around extern "C"
  12. //
  13. #ifndef _WIZARD_H_
  14. #define _WIZARD_H_
  15. #define STRICT // Use strict handle types
  16. #define _SHELL32_
  17. #ifdef DEBUG
  18. // component name for debug spew
  19. #define SZ_COMPNAME "INETWIZ: "
  20. #endif // DEBUG
  21. #include <windows.h>
  22. #include <windowsx.h>
  23. #include <locale.h>
  24. #include "..\inc\wizdebug.h"
  25. #include "ids.h"
  26. #ifdef WIN32
  27. extern VOID
  28. ProcessCmdLine (
  29. LPCTSTR lpszCmd
  30. );
  31. //
  32. // here the function declaration for the reboot functionality
  33. //
  34. extern
  35. DWORD
  36. SetRunOnce (
  37. VOID
  38. );
  39. extern BOOL
  40. SetStartUpCommand (
  41. LPTSTR lpCmd
  42. );
  43. extern VOID
  44. DeleteStartUpCommand (
  45. VOID
  46. );
  47. extern BOOL
  48. FGetSystemShutdownPrivledge (
  49. VOID
  50. );
  51. extern BOOL
  52. IsNT (
  53. VOID
  54. );
  55. extern BOOL
  56. IsNT5 (
  57. VOID
  58. );
  59. #endif // ifdef WIN32
  60. #define SMALL_BUF_LEN 48
  61. #ifndef ARRAYSIZE
  62. #define ARRAYSIZE(a) (sizeof(a)/sizeof(a[0]))
  63. #endif
  64. #ifndef NULL_TERM_TCHARS
  65. #define NULL_TERM_TCHARS(sz); {sz[ARRAYSIZE(sz)-1] = TEXT('\0');}
  66. #endif
  67. #endif // _WIZARD_H_