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.

34 lines
977 B

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1999 - 2000
  6. //
  7. // File: processinfonode.cpp
  8. //
  9. //--------------------------------------------------------------------------
  10. // ProcessInfoNode.cpp: implementation of the CProcessInfoNode class.
  11. //
  12. //////////////////////////////////////////////////////////////////////
  13. #include "ProcessInfoNode.h"
  14. #include "ProcessInfo.h"
  15. //////////////////////////////////////////////////////////////////////
  16. // Construction/Destruction
  17. //////////////////////////////////////////////////////////////////////
  18. CProcessInfoNode::CProcessInfoNode(CProcessInfo * lpProcessInfo)
  19. {
  20. // Save the Process Info object in our node...
  21. m_lpProcessInfo = lpProcessInfo;
  22. m_lpNextProcessInfoNode = NULL;
  23. }
  24. CProcessInfoNode::~CProcessInfoNode()
  25. {
  26. // Cleanup our process info object if necessary...
  27. if (m_lpProcessInfo)
  28. delete m_lpProcessInfo;
  29. }