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.

43 lines
834 B

  1. //-----------------------------------------------------------------------------
  2. //
  3. // File: WMIClass.H
  4. // Copyright (c) 1994-2001 Microsoft Corporation, All Rights Reserved
  5. // All rights reserved.
  6. //
  7. //
  8. //
  9. //-----------------------------------------------------------------------------
  10. #ifndef WMICLASS_H
  11. #define WMICLASS_H
  12. class CWMILocClassFactory : public IClassFactory, public CLObject
  13. {
  14. public:
  15. CWMILocClassFactory();
  16. #ifdef _DEBUG
  17. void AssertValid(void) const;
  18. void Dump(CDumpContext &) const;
  19. #endif
  20. STDMETHOD_(ULONG, AddRef)();
  21. STDMETHOD_(ULONG, Release)();
  22. STDMETHOD(QueryInterface)(REFIID iid, LPVOID* ppvObj);
  23. STDMETHOD(CreateInstance)(THIS_ LPUNKNOWN, REFIID, LPVOID *);
  24. STDMETHOD(LockServer)(THIS_ BOOL);
  25. ~CWMILocClassFactory();
  26. private:
  27. UINT m_uiRefCount;
  28. };
  29. #endif // WMICLASS_H