windows-nt/Source/XPSP1/NT/sdktools/checksym/processinfonode.cpp
2020-09-26 16:20:57 +08: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;
}