windows-nt/Source/XPSP1/NT/inetsrv/query/admin/classfac.hxx

54 lines
1.4 KiB
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
//+-------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1996-1997
//
// File: ClassFac.hxx
//
// Contents: Class factory for admin COM object
//
// History: 26-Nov-1996 KyleP Created
//
//--------------------------------------------------------------------------
#pragma once
//+-------------------------------------------------------------------------
//
// Class: CCIAdminCF
//
// Purpose: Class factory for MMC snap-in
//
// History: 26-Nov-1996 KyleP Created
//
//--------------------------------------------------------------------------
class CCIAdminCF : public IClassFactory
{
public:
virtual SCODE STDMETHODCALLTYPE QueryInterface( REFIID riid,
void ** ppvObject);
virtual ULONG STDMETHODCALLTYPE AddRef();
virtual ULONG STDMETHODCALLTYPE Release();
virtual SCODE STDMETHODCALLTYPE CreateInstance( IUnknown * pUnkOuter,
REFIID riid, void * * ppvObject );
virtual SCODE STDMETHODCALLTYPE LockServer( BOOL fLock );
protected:
friend SCODE STDMETHODCALLTYPE DllGetClassObject( REFCLSID cid,
REFIID iid, void** ppvObj );
CCIAdminCF();
virtual ~CCIAdminCF();
long _uRefs;
};