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.

108 lines
2.6 KiB

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 2001, Microsoft Corporation All rights reserved.
  4. //
  5. // Module Name:
  6. //
  7. // infparser.h
  8. //
  9. // Abstract:
  10. //
  11. // This file contains global definition for the infparser.exe utility.
  12. //
  13. // Revision History:
  14. //
  15. // 2001-06-20 lguindon Created.
  16. //
  17. ///////////////////////////////////////////////////////////////////////////////
  18. #ifndef _INFPARSER_H_
  19. #define _INFPARSER_H_
  20. ///////////////////////////////////////////////////////////////////////////////
  21. //
  22. // Includes Files.
  23. //
  24. ///////////////////////////////////////////////////////////////////////////////
  25. #include <windows.h>
  26. #include <setupapi.h>
  27. #include <rpc.h>
  28. #include <tchar.h>
  29. #include <strsafe.h>
  30. #include "Component.h"
  31. #include "ComponentList.h"
  32. #include "FileLayout.h"
  33. #include "FileLayoutExceptionList.h"
  34. #include "File.h"
  35. #include "FileList.h"
  36. #include "Uuid.h"
  37. ///////////////////////////////////////////////////////////////////////////////
  38. //
  39. // Enumeration
  40. //
  41. ///////////////////////////////////////////////////////////////////////////////
  42. enum flavorList
  43. {
  44. FLV_UNDEFINED = 0x0000,
  45. FLV_CORE = 0x0001,
  46. FLV_PERSONAL = 0x0002,
  47. FLV_PROFESSIONAL = 0x0004,
  48. FLV_SERVER = 0x0008,
  49. FLV_ADVSERVER = 0x0010,
  50. FLV_DATACENTER = 0x0040,
  51. FLV_WEBBLADE = 0x0080,
  52. FLV_SMALLBUSINESS = 0x0100
  53. };
  54. enum argumentToken
  55. {
  56. ARG_UNDEFINED = 0x0000,
  57. ARG_BINARY = 0x0001,
  58. ARG_LANG = 0x0002,
  59. ARG_FLAVOR = 0x0004,
  60. ARG_DIR = 0x0008,
  61. ARG_OUT = 0x0010,
  62. ARG_SILENT = 0x0020,
  63. ARG_LOCBIN = 0x0040,
  64. ARG_CDLAYOUT = 0x0080,
  65. ARG_CORELOCBIN = 0x0100
  66. };
  67. enum binaryType
  68. {
  69. BIN_UNDEFINED = 0x0000,
  70. BIN_32 = 0x0001,
  71. BIN_64 = 0x0002,
  72. };
  73. ///////////////////////////////////////////////////////////////////////////////
  74. //
  75. // Type definitions
  76. //
  77. ///////////////////////////////////////////////////////////////////////////////
  78. typedef struct LayoutInf
  79. {
  80. CHAR strLayoutInfPaths[MAX_PATH];
  81. FileLayoutExceptionList flLayoutCore;
  82. FileLayoutExceptionList flLayoutX86;
  83. FileLayoutExceptionList flLayoutIA64;
  84. CHAR strSkuName[4];
  85. } LAYOUTINF;
  86. ///////////////////////////////////////////////////////////////////////////////
  87. //
  88. // Global
  89. //
  90. ///////////////////////////////////////////////////////////////////////////////
  91. extern BOOL bSilence;
  92. extern DWORD dwComponentCounter;
  93. extern DWORD dwDirectoryCounter;
  94. extern WORD gBuildNumber;
  95. #endif //_INFPARSER_H_