windows-nt/Source/XPSP1/NT/admin/wmi/wbem/adapters/adsi/cwmiextcf.h
2020-09-26 16:20:57 +08:00

56 lines
1.2 KiB
C++

//***************************************************************************
//
// Copyright (c) 1992-1999 Microsoft Corporation
//
// File: cwmiextcf.h
//
// Description :
// Defines the class factory class for the WMI 3rd party extension to ADS
//
// Part of : WMI ADs 3rd party extension
//
// History:
// corinaf 10/20/98 Created
//
//***************************************************************************
#ifndef _CWMIEXTCF_H_
#define _CWMIEXTCF_H_
//***************************************************************************
//
// Class : CWMIExtensionCF
//
// Description :
// class factory for CWbemProvider objects
//
// Public Methods :
// IUnknown Methods
// IClassFactory Methods
// Constructor, Destructor
//
// Public Data Members :
//
//***************************************************************************
class CWMIExtensionCF : public IClassFactory
{
protected:
DWORD m_cRef;
public:
CWMIExtensionCF();
~CWMIExtensionCF();
DECLARE_IUnknown_METHODS
//IClassFactory members
STDMETHODIMP CreateInstance(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
STDMETHODIMP LockServer(BOOL fLock);
};
#endif //_CWMIEXTCF_H_