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.

54 lines
1.8 KiB

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. /*
  3. *
  4. * Module Name:
  5. *
  6. * hydraoc.h
  7. *
  8. * Abstract:
  9. *
  10. * Common Header file for the HydraOC Component.
  11. * HydraOc Component is an optional component which installs Termainal Server (Hydra)
  12. *
  13. * Author:
  14. *
  15. *
  16. * Environment:
  17. *
  18. * User Mode
  19. */
  20. #ifndef _HYDRAOC_H_
  21. #define _HYDRAOC_H_
  22. #include "state.h"
  23. DWORD IsStringInMultiString (HKEY hkey, LPCTSTR szkey, LPCTSTR szvalue, LPCTSTR szCheckForString, BOOL *pbFound);
  24. DWORD RemoveStringFromMultiString (HKEY hkey, LPCTSTR szSuitekey, LPCTSTR szSuitevalue, LPCTSTR szAppend);
  25. DWORD AppendStringToMultiString (HKEY hkey, LPCTSTR szSuitekey, LPCTSTR szSuitevalue, LPCTSTR szAppend);
  26. DWORD GetStringValue (HINF hinf, LPCTSTR section, LPCTSTR key, LPTSTR outputbuffer, DWORD dwSize);
  27. DWORD GetSectionToBeProcessed (HINF hInf, LPTSTR section, LPCTSTR SubcomponentId);
  28. BOOL DoesHydraKeysExists ();
  29. BOOL DisableNonRDPWinstations ();
  30. BOOL UpgradeRdpWinstations ();
  31. BOOL IsMetaFrameWinstation (CRegistry *pRegWinstation);
  32. BOOL IsConsoleWinStation (CRegistry *pRegWinstation);
  33. BOOL IsRdpWinStation (CRegistry *pRegWinstation);
  34. BOOL UpdateRDPWinstation (CRegistry *pRegWinstation);
  35. BOOL DisableWinStation (CRegistry *pRegWinstation);
  36. void TickGauge (DWORD dwTickCount);
  37. void TickComplete();
  38. BOOL DisableInternetConnector ();
  39. const int S_SIZE = 256;
  40. const int MAX_PRODUCT_SUITE_SIZE = 256;
  41. const int MAX_VERSION_STRING = 256;
  42. const UINT COMPONENT_VERSION = OCMANAGER_VERSION;
  43. const UINT REGSVR_ADDREMOVE = 1;
  44. const UINT REGSVR_PROGRAM = 2;
  45. #endif