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.

33 lines
650 B

  1. //******************************************************************************
  2. //
  3. // NEWOBJ.H
  4. //
  5. // Copyright (C) 1996-1999 Microsoft Corporation
  6. //
  7. //******************************************************************************
  8. #ifndef __WBEM_NEW_OBJ__H_
  9. #define __WBEM_NEW_OBJ__H_
  10. #include <sync.h>
  11. #include <wbemcomn.h>
  12. #include <wbemidl.h>
  13. #include <wbemint.h>
  14. class CInstanceManager
  15. {
  16. protected:
  17. CCritSec m_cs;
  18. CFlexQueue m_Available;
  19. public:
  20. ~CInstanceManager()
  21. {
  22. Clear();
  23. }
  24. void Clear();
  25. _IWmiObject* Clone(_IWmiObject* pOld);
  26. static void Delete(void* pArg, _IWmiObject* p);
  27. };
  28. #endif