windows-nt/Source/XPSP1/NT/admin/wmi/wbem/winmgmt/ess3/newobj.h
2020-09-26 16:20:57 +08:00

34 lines
650 B
C++

//******************************************************************************
//
// NEWOBJ.H
//
// Copyright (C) 1996-1999 Microsoft Corporation
//
//******************************************************************************
#ifndef __WBEM_NEW_OBJ__H_
#define __WBEM_NEW_OBJ__H_
#include <sync.h>
#include <wbemcomn.h>
#include <wbemidl.h>
#include <wbemint.h>
class CInstanceManager
{
protected:
CCritSec m_cs;
CFlexQueue m_Available;
public:
~CInstanceManager()
{
Clear();
}
void Clear();
_IWmiObject* Clone(_IWmiObject* pOld);
static void Delete(void* pArg, _IWmiObject* p);
};
#endif