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.

42 lines
674 B

  1. /*++
  2. Copyright (C) 1996-1999 Microsoft Corporation
  3. Module Name:
  4. WMICLASS.H
  5. History:
  6. --*/
  7. #ifndef WMICLASS_H
  8. #define WMICLASS_H
  9. class CWMILocClassFactory : public IClassFactory, public CLObject
  10. {
  11. public:
  12. CWMILocClassFactory();
  13. #ifdef _DEBUG
  14. void AssertValid(void) const;
  15. void Dump(CDumpContext &) const;
  16. #endif
  17. STDMETHOD_(ULONG, AddRef)();
  18. STDMETHOD_(ULONG, Release)();
  19. STDMETHOD(QueryInterface)(REFIID iid, LPVOID* ppvObj);
  20. STDMETHOD(CreateInstance)(THIS_ LPUNKNOWN, REFIID, LPVOID *);
  21. STDMETHOD(LockServer)(THIS_ BOOL);
  22. ~CWMILocClassFactory();
  23. private:
  24. UINT m_uiRefCount;
  25. };
  26. #endif // WMICLASS_H