// (C) 1999 Microsoft Corporation #ifndef _PingProvClassFactory_H #define _PingProvClassFactory_H class CPingProviderClassFactory : public IClassFactory { private: long m_ReferenceCount ; protected: public: static LONG s_LocksInProgress ; static LONG s_ObjectsInProgress ; CPingProviderClassFactory () ; ~CPingProviderClassFactory ( void ) ; //IUnknown members STDMETHODIMP QueryInterface ( REFIID , LPVOID FAR * ) ; STDMETHODIMP_( ULONG ) AddRef () ; STDMETHODIMP_( ULONG ) Release () ; //IClassFactory members STDMETHODIMP CreateInstance ( LPUNKNOWN , REFIID , LPVOID FAR * ) ; STDMETHODIMP LockServer ( BOOL ) ; }; #endif // _PingProvClassFactory_H