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.

81 lines
5.4 KiB

  1. #include "windows.h"
  2. #include "resource.h"
  3. STRINGTABLE DISCARDABLE
  4. BEGIN
  5. iszMustBeAdmin "Must be an administrator to run this program - setup failed"
  6. iszNotRunningServer "This machine is not running Windows NT Server. \nIt cannot be a Telephony Server"
  7. iszRegOpenKeyFailed "RegOpenKey failed"
  8. iszRegSetValueFailed "RegSetValueEx failed"
  9. iszOpenThreadTokenFailed "OpenThreadToken failed"
  10. iszGetTokenInfoFailed "GetTokenInformation failed"
  11. iszAllocateAndInitializeSidFailed "AllocateAndInitializeSid failed"
  12. iszUserNotAdmin "User account does not have administrator privileges"
  13. iszOpenSCManagerFailed "OpenSCManager failed"
  14. iszServerDisabled "Telephony Server successfully disabled"
  15. iszServerDisabledFailure "A failure occurred while disabling the Telephony Server."
  16. iszServerSetup "TAPI Server successfully set up."
  17. iszServerSetupFailure "A failure occurred while setting up the Telephony Server."
  18. iszNoPasswordSupplied "A password is required for the administrator account (since ""/N"" as not specified), but none was supplied"
  19. iszNoMapperSupplied "The name of the 'mapper.dll' was not supplied"
  20. iszUserNotAnAdmin "You are not logged in on an Administrator account"
  21. iszOpenPolicyFailed "OpenPolicy system call failed - verify the specified administrator account is correct and exists"
  22. iszSetPrivilegeOnAccount "SetPrivilege on account failed - verify security of logged on account and specified administrator account"
  23. iszRegWriteFailed "Writing values to the registry failed - verify security of logged on account and try again"
  24. iszOpenServiceFailed "OpenService failed - verify that Telephony Service exists (in the Control Panel\\Services applet"
  25. iszNotClient "This machine is not currently a client - cannot disable client"
  26. iszClientDisabled "TAPI Client successfully disabled"
  27. iszClientDisabledFailure "A failure occurred while disabling the client"
  28. iszClientSetup "TAPI Client successfully set up."
  29. iszClientSetupFailure "A failure occurred while setting up the client"
  30. iszTapiAdminSetup "TAPI Administration Setup"
  31. iszChangeServerConfigFailed "ChangeServerConfig failed"
  32. iszCreateMutexFailed "CreateMutex failed"
  33. // NOTE: For NT5 beta2 we're yanking ability to do server setup from tcmsetup.
  34. // User should now use the TAPI MMC Snap-in to accomplish server setup.
  35. //
  36. #if 1
  37. iszHelp0 "Usage is:\n\n\t"
  38. iszHelp1 "CLIENT SETUP \n\n\tTCMSETUP [/R] [/Q] [/X] /C remoteservername [remoteservername2 ...]"
  39. iszHelp2 "\n\n\tremoteservername is the machine name of the telephony server"
  40. iszHelp3 "\n\n\t/R - disable automatic server discovery, only servers specified in this command will be used"
  41. iszHelp4 "\n\n\t/Q - will cause message boxes to not be displayed during setup"
  42. iszHelp5 "\n\n\t/X - connection-oriented callbacks (default is connectionless), for lossy networks "
  43. iszHelp6 "\n\nCLIENT DISABLE \n\n\tTCMSETUP [/Q] /C /D"
  44. iszHelpTitle "Telephony Client Setup Help"
  45. #else
  46. iszHelp0 "Usage is: \n\nSERVER SETUP \n\n\tTCMSETUP [/Q] /S [/N] domain\\username [password] "
  47. iszHelp1 "[managementdlllist] \n\n\tdomain\\username is the full domain and username of "
  48. iszHelp2 "administrative TAPI account \n\tpassword is the password for that account \n"
  49. iszHelp3 "\n\tmanagementdlllist is the optional list of DLLs. The DLL names are "
  50. iszHelp4 "delimited with double quotes ("") \n\n\t/Q - will cause message boxes to not be displayed during "
  51. iszHelp5 "setup\n\n\t/N indicates the username does not have a password. In this case, the "
  52. iszHelp6 "password parameter is not needed.\n\nSERVER DISABLE\n\n\tTCMSETUP [/Q] /S /D\n\n"
  53. iszHelp7 "CLIENT SETUP \n\n\tTCMSETUP [/Q] [/X] /C remoteservername \n\n\tremoteservername is the machine name "
  54. iszHelp8 "of the telephony server\n\n\t/Q - will cause message boxes to not be displayed "
  55. iszHelp9 "during setup\n\n\t/X - connection-oriented callbacks (default is connectionless), for lossy networks "
  56. iszHelp10 "\n\nCLIENT DISABLE \n\n\tTCMSETUP [/Q] /C /D"
  57. iszHelpTitle "Telephony Server/Client Setup Help"
  58. #endif
  59. END
  60. #if TAPI_NT
  61. #include <ntverp.h>
  62. #else
  63. #include <version.h>
  64. #endif
  65. #define VER_FILEDESCRIPTION_STR "Microsoft\256 Windows(TM) Telephony Administration Setup"
  66. #define VER_INTERNALNAME_STR "tcmsetup"
  67. #define VER_ORIGINALFILENAME_STR "TCMSETUP.EXE"
  68. //#define VER_LEGALCOPYRIGHT_STR "Copyright \251 Microsoft Corporation 1996. All Rights Reserved."
  69. #define VER_LEGALCOPYRIGHT_YEARS "1997"
  70. #define VER_FILETYPE VFT_APP
  71. #define VER_FILESUBTYPE VFT2_UNKNOWN
  72. #include <common.ver>