mirror of https://github.com/tongzx/nt5src
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.
32 lines
685 B
32 lines
685 B
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// 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();
|
|
}
|
|
}
|
|
|