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.

53 lines
1.2 KiB

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. /*
  3. *
  4. * SubToggle
  5. *
  6. * A subcomponent class to toggle Terminal Services.
  7. *
  8. */
  9. #ifndef __TSOC__SUBTOGGLE_H__
  10. #define __TSOC__SUBTOGGLE_H__
  11. //
  12. // Includes
  13. //
  14. #include "subcomp.h"
  15. //
  16. // Class Definition
  17. //
  18. class SubCompToggle : public OCMSubComp
  19. {
  20. public:
  21. virtual BOOL BeforeCompleteInstall ();
  22. virtual DWORD GetStepCount () const;
  23. virtual DWORD OnQueryState (UINT uiWhichState) const;
  24. virtual DWORD OnQuerySelStateChange (BOOL bNewState, BOOL bDirectSelection) const;
  25. BOOL AfterCompleteInstall ();
  26. LPCTSTR GetSectionToBeProcessed (ESections eSection) const;
  27. LPCTSTR GetSubCompID () const;
  28. BOOL ModifyWallPaperPolicy ();
  29. BOOL ModifyNFA ();
  30. BOOL ApplyDefaultSecurity ();
  31. BOOL ApplyModeRegistry ();
  32. BOOL SetPermissionsMode ();
  33. BOOL ResetWinstationSecurity ();
  34. BOOL ApplySection (LPCTSTR szSection);
  35. BOOL ModifyAppPriority ();
  36. BOOL InformLicensingOfModeChange();
  37. BOOL WriteLicensingMode ();
  38. //BOOL UpdateMMDefaults ();
  39. };
  40. #endif // _SubToggle_h_