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.

51 lines
1.2 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 2000 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // EvictServices.h
  7. //
  8. // Description:
  9. // EvictServices implementation.
  10. //
  11. // Maintained By:
  12. // Geoffrey Pease (GPease) 15-JUN-2000
  13. //
  14. //////////////////////////////////////////////////////////////////////////////
  15. #pragma once
  16. class
  17. CEvictServices
  18. : public IClusCfgResourceEvict
  19. , public IPrivatePostCfgResource
  20. {
  21. private: // data
  22. // IUnknown
  23. LONG m_cRef; // Reference counter
  24. // IPrivatePostCfgResource
  25. CResourceEntry * m_presentry; // List entry that the service is to modify.
  26. private: // methods
  27. CEvictServices( void );
  28. ~CEvictServices( void );
  29. HRESULT
  30. HrInit(void );
  31. public: // methods
  32. static HRESULT
  33. S_HrCreateInstance( IUnknown ** ppunkOut );
  34. // IUnknown
  35. STDMETHOD( QueryInterface )( REFIID riid, LPVOID *ppv );
  36. STDMETHOD_( ULONG, AddRef )( void );
  37. STDMETHOD_( ULONG, Release )( void );
  38. // IClusCfgResourcePreCreate
  39. STDMETHOD( DoSomethingCool )( void );
  40. // IPrivatePostCfgResource
  41. STDMETHOD( SetEntry )( CResourceEntry * presentryIn );
  42. }; // class CEvictServices