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.

104 lines
5.0 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1996-2001 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // CluAdmX.h
  7. //
  8. // Description:
  9. // Global definitions across the DLL.
  10. //
  11. // Implementation File:
  12. // CluAdmEx.cpp
  13. //
  14. // Maintained By:
  15. // David Potter (davidp) August 23, 1996
  16. //
  17. // Revision History:
  18. //
  19. // Notes:
  20. //
  21. /////////////////////////////////////////////////////////////////////////////
  22. #pragma once
  23. /////////////////////////////////////////////////////////////////////////////
  24. // Include Files
  25. /////////////////////////////////////////////////////////////////////////////
  26. #ifndef __AFXWIN_H__
  27. #error include 'stdafx.h' before including this file for PCH
  28. #endif
  29. #include "resource.h"
  30. /////////////////////////////////////////////////////////////////////////////
  31. // Constant Definitions
  32. /////////////////////////////////////////////////////////////////////////////
  33. #define REGPARAM_NAME _T("Name")
  34. #define REGPARAM_PARAMETERS _T("Parameters")
  35. #define REGPARAM_TYPE _T("Type")
  36. #define REGPARAM_NETWORKS _T("Networks")
  37. #define REGPARAM_CONNECTS_CLIENTS _T("ConnectsClients")
  38. #define REGPARAM_DISKS_SIGNATURE CLUSREG_NAME_PHYSDISK_SIGNATURE
  39. #define REGPARAM_GENAPP_COMMAND_LINE CLUSREG_NAME_GENAPP_COMMAND_LINE
  40. #define REGPARAM_GENAPP_CURRENT_DIRECTORY CLUSREG_NAME_GENAPP_CURRENT_DIRECTORY
  41. #define REGPARAM_GENAPP_INTERACT_WITH_DESKTOP CLUSREG_NAME_GENAPP_INTERACT_WITH_DESKTOP
  42. #define REGPARAM_GENAPP_USE_NETWORK_NAME CLUSREG_NAME_GENAPP_USE_NETWORK_NAME
  43. #define REGPARAM_GENSCRIPT_SCRIPT_FILEPATH CLUSREG_NAME_GENSCRIPT_SCRIPT_FILEPATH
  44. #define REGPARAM_GENSVC_SERVICE_NAME CLUSREG_NAME_GENSVC_SERVICE_NAME
  45. #define REGPARAM_GENSVC_COMMAND_LINE CLUSREG_NAME_GENSVC_STARTUP_PARAMS
  46. #define REGPARAM_GENSVC_USE_NETWORK_NAME CLUSREG_NAME_GENSVC_USE_NETWORK_NAME
  47. #define REGPARAM_IPADDR_ADDRESS CLUSREG_NAME_IPADDR_ADDRESS
  48. #define REGPARAM_IPADDR_SUBNET_MASK CLUSREG_NAME_IPADDR_SUBNET_MASK
  49. #define REGPARAM_IPADDR_NETWORK CLUSREG_NAME_IPADDR_NETWORK
  50. #define REGPARAM_IPADDR_ENABLE_NETBIOS CLUSREG_NAME_IPADDR_ENABLE_NETBIOS
  51. #define REGPARAM_NETNAME_NAME CLUSREG_NAME_NETNAME_NAME
  52. #define REGPARAM_NETNAME_REMAP_PIPE_NAMES CLUSREG_NAME_NETNAME_REMAP_PIPE_NAMES
  53. #define REGPARAM_NETNAME_REQUIRE_DNS CLUSREG_NAME_NETNAME_REQUIRE_DNS
  54. #define REGPARAM_NETNAME_REQUIRE_KERBEROS CLUSREG_NAME_NETNAME_REQUIRE_KERBEROS
  55. #define REGPARAM_NETNAME_STATUS_NETBIOS CLUSREG_NAME_NETNAME_STATUS_NETBIOS
  56. #define REGPARAM_NETNAME_STATUS_DNS CLUSREG_NAME_NETNAME_STATUS_DNS
  57. #define REGPARAM_NETNAME_STATUS_KERBEROS CLUSREG_NAME_NETNAME_STATUS_KERBEROS
  58. #define REGPARAM_PRINT _T("Printers")
  59. #define REGPARAM_PRTSPOOL_DEFAULT_SPOOL_DIR CLUSREG_NAME_PRTSPOOL_DEFAULT_SPOOL_DIR
  60. #define REGPARAM_PRTSPOOL_TIMEOUT CLUSREG_NAME_PRTSPOOL_TIMEOUT
  61. #define REGPARAM_PRTSPOOL_DRIVER_DIRECTORY CLUSREG_NAME_PRTSPOOL_DRIVER_DIRECTORY
  62. #define REGPARAM_FILESHR_SHARE_NAME CLUSREG_NAME_FILESHR_SHARE_NAME
  63. #define REGPARAM_FILESHR_PATH CLUSREG_NAME_FILESHR_PATH
  64. #define REGPARAM_FILESHR_REMARK CLUSREG_NAME_FILESHR_REMARK
  65. #define REGPARAM_FILESHR_MAX_USERS CLUSREG_NAME_FILESHR_MAX_USERS
  66. #define REGPARAM_FILESHR_SECURITY CLUSREG_NAME_FILESHR_SECURITY
  67. #define REGPARAM_FILESHR_SD CLUSREG_NAME_FILESHR_SD
  68. #define REGPARAM_FILESHR_SHARE_SUBDIRS CLUSREG_NAME_FILESHR_SHARE_SUBDIRS
  69. #define REGPARAM_FILESHR_HIDE_SUBDIR_SHARES CLUSREG_NAME_FILESHR_HIDE_SUBDIR_SHARES
  70. #define REGPARAM_FILESHR_IS_DFS_ROOT CLUSREG_NAME_FILESHR_IS_DFS_ROOT
  71. #define REGPARAM_FILESHR_CSC_CACHE CLUSREG_NAME_FILESHR_CSC_CACHE
  72. #define RESTYPE_NAME_GENERIC_APP CLUS_RESTYPE_NAME_GENAPP
  73. #define RESTYPE_NAME_GENERIC_SCRIPT CLUS_RESTYPE_NAME_GENSCRIPT
  74. #define RESTYPE_NAME_GENERIC_SERVICE CLUS_RESTYPE_NAME_GENSVC
  75. #define RESTYPE_NAME_NETWORK_NAME CLUS_RESTYPE_NAME_NETNAME
  76. #define RESTYPE_NAME_PHYS_DISK CLUS_RESTYPE_NAME_PHYS_DISK
  77. #define RESTYPE_NAME_FT_SET CLUS_RESTYPE_NAME_FTSET
  78. #define RESTYPE_NAME_PRINT_SPOOLER CLUS_RESTYPE_NAME_PRTSPLR
  79. #define RESTYPE_NAME_FILE_SHARE CLUS_RESTYPE_NAME_FILESHR
  80. #define RESTYPE_NAME_IP_ADDRESS CLUS_RESTYPE_NAME_IPADDR
  81. /////////////////////////////////////////////////////////////////////////////
  82. // Global Function Declarations
  83. /////////////////////////////////////////////////////////////////////////////
  84. void FormatError(CString & rstrError, DWORD dwError);
  85. extern const WCHAR g_wszResourceTypeNames[];
  86. extern const DWORD g_cchResourceTypeNames;