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.
34 lines
732 B
34 lines
732 B
// (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
|