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.

51 lines
1.1 KiB

  1. //***************************************************************************
  2. //
  3. // VPCFAC.H
  4. //
  5. // Module: WBEM VIEW PROVIDER
  6. //
  7. // Copyright (c) 1998-2001 Microsoft Corporation, All Rights Reserved
  8. //
  9. //***************************************************************************
  10. #ifndef _VIEW_PROV_VPCFAC_H
  11. #define _VIEW_PROV_VPCFAC_H
  12. /////////////////////////////////////////////////////////////////////////
  13. // This class is the class factory for the event provider.
  14. class CViewProvClassFactory : public IClassFactory
  15. {
  16. private:
  17. long m_referenceCount ;
  18. protected:
  19. public:
  20. static LONG locksInProgress ;
  21. static LONG objectsInProgress ;
  22. CViewProvClassFactory () ;
  23. ~CViewProvClassFactory ( void ) ;
  24. //IUnknown members
  25. STDMETHODIMP QueryInterface ( REFIID , LPVOID FAR * ) ;
  26. STDMETHODIMP_( ULONG ) AddRef () ;
  27. STDMETHODIMP_( ULONG ) Release () ;
  28. //IClassFactory members
  29. STDMETHODIMP LockServer ( BOOL ) ;
  30. STDMETHODIMP CreateInstance ( LPUNKNOWN , REFIID , LPVOID FAR * );
  31. };
  32. #endif //_VIEW_PROV_VPCFAC_H