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.

66 lines
2.5 KiB

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. //
  3. // SubCore.h
  4. // subcomponent enable terminal services.
  5. //
  6. #ifndef _SubCore_h_
  7. #define _SubCore_h_
  8. #include "subcomp.h" // defines OCMSubComp
  9. class SubCompCoreTS : public OCMSubComp
  10. {
  11. public:
  12. DWORD GetStepCount () const;
  13. LPCTSTR GetSubCompID () const;
  14. DWORD OnQueryState (UINT uiWhichState);
  15. LPCTSTR GetSectionToBeProcessed (ESections eSection) const;
  16. BOOL BeforeCompleteInstall ();
  17. BOOL AfterCompleteInstall ();
  18. DWORD OnQuerySelStateChange (BOOL bNewState, BOOL bDirectSelection) const;
  19. DWORD LoadOrUnloadPerf ();
  20. BOOL SetupConsoleShadow ();
  21. void AddRDPNP(LPTSTR szOldValue, LPTSTR szNewValue);
  22. void RemoveRDPNP(LPTSTR szOldValue, LPTSTR szNewValue);
  23. BOOL AddRemoveRDPNP ();
  24. BOOL InstallUninstallRdpDr ();
  25. BOOL HandleHotkey ();
  26. BOOL UpdateMMDefaults ();
  27. BOOL AddTermSrvToNetSVCS ();
  28. BOOL AddRemoveTSProductSuite ();
  29. BOOL UpgradeRdpWinstations ();
  30. BOOL DoHydraRegistrySecurityChanges ();
  31. BOOL DisableInternetConnector ();
  32. BOOL ResetTermServGracePeriod ();
  33. BOOL RemoveOldKeys ();
  34. BOOL RemoveTSServicePackEntry ();
  35. BOOL RemoveMetaframeFromUserinit ();
  36. BOOL UninstallTSClient ();
  37. BOOL WriteDenyConnectionRegistry ();
  38. bool DisableCSC ();
  39. bool InstallTermdd ();
  40. void IsCSCEnabled ();
  41. BOOL BackUpRestoreConnections (BOOL bBackup);
  42. BOOL IsConsoleShadowInstalled ();
  43. void SetConsoleShadowInstalled (BOOL bInstalled);
  44. BOOL IsTermSrvInNetSVCS ();
  45. BOOL DisableWinStation (CRegistry *pRegWinstation);
  46. BOOL DoesLanaTableExist ();
  47. void VerifyLanAdapters (CRegistry *pRegWinstation, LPTSTR pszWinstation);
  48. BOOL UpdateRDPWinstation (CRegistry *pRegWinstation, LPTSTR lpWinStationName);
  49. BOOL IsRdpWinStation (CRegistry *pRegWinstation);
  50. BOOL IsConsoleWinStation (CRegistry *pRegWinstation);
  51. BOOL IsMetaFrameWinstation (CRegistry *pRegWinstation);
  52. private:
  53. DWORD UnloadPerf();
  54. BOOL MoveWinStationPassword(CRegistry *pRegWinstation, LPTSTR pszWinStationName);
  55. };
  56. #endif // _SubCore_h_