windows-nt/Source/XPSP1/NT/admin/wmi/wbem/bvt/whistler/action.cpp
2020-09-26 16:20:57 +08:00

33 lines
685 B
C++

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// File: Action.CPP
//
// Description: Implementation of the CAction member fuctions.
//
// (c) 1999 Microsoft Corporation
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#include "precomp.h"
#include "Action.h"
// Basic constructor
CAction::CAction(IWbemServices *pWbem):
m_pWbem(pWbem),
m_hStatus(0)
{
if(m_pWbem)
{
m_pWbem->AddRef();
}
}
// Basic Destructor
CAction::~CAction()
{
if(m_pWbem)
{
m_pWbem->Release();
}
}