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.

55 lines
1.5 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1997.
  5. //
  6. // File: C O N F L I C T . H
  7. //
  8. // Contents: Code to handle and display software/hardware conflicts
  9. // during upgrade
  10. //
  11. // Notes:
  12. //
  13. // Author: kumarp 04/12/97 17:17:27
  14. //
  15. //----------------------------------------------------------------------------
  16. #pragma once
  17. #include "kkstl.h"
  18. HRESULT HrGenerateConflictList(OUT UINT* pcNumConflicts);
  19. void UninitConflictList();
  20. BOOL UpgradeConflictsFound();
  21. HRESULT HrUpdateConflictList(IN BOOL fDeleteResolvedItemsFromList,
  22. IN HINF hinfNetMap,
  23. OUT DWORD* pdwNumConflictsResolved,
  24. OUT BOOL* pfHasUpgradeHelpInfo);
  25. HRESULT HrGetConflictsList(OUT TPtrList** ppplNetComponents);
  26. BOOL ShouldRemoveDLC (OUT OPTIONAL tstring *strDLCDesc,
  27. OUT OPTIONAL BOOL *fInstalled);
  28. typedef enum EComponentTypeEnum
  29. {
  30. CT_Unknown,
  31. CT_Software,
  32. CT_Hardware
  33. } EComponentType;
  34. class CNetComponent
  35. {
  36. public:
  37. EComponentType m_eType;
  38. tstring m_strPreNT5InfId;
  39. tstring m_strServiceName;
  40. tstring m_strDescription;
  41. tstring m_strNT5InfId;
  42. CNetComponent(PCWSTR szPreNT5InfId,
  43. PCWSTR szPreNT5Instance,
  44. PCWSTR szDescription,
  45. EComponentType eType);
  46. };