WindowsXP/Source/XPSP1/NT/sdktools/checksym/processinfonode.cpp
2024-08-03 16:30:48 +02:00

35 lines
977 B
C++

//+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1999 - 2000
//
// File: processinfonode.cpp
//
//--------------------------------------------------------------------------
// ProcessInfoNode.cpp: implementation of the CProcessInfoNode class.
//
//////////////////////////////////////////////////////////////////////
#include "ProcessInfoNode.h"
#include "ProcessInfo.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CProcessInfoNode::CProcessInfoNode(CProcessInfo * lpProcessInfo)
{
// Save the Process Info object in our node...
m_lpProcessInfo = lpProcessInfo;
m_lpNextProcessInfoNode = NULL;
}
CProcessInfoNode::~CProcessInfoNode()
{
// Cleanup our process info object if necessary...
if (m_lpProcessInfo)
delete m_lpProcessInfo;
}