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.
51 lines
1.1 KiB
51 lines
1.1 KiB
//***************************************************************************
|
|
|
|
//
|
|
|
|
// VPCFAC.H
|
|
|
|
//
|
|
|
|
// Module: WBEM VIEW PROVIDER
|
|
|
|
//
|
|
|
|
// Copyright (c) 1998-2001 Microsoft Corporation, All Rights Reserved
|
|
//
|
|
//***************************************************************************
|
|
|
|
#ifndef _VIEW_PROV_VPCFAC_H
|
|
#define _VIEW_PROV_VPCFAC_H
|
|
|
|
/////////////////////////////////////////////////////////////////////////
|
|
// This class is the class factory for the event provider.
|
|
|
|
class CViewProvClassFactory : public IClassFactory
|
|
{
|
|
private:
|
|
|
|
long m_referenceCount ;
|
|
|
|
protected:
|
|
public:
|
|
|
|
static LONG locksInProgress ;
|
|
static LONG objectsInProgress ;
|
|
|
|
|
|
CViewProvClassFactory () ;
|
|
~CViewProvClassFactory ( void ) ;
|
|
|
|
//IUnknown members
|
|
|
|
STDMETHODIMP QueryInterface ( REFIID , LPVOID FAR * ) ;
|
|
STDMETHODIMP_( ULONG ) AddRef () ;
|
|
STDMETHODIMP_( ULONG ) Release () ;
|
|
|
|
//IClassFactory members
|
|
STDMETHODIMP LockServer ( BOOL ) ;
|
|
STDMETHODIMP CreateInstance ( LPUNKNOWN , REFIID , LPVOID FAR * );
|
|
|
|
};
|
|
|
|
#endif //_VIEW_PROV_VPCFAC_H
|