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.2 KiB

  1. //***************************************************************************
  2. //
  3. // Copyright (c) 1992-1999 Microsoft Corporation
  4. //
  5. // File: cwmiextcf.h
  6. //
  7. // Description :
  8. // Defines the class factory class for the WMI 3rd party extension to ADS
  9. //
  10. // Part of : WMI ADs 3rd party extension
  11. //
  12. // History:
  13. // corinaf 10/20/98 Created
  14. //
  15. //***************************************************************************
  16. #ifndef _CWMIEXTCF_H_
  17. #define _CWMIEXTCF_H_
  18. //***************************************************************************
  19. //
  20. // Class : CWMIExtensionCF
  21. //
  22. // Description :
  23. // class factory for CWbemProvider objects
  24. //
  25. // Public Methods :
  26. // IUnknown Methods
  27. // IClassFactory Methods
  28. // Constructor, Destructor
  29. //
  30. // Public Data Members :
  31. //
  32. //***************************************************************************
  33. class CWMIExtensionCF : public IClassFactory
  34. {
  35. protected:
  36. DWORD m_cRef;
  37. public:
  38. CWMIExtensionCF();
  39. ~CWMIExtensionCF();
  40. DECLARE_IUnknown_METHODS
  41. //IClassFactory members
  42. STDMETHODIMP CreateInstance(IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv);
  43. STDMETHODIMP LockServer(BOOL fLock);
  44. };
  45. #endif //_CWMIEXTCF_H_