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.

47 lines
1.3 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 2000-2001 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // EvictServices.h
  7. //
  8. // Description:
  9. // EvictServices implementation.
  10. //
  11. // Maintained By:
  12. // David Potter (DavidP) 19-JUN-2001
  13. // Geoffrey Pease (GPease) 15-JUN-2000
  14. //
  15. //////////////////////////////////////////////////////////////////////////////
  16. #pragma once
  17. class 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 HrInit( void );
  30. public: // methods
  31. static HRESULT S_HrCreateInstance( IUnknown ** ppunkOut );
  32. // IUnknown
  33. STDMETHOD( QueryInterface )( REFIID riidIn, LPVOID * ppvOut );
  34. STDMETHOD_( ULONG, AddRef )( void );
  35. STDMETHOD_( ULONG, Release )( void );
  36. // IPrivatePostCfgResource
  37. STDMETHOD( SetEntry )( CResourceEntry * presentryIn );
  38. }; //*** class CEvictServices