Source code of Windows XP (NT5)
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.

55 lines
1.3 KiB

  1. //
  2. // Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved
  3. //
  4. // ***************************************************************************
  5. //
  6. // Original Author: Rajesh Rao
  7. //
  8. // $Author: rajeshr $
  9. // $Date: 9/16/98 4:43p $
  10. // $Workfile:classfac.cpp $
  11. //
  12. // $Modtime: 9/16/98 11:21a $
  13. // $Revision: 1 $
  14. // $Nokeywords: $
  15. //
  16. //
  17. // Description: Contains the declaration for the DS Instnace Provider class factory
  18. //
  19. //***************************************************************************
  20. /////////////////////////////////////////////////////////////////////////
  21. #ifndef DS_INSTANCE_PROVIDER_CLASS_FACTORY_H
  22. #define DS_INSTANCE_PROVIDER_CLASS_FACTORY_H
  23. class CDSInstanceProviderClassFactory : public IClassFactory
  24. {
  25. private:
  26. long m_ReferenceCount ;
  27. protected:
  28. public:
  29. // Initializer objects required by the classes used by the DLL
  30. static CDSInstanceProviderInitializer *s_pDSInstanceProviderInitializer;
  31. CDSInstanceProviderClassFactory () ;
  32. ~CDSInstanceProviderClassFactory ( void ) ;
  33. //IUnknown members
  34. STDMETHODIMP QueryInterface ( REFIID , LPVOID FAR * ) ;
  35. STDMETHODIMP_( ULONG ) AddRef () ;
  36. STDMETHODIMP_( ULONG ) Release () ;
  37. //IClassFactory members
  38. STDMETHODIMP CreateInstance ( LPUNKNOWN , REFIID , LPVOID FAR * ) ;
  39. STDMETHODIMP LockServer ( BOOL ) ;
  40. };
  41. #endif // DS_INSTANCE_PROVIDER_CLASS_FACTORY_H