Leaked source code of windows server 2003
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

  1. // (C) 1999 Microsoft Corporation
  2. #ifndef _PingProvClassFactory_H
  3. #define _PingProvClassFactory_H
  4. class CPingProviderClassFactory : public IClassFactory
  5. {
  6. private:
  7. long m_ReferenceCount ;
  8. protected:
  9. public:
  10. static LONG s_LocksInProgress ;
  11. static LONG s_ObjectsInProgress ;
  12. CPingProviderClassFactory () ;
  13. ~CPingProviderClassFactory ( void ) ;
  14. //IUnknown members
  15. STDMETHODIMP QueryInterface ( REFIID , LPVOID FAR * ) ;
  16. STDMETHODIMP_( ULONG ) AddRef () ;
  17. STDMETHODIMP_( ULONG ) Release () ;
  18. //IClassFactory members
  19. STDMETHODIMP CreateInstance ( LPUNKNOWN , REFIID , LPVOID FAR * ) ;
  20. STDMETHODIMP LockServer ( BOOL ) ;
  21. };
  22. #endif // _PingProvClassFactory_H