Source code of Windows XP (NT5)
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.

81 lines
1.6 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. /*++
  3. Copyright (C) Microsoft Corporation, 1997 - 1999
  4. Module Name:
  5. MachineEnumTask.h
  6. Abstract:
  7. Header file for the CMachineEnumTask class -- this class implements
  8. an enumerator for tasks to add the NAP taskpad to the main IAS one.
  9. See MachineEnumTask.cpp for implementation details.
  10. Revision History:
  11. mmaguire 03/06/98 - created from IAS taskpad code
  12. --*/
  13. //////////////////////////////////////////////////////////////////////////////
  14. #if !defined(_IAS_MACHINE_ENUM_TASKS_H_)
  15. #define _IAS_MACHINE_ENUM_TASKS_H_
  16. //////////////////////////////////////////////////////////////////////////////
  17. // BEGIN INCLUDES
  18. //
  19. // where we can find what this class derives from:
  20. //
  21. #include "EnumTask.h"
  22. //
  23. //
  24. // where we can find what this class has or uses:
  25. //
  26. //
  27. // END INCLUDES
  28. //////////////////////////////////////////////////////////////////////////////
  29. #define MACHINE_TASK__DEFINE_NETWORK_ACCESS_POLICY 10
  30. class CMachineNode;
  31. class CMachineEnumTask : public IEnumTASKImpl<CMachineEnumTask>
  32. {
  33. public:
  34. // Use this constructor - pass in a pointer to CMachineNode.
  35. CMachineEnumTask( CMachineNode * pMachineNode );
  36. // This constructor is used only by IEnumTASKImpl's Clone method.
  37. CMachineEnumTask();
  38. STDMETHOD(Init)(
  39. IDataObject * pdo
  40. , LPOLESTR szTaskGroup
  41. );
  42. STDMETHOD(Next)(
  43. ULONG celt
  44. , MMC_TASK *rgelt
  45. , ULONG *pceltFetched
  46. );
  47. STDMETHOD(CopyState)( CMachineEnumTask * pSourceMachineEnumTask );
  48. CMachineNode * m_pMachineNode;
  49. };
  50. #endif // _IAS_MACHINE_ENUM_TASKS_H_