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.

64 lines
1.3 KiB

  1. //
  2. // MODULE: DNLDIST.H
  3. //
  4. // PURPOSE: Downloads and installs the latest trouble shooters.
  5. //
  6. // PROJECT: Generic Troubleshooter DLL for Microsoft AnswerPoint
  7. //
  8. // COMPANY: Saltmine Creative, Inc. (206)-633-4743 [email protected]
  9. //
  10. // AUTHOR: Roman Mach
  11. //
  12. // ORIGINAL DATE: 6/4/96
  13. //
  14. // NOTES: Not supported functionality 3/98
  15. //
  16. // Version Date By Comments
  17. //--------------------------------------------------------------------
  18. // V0.1 - RM Original
  19. // V0.3 3/24/98 JM Local Version for NT5
  20. //
  21. //
  22. //
  23. class CDnldObj : public CObject
  24. {
  25. public:
  26. CDnldObj(CString &sType, CString &sFilename, DWORD dwVersion, CString &sFriendlyName, CString &sKeyName);
  27. ~CDnldObj();
  28. CString m_sType;
  29. CString m_sFilename;
  30. CString m_sKeyname;
  31. DWORD m_dwVersion;
  32. CString m_sFriendlyName;
  33. CString m_sExt;
  34. };
  35. //
  36. //
  37. class CDnldObjList : public CObList
  38. {
  39. public:
  40. CDnldObjList();
  41. ~CDnldObjList();
  42. void RemoveHead();
  43. void RemoveAll();
  44. void AddTail(CDnldObj *pDnld);
  45. VOID SetFirstItem();
  46. BOOL FindNextItem();
  47. const CString GetCurrFile();
  48. const CString GetCurrFileKey();
  49. const CString GetCurrFriendly();
  50. const CString GetCurrType();
  51. const CString GetCurrExt();
  52. DWORD CDnldObjList::GetCurrVersion();
  53. protected:
  54. POSITION m_pos;
  55. CDnldObj *m_pDnld;
  56. };