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.

50 lines
1.5 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // File Name: fxState.h
  4. //
  5. // Abstract: Header file used by Faxocm source files
  6. //
  7. // Environment: Windows XP / User Mode
  8. //
  9. // Copyright (c) 2000 Microsoft Corporation
  10. //
  11. // Revision History:
  12. //
  13. // Date: Developer: Comments:
  14. // ----- ---------- ---------
  15. // 15-Mar-2000 Oren Rosenbloom (orenr) Created
  16. //////////////////////////////////////////////////////////////////////////////
  17. #ifndef _FXSTATE_H_
  18. #define _FXSTATE_H_
  19. typedef enum fxState_UpgradeType_e
  20. {
  21. FXSTATE_UPGRADE_TYPE_NONE = 0,
  22. FXSTATE_UPGRADE_TYPE_WIN31 = 1,
  23. FXSTATE_UPGRADE_TYPE_WIN9X = 2,
  24. FXSTATE_UPGRADE_TYPE_W2K = 3,
  25. FXSTATE_UPGRADE_TYPE_XP_DOT_NET = 4,
  26. FXSTATE_UPGRADE_TYPE_REPAIR = 5
  27. };
  28. DWORD fxState_Init(void);
  29. DWORD fxState_Term(void);
  30. BOOL fxState_IsCleanInstall(void);
  31. fxState_UpgradeType_e fxState_IsUpgrade(void);
  32. BOOL fxState_IsUnattended(void);
  33. BOOL fxState_IsStandAlone(void);
  34. void fxState_DumpSetupState(void);
  35. BOOL fxState_IsOsServerBeingInstalled(void);
  36. ///////////////////////////////
  37. // fxState_GetInstallType
  38. //
  39. // This function returns one
  40. // of the INF_KEYWORD_INSTALLTYPE_*
  41. // constants found in
  42. // fxconst.h/fxconst.cpp
  43. //
  44. //
  45. const TCHAR* fxState_GetInstallType(const TCHAR* pszCurrentSection);
  46. #endif // _FXSTATE_H_