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.

35 lines
774 B

  1. //
  2. // Copyright (c) 1999-2001 Microsoft Corporation, All Rights Reserved
  3. //
  4. #ifndef _ClassFactory_H_
  5. #define _ClassFactory_H_
  6. #define _WIN32_DCOM
  7. // This class is the class factory for CMSIProv objects.
  8. class CMethodsFactory : public IClassFactory
  9. {
  10. protected:
  11. ULONG m_cRef;
  12. public:
  13. CMethodsFactory(void);
  14. ~CMethodsFactory(void);
  15. //IUnknown members
  16. STDMETHODIMP QueryInterface(REFIID, LPVOID *);
  17. STDMETHODIMP_(ULONG) AddRef(void);
  18. STDMETHODIMP_(ULONG) Release(void);
  19. //IClassFactory members
  20. STDMETHODIMP CreateInstance(LPUNKNOWN, REFIID, LPVOID *);
  21. STDMETHODIMP LockServer(BOOL);
  22. };
  23. typedef CMethodsFactory *PCMethodsFactory;
  24. #endif