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.

788 lines
33 KiB

  1. #ifndef _CONFREG_H_
  2. #define _CONFREG_H_
  3. #include <nmutil.h>
  4. // General Reg Keys
  5. #define REGVAL_WINDOW_XPOS TEXT("WindowX")
  6. #define REGVAL_WINDOW_YPOS TEXT("WindowY")
  7. #define REGVAL_WINDOW_WIDTH TEXT("WindowWidth")
  8. #define REGVAL_WINDOW_HEIGHT TEXT("WindowHeight")
  9. // This is all that is left of Restricted ULS... we always
  10. // log in as BUSINESS uls type from now on....
  11. #define RESTRICTED_ULS_BUSINESS 2
  12. // Registry path of conference settings under HKEY_LOCAL_MACHINE or
  13. // HKEY_CURRENT_USER.
  14. #define CONFERENCING_KEY TEXT("SOFTWARE\\Microsoft\\Conferencing")
  15. // Value for disabling pluggable UI
  16. #define REGVAL_DISABLE_PLUGGABLE_UI TEXT("NoMUI")
  17. // Value for forcing the wizard to run
  18. #define REGVAL_WIZARD_VERSION_UI TEXT("WizardUI")
  19. #define REGVAL_WIZARD_VERSION_NOUI TEXT("WizardNoUI")
  20. #define REGVAL_GK_SERVER TEXT("Gatekeeper")
  21. #define REGVAL_GK_ALIAS TEXT("GatekeeperAlias")
  22. // Gatekeeper uses phonenum or e-mail to place calls?
  23. #define REGVAL_GK_METHOD TEXT("GateKeeperAddressing")
  24. #define GK_LOGON_USING_PHONENUM 1
  25. #define GK_LOGON_USING_ACCOUNT 2
  26. #define GK_LOGON_USING_BOTH 3
  27. // Direct is all non-gatekeeper modes ( ils, uls, gateway, machine name, etc. )
  28. #define REGVAL_CALLING_MODE TEXT("CallingMethod")
  29. #define CALLING_MODE_DIRECT 0
  30. #define CALLING_MODE_GATEKEEPER 1
  31. // Key and value for finding IE's default search page
  32. #define IE_MAIN_KEY TEXT("SOFTWARE\\Microsoft\\Internet Explorer\\Main")
  33. #define REGVAL_IE_SEARCH_PAGE TEXT("Search Page")
  34. #define REGVAL_IE_START_PAGE TEXT("Start Page")
  35. #define REGVAL_IE_CLIENTS_MAIL TEXT("SOFTWARE\\Clients\\mail")
  36. #define REGVAL_IE_CLIENTS_NEWS TEXT("SOFTWARE\\Clients\\news")
  37. // The shell folders key is useful for finding the Favorites
  38. // folder. It is stored under HKEY_CURRENT_USER.
  39. #define SHELL_FOLDERS_KEY TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders")
  40. // The TCPIP Params key possibly contains the local hostname.
  41. // It is stored under HKEY_LOCAL_MACHINE (Win95 only).
  42. #define TCPIP_PARAMS_W95_KEY TEXT("System\\CurrentControlSet\\Services\\VxD\\MSTCP")
  43. #define TCPIP_PARAMS_NT_KEY TEXT("System\\CurrentControlSet\\Services\\Tcpip\\Parameters")
  44. // Hostname contains the TCP/IP hostname - if it is not present,
  45. // then use GetComputerName()
  46. #define REGVAL_TCPIP_HOSTNAME TEXT("Hostname")
  47. // The shell open key for http (present if we can ShellExecute() http URL's).
  48. // It is stored under HKEY_LOCAL_MACHINE.
  49. #define CLASSES_HTTP_KEY TEXT("SOFTWARE\\Classes\\http\\shell\\open\\command")
  50. // The shell open key for mailto (present if we can ShellExecute() mailto URL's).
  51. // It is stored under HKEY_LOCAL_MACHINE.
  52. #define CLASSES_MAILTO_KEY TEXT("SOFTWARE\\Classes\\mailto\\shell\\open\\command")
  53. // The Windows CurrentVersion key is used for obtaining the name that was
  54. // was specified while installing Windows. It is stored under HKEY_LOCAL_MACHINE:
  55. #define WINDOWS_CUR_VER_KEY TEXT("SOFTWARE\\Microsoft\\Windows\\CurrentVersion")
  56. // This is the string value that contains the registered owner name.
  57. // It is stored in the WINDOW_CUR_VER_KEY
  58. #define REGVAL_REGISTERED_OWNER TEXT("RegisteredOwner")
  59. // 1: join conference without prompt 0: don't
  60. #define REGVAL_AUTO_ACCEPT TEXT("AutoAccept")
  61. #define AUTO_ACCEPT_DEFAULT 0
  62. // n: set comm port wait seconds
  63. #define REGVAL_N_WAITSECS TEXT("nWaitSeconds")
  64. #define N_WAITSECS_DEFAULT 60
  65. // DCB default structure
  66. #define REGVAL_DCB TEXT("DCB")
  67. // Taskbar icon settings, one of (HKCU)
  68. #define REGVAL_TASKBAR_ICON TEXT("Taskbar Icon")
  69. #define TASKBARICON_NEVER 0
  70. #define TASKBARICON_ALWAYS 1
  71. #define TASKBARICON_DEFAULT TASKBARICON_ALWAYS
  72. // Controls if node controller is always running 1:yes 0:no (HKCU)
  73. #define REGVAL_CONF_ALWAYS_RUNNING TEXT("Run Always")
  74. #define ALWAYS_RUNNING_DEFAULT 0
  75. // The Run key is used for forcing windows to run our program in the background
  76. // at startup. It is stored under HKEY_CURRENT_USER
  77. #define WINDOWS_RUN_KEY TEXT("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run")
  78. // This is the name of the string value that we place under the Run key
  79. #define REGVAL_RUN_TASKNAME TEXT("Microsoft NetMeeting")
  80. /////////// File Transfer registry keys and values (HKCU) /////////////
  81. #define FILEXFER_KEY TEXT("SOFTWARE\\Microsoft\\Conferencing\\File Transfer")
  82. // Path for transferred files
  83. #define REGVAL_FILEXFER_PATH TEXT("Receive Directory")
  84. // File Transfer Mode (flags)
  85. #define REGVAL_FILEXFER_MODE TEXT("FileXferMode")
  86. #define FT_MODE_ALLOW_T127 0x01 /* Allow T.127 */
  87. #define FT_MODE_T127 0x04 /* T.127 is loaded (runtime) */
  88. #define FT_MODE_SEND 0x10 /* Allow sending files */
  89. #define FT_MODE_RECEIVE 0x20 /* Allow receiving */
  90. #define FT_MODE_DLL 0x0100 /* FT loads as DLL (set at runtime) */
  91. #define FT_MODE_FORCE_DLL 0x0200 /* Force FT_MODE_DLL setting (debug-only) */
  92. #define FT_MODE_DEFAULT (FT_MODE_ALLOW_T127 | FT_MODE_SEND | FT_MODE_RECEIVE)
  93. // After a file is transferred, display a message, etc.
  94. #define REGVAL_FILEXFER_OPTIONS TEXT("FileXferOptions")
  95. #define FT_SHOW_FOLDER 0x01 /* Show receive folder */
  96. #define FT_SHOW_MSG_REC 0x02 /* Show message after receiving */
  97. #define FT_SHOW_MSG_SENT 0x04 /* Show message after sending */
  98. #define FT_AUTOSTART 0x10 /* Always start the File Transfer app */
  99. #define FT_OPTIONS_DEFAULT (FT_SHOW_MSG_SENT | FT_SHOW_MSG_REC)
  100. // MBFT (T.127) Timing values
  101. #define REGVAL_FILEXFER_DISBAND TEXT("Disband") // 5000
  102. #define REGVAL_FILEXFER_CH_RESPONSE TEXT("Response") // 60000
  103. #define REGVAL_FILEXFER_ENDACK TEXT("EndAck") // 60000
  104. ///////////
  105. // 0: logon a ULS server, 1: don't (stored under CONFERENCING_KEY, HKCU)
  106. #define REGVAL_DONT_LOGON_ULS TEXT("DontUseULS")
  107. #define DONT_LOGON_ULS_DEFAULT 1
  108. // installation directory
  109. #define REGVAL_INSTALL_DIR TEXT("InstallationDirectory")
  110. // node controller executable name
  111. #define REGVAL_NC_NAME TEXT("NodeControllerName")
  112. // speed dial directory
  113. #define REGVAL_SPEED_DIAL_FOLDER TEXT("SpeedDialFolder")
  114. // If call security is whatever and available, then these are changeable
  115. #define REGVAL_SECURITY_INCOMING_REQUIRED TEXT("RequireSecureIncomingCalls")
  116. #define DEFAULT_SECURITY_INCOMING_REQUIRED 0
  117. #define REGVAL_SECURITY_OUTGOING_PREFERRED TEXT("PreferSecureOutgoingCalls")
  118. #define DEFAULT_SECURITY_OUTGOING_PREFERRED 0
  119. // 0: Use the NetMeeting default cert, 1: don't
  120. #define REGVAL_SECURITY_AUTHENTICATION TEXT("SecureAuthentication")
  121. #define DEFAULT_SECURITY_AUTHENTICATION 0
  122. #define REGVAL_CERT_ID TEXT("NmCertID")
  123. ////////// Home Page related values (HKLM) ////////////////////////////
  124. // NOTE: Default stored as IDS_DEFAULT_WEB_PAGE in confroom.rc
  125. #define REGVAL_HOME_PAGE TEXT("NetMeeting Home Page")
  126. /////////// User Location Service related keys and values ////////////
  127. ////
  128. //// BUGBUG: merge with defs in audio src tree
  129. ////
  130. //// All values here are stored under HKEY_CURRENT_USER
  131. ////
  132. #define ISAPI_KEY TEXT("Software\\Microsoft\\User Location Service")
  133. #define REGKEY_USERDETAILS TEXT("Client")
  134. #define ISAPI_CLIENT_KEY TEXT("Software\\Microsoft\\User Location Service\\Client")
  135. #define REGVAL_SERVERNAME TEXT("Server Name")
  136. #define REGVAL_ULS_NAME TEXT("User Name")
  137. #define REGVAL_ULS_FIRST_NAME TEXT("First Name")
  138. #define REGVAL_ULS_LAST_NAME TEXT("Last Name")
  139. #define REGVAL_ULS_RES_NAME TEXT("Resolve Name")
  140. #define REGVAL_ULS_EMAIL_NAME TEXT("Email Name")
  141. #define REGVAL_ULS_LOCATION_NAME TEXT("Location")
  142. #define REGVAL_ULS_PHONENUM_NAME TEXT("Phonenum")
  143. #define REGVAL_ULS_GK_ACCOUNT TEXT("Account")
  144. #define REGVAL_ULS_COMMENTS_NAME TEXT("Comments")
  145. #define REGVAL_ULS_DONT_PUBLISH TEXT("Don't Publish")
  146. #define REGVAL_ULS_DONT_PUBLISH_DEFAULT 0
  147. #define MAX_DCL_NAME_LEN 48 /* REGVAL_ULS_NAME can't be larger than this */
  148. // The following values and keys are per user,
  149. // i.e. under HKEY_CURRENT_USER
  150. /////////// Audio related keys and values ///////////////////////////
  151. #define AUDIO_KEY TEXT("SOFTWARE\\Microsoft\\Conferencing\\Audio Control")
  152. #define REGVAL_CODECCHOICE TEXT("Codec Choice")
  153. //DWORD one of:
  154. #define CODECCHOICE_AUTO 1
  155. #define CODECCHOICE_MANUAL 2
  156. // DWORD One of:
  157. #define CODECPOWER_MOST 1
  158. #define CODECPOWER_MODERATE 2
  159. #define CODECPOWER_SOME 3
  160. #define CODECPOWER_LEAST 4
  161. #define REGVAL_FULLDUPLEX TEXT("Full Duplex")
  162. // DWORD One of:
  163. #define FULLDUPLEX_ENABLED 1
  164. #define FULLDUPLEX_DISABLED 0
  165. #define REGVAL_AUTOGAIN TEXT("Auto Gain Control")
  166. // DWORD One of:
  167. #define AUTOGAIN_ENABLED 1
  168. #define AUTOGAIN_DISABLED 0
  169. #define REGVAL_AUTOMIX TEXT("Auto Mix")
  170. // DWORD One of:
  171. #define AUTOMIX_ENABLED 1
  172. #define AUTOMIX_DISABLED 0
  173. #define REGVAL_DIRECTSOUND TEXT("Direct Sound")
  174. #define DSOUND_USER_ENABLED 0x0001
  175. #define DSOUND_USER_DISABLED 0x0000
  176. #define REGVAL_SOUNDCARDCAPS TEXT("Sound Card Capabilities")
  177. // DWORD a mask of values specified in oprah\h\audiowiz.h
  178. #define REGVAL_WAVEINDEVICEID TEXT("WaveIn Device ID")
  179. #define REGVAL_WAVEOUTDEVICEID TEXT("WaveOut Device ID")
  180. #define REGVAL_WAVEINDEVICENAME TEXT("WaveIn Device Name")
  181. #define REGVAL_WAVEOUTDEVICENAME TEXT("WaveOut Device Name")
  182. #define REGVAL_SPKMUTE TEXT("SpeakerMute")
  183. #define REGVAL_RECMUTE TEXT("RecordMute")
  184. #define REGVAL_TYPICALBANDWIDTH TEXT("Typical BandWidth")
  185. #define BW_144KBS 1
  186. #define BW_288KBS 2
  187. #define BW_ISDN 3
  188. #define BW_MOREKBS 4
  189. #define BW_DEFAULT BW_288KBS
  190. //this is actually the last volume used by conf
  191. #define REGVAL_CALIBRATEDVOL TEXT("Calibrated Volume")
  192. //at calibration both the lastcalibratedvol and calibrated volume are set to the same
  193. //value
  194. #define REGVAL_LASTCALIBRATEDVOL TEXT("Last Calibrated Volume")
  195. #define REGVAL_AUTODET_SILENCE TEXT("Automatic Silence Detection")
  196. #define REGVAL_SPEAKERVOL TEXT("Speaker Volume")
  197. #define REGVAL_MICROPHONE_SENSITIVITY TEXT("Microphone Sensitivity")
  198. #define MIN_MICROPHONE_SENSITIVITY 0
  199. #define MAX_MICROPHONE_SENSITIVITY 20
  200. #define DEFAULT_MICROPHONE_SENSITIVITY 14
  201. #define REGVAL_MICROPHONE_AUTO TEXT("Automatic Mic Sensitivity")
  202. #define MICROPHONE_AUTO_YES 1
  203. #define MICROPHONE_AUTO_NO 0
  204. #define DEFAULT_MICROPHONE_AUTO MICROPHONE_AUTO_YES
  205. #define DEFAULT_USE_PROXY 0
  206. #define REGVAL_USE_PROXY TEXT("Enable Proxy")
  207. #define REGVAL_PROXY TEXT("Proxy")
  208. #define DEFAULT_USE_H323_GATEWAY 0
  209. #define REGVAL_USE_H323_GATEWAY TEXT("Enable H.323 Gateway")
  210. #define REGVAL_H323_GATEWAY TEXT("H.323 Gateway")
  211. #define DEFAULT_POL_NO_WEBDIR 0
  212. #define REGVAL_POL_NO_WEBDIR TEXT("NoWebDirectory")
  213. #define REGVAL_WEBDIR_URL TEXT("webDirectory URL")
  214. #define REGVAL_WEBDIR_ILS TEXT("webDirectory ILS")
  215. #define REGVAL_WEBDIR_DISPLAY_NAME TEXT("webDirectory Name")
  216. #define REGVAL_POL_NOCHANGECALLMODE TEXT("NoChangingCallMode")
  217. #define DEFAULT_POL_NOCHANGECALLMODE 0
  218. // from common.h (HKCU)
  219. #define INTERNET_AUDIO_KEY TEXT("Software\\Microsoft\\Internet Audio")
  220. #define REGVAL_ACMH323ENCODINGS TEXT("ACMH323Encodings")
  221. // from common.h (HKLM)
  222. #define NACOBJECT_KEY TEXT("Software\\Microsoft\\Internet Audio\\NacObject")
  223. #define REGVAL_DISABLE_WINSOCK2 TEXT("DisableWinsock2")
  224. /////////// Video related keys and values ///////////////////////////
  225. #define VIDEO_KEY TEXT("SOFTWARE\\Microsoft\\Conferencing\\Video Control")
  226. #define VIDEO_LOCAL_KEY TEXT("SOFTWARE\\Microsoft\\Conferencing\\Video Control\\Local")
  227. #define VIDEO_REMOTE_KEY TEXT("SOFTWARE\\Microsoft\\Conferencing\\Video Control\\Remote")
  228. #define REGVAL_CAPTUREDEVICEID TEXT("Capture Device ID")
  229. #define REGVAL_CAPTUREDEVICENAME TEXT("Capture Device Name")
  230. #define REGVAL_CAPTURECARDCAPS TEXT("Capture Card Capabilities")
  231. #define REGVAL_VIDEO_ALLOW_SEND TEXT("AllowSend")
  232. #define REGVAL_VIDEO_ALLOW_RECEIVE TEXT("AllowReceive")
  233. #define VIDEO_ALLOW_SEND_DEFAULT 1
  234. #define VIDEO_ALLOW_RECEIVE_DEFAULT 1
  235. #define REGVAL_VIDEO_DOCK_EDGE TEXT("DockEdge")
  236. #define REGVAL_VIDEO_WINDOW_INIT TEXT("WindowOnInit")
  237. #define REGVAL_VIDEO_WINDOW_CONNECT TEXT("WindowOnConnect")
  238. #define REGVAL_VIDEO_WINDOW_DISCONNECT TEXT("WindowOnDisconnect")
  239. //DWORD one of:
  240. #define VIDEO_WINDOW_NOP 0 // Leave window in current state
  241. #define VIDEO_WINDOW_HIDE 1 // Hide window
  242. #define VIDEO_WINDOW_SHOW 2 // Show window
  243. #define VIDEO_WINDOW_PROMPT 3 // Prompt to show/hide window
  244. #define VIDEO_WINDOW_PREV 4 // Restore previous window state
  245. #define VIDEO_LOCAL_INIT_DEFAULT VIDEO_WINDOW_NOP
  246. #define VIDEO_REMOTE_INIT_DEFAULT VIDEO_WINDOW_NOP
  247. #define VIDEO_LOCAL_CONNECT_DEFAULT VIDEO_WINDOW_NOP
  248. #define VIDEO_REMOTE_CONNECT_DEFAULT VIDEO_WINDOW_NOP
  249. #define VIDEO_LOCAL_DISCONNECT_DEFAULT VIDEO_WINDOW_NOP
  250. #define VIDEO_REMOTE_DISCONNECT_DEFAULT VIDEO_WINDOW_NOP
  251. #define REGVAL_VIDEO_XFER_INIT TEXT("XferOnInit")
  252. #define REGVAL_VIDEO_XFER_CONNECT TEXT("XferOnConnect")
  253. #define REGVAL_VIDEO_XFER_DISCONNECT TEXT("XferOnDisconnect")
  254. #define REGVAL_VIDEO_XFER_SHOW TEXT("XferOnShow")
  255. #define REGVAL_VIDEO_XFER_HIDE TEXT("XferOnHide")
  256. //DWORD one of:
  257. #define VIDEO_XFER_NOP 0 // Leave transfer in current state
  258. #define VIDEO_XFER_STOP 1 // Stop transfer
  259. #define VIDEO_XFER_START 2 // Start transfer
  260. #define VIDEO_XFER_PROMPT 3 // Prompt to start/stop transfer
  261. #define VIDEO_XFER_PREV 4 // Previous state
  262. #define VIDEO_SEND_INIT_DEFAULT VIDEO_XFER_STOP
  263. #define VIDEO_RECEIVE_INIT_DEFAULT VIDEO_XFER_STOP
  264. #define VIDEO_SEND_CONNECT_DEFAULT VIDEO_XFER_NOP
  265. #define VIDEO_RECEIVE_CONNECT_DEFAULT VIDEO_XFER_START
  266. #define VIDEO_SEND_DISCONNECT_DEFAULT VIDEO_XFER_NOP
  267. #define VIDEO_RECEIVE_DISCONNECT_DEFAULT VIDEO_XFER_STOP
  268. #define VIDEO_SEND_SHOW_DEFAULT VIDEO_XFER_PROMPT
  269. #define VIDEO_RECEIVE_SHOW_DEFAULT VIDEO_XFER_PREV
  270. #define VIDEO_SEND_HIDE_DEFAULT VIDEO_XFER_PROMPT
  271. #define VIDEO_RECEIVE_HIDE_DEFAULT VIDEO_XFER_STOP
  272. #define REGVAL_VIDEO_XPOS REGVAL_WINDOW_XPOS
  273. #define REGVAL_VIDEO_YPOS REGVAL_WINDOW_YPOS
  274. //-------------------------------------------------------
  275. // SIC
  276. // Notice that the height and width reg keys are reversed
  277. // ( that is the WindowHeight registry value actuall holds the
  278. // video window's width )....
  279. // It has always been like this but because it would screw
  280. // up upgrade installations if we "fixed" it, we are going
  281. // to keep it like this....
  282. #define REGVAL_VIDEO_WIDTH REGVAL_WINDOW_HEIGHT
  283. #define REGVAL_VIDEO_HEIGHT REGVAL_WINDOW_WIDTH
  284. #define REGVAL_VIDEO_DOCKED_XPOS TEXT("DockedX")
  285. #define REGVAL_VIDEO_DOCKED_YPOS TEXT("DockedY")
  286. #define REGVAL_VIDEO_TOPMOST TEXT("TopMost")
  287. #define VIDEO_TOPMOST_DEFAULT 1
  288. #define REGVAL_VIDEO_ZOOM TEXT("Zoom")
  289. #define VIDEO_ZOOM_DEFAULT 100
  290. #define REGVAL_VIDEO_MIRROR TEXT("Mirror")
  291. #define VIDEO_MIRROR_DEFAULT TRUE
  292. #define REGVAL_VIDEO_VISIBLE TEXT("Visible")
  293. #define VIDEO_LOCAL_VISIBLE_DEFAULT 0
  294. #define VIDEO_REMOTE_VISIBLE_DEFAULT 0
  295. #define REGVAL_VIDEO_FRAME_SIZE TEXT("FrameSize")
  296. #define REGVAL_VIDEO_AUDIO_SYNC TEXT("AVSync")
  297. #define VIDEO_AUDIO_SYNC_DEFAULT 1
  298. /////////// QoS-related keys and values (HKLM, CONFERENCING_KEY) /////////
  299. #define QOS_KEY CONFERENCING_KEY TEXT("\\QoS")
  300. #define REGKEY_QOS_RESOURCES QOS_KEY TEXT("\\Resources")
  301. /////////// Tools menu related registry keys and values /////////////
  302. #define TOOLS_MENU_KEY TEXT("SOFTWARE\\Microsoft\\Conferencing\\Tools") // (HKLM)
  303. /////////// MRU related registry keys and values /////////////
  304. #define MRU_KEY TEXT("SOFTWARE\\Microsoft\\Conferencing\\UI\\Calls")
  305. #define DIR_MRU_KEY TEXT("SOFTWARE\\Microsoft\\Conferencing\\UI\\Directory")
  306. // Most recently used list count
  307. #define REGVAL_MRU_COUNT TEXT("Count")
  308. // MRU list prefixes (name and transport)
  309. #define REGVAL_NAME_MRU_PREFIX TEXT("Name")
  310. #define REGVAL_TRANSPORT_MRU_PREFIX TEXT("Transport")
  311. #define REGVAL_CALL_FLAGS_MRU_PREFIX TEXT("Flags")
  312. // MRU list for the "Place A Call" dialog
  313. #define DLGCALL_MRU_KEY TEXT("SOFTWARE\\Microsoft\\Conferencing\\UI\\CallMRU")
  314. #define REGVAL_DLGCALL_DEFDIR TEXT("DefDir")
  315. #define REGVAL_DLGCALL_POSITION TEXT("Pos")
  316. #define REGVAL_DLGCALL_NAME_MRU_PREFIX TEXT("Name")
  317. #define REGVAL_DLGCALL_ADDR_MRU_PREFIX TEXT("Addr")
  318. #define REGVAL_DLGCALL_TYPE_MRU_PREFIX TEXT("Type")
  319. /////////// UI related registry keys and values /////////////
  320. #define UI_KEY TEXT("SOFTWARE\\Microsoft\\Conferencing\\UI")
  321. // Window size/position
  322. #define REGVAL_MP_WINDOW_X REGVAL_WINDOW_XPOS
  323. #define DEFAULT_MP_WINDOW_X 10
  324. #define REGVAL_MP_WINDOW_Y REGVAL_WINDOW_YPOS
  325. #define DEFAULT_MP_WINDOW_Y 3
  326. #define REGVAL_MP_WINDOW_WIDTH REGVAL_WINDOW_WIDTH
  327. #define DEFAULT_MP_WINDOW_WIDTH 638 // IDS_WINDOW_WIDTH fallback
  328. #define REGVAL_MP_WINDOW_HEIGHT REGVAL_WINDOW_HEIGHT // actually window bottom
  329. #define DEFAULT_MP_WINDOW_HEIGHT 500 // max of SVGA: 800x600 (was 640x480)
  330. #define DEFAULT_MP_WINDOW_HEIGHT_LAN 574 // allows for larger video windows
  331. #define REGVAL_MP_WINDOW_MAXIMIZED TEXT("WindowMax") // actually window right
  332. #define DEFAULT_MP_WINDOW_MAXIMIZED 0
  333. #define REGVAL_MP_WINDOW_STATE TEXT("WindowState") // Normal, Compact, Data-Only
  334. #define DEFAULT_MP_WINDOW_STATE 0
  335. #define REGVAL_COLUMN_WIDTHS TEXT("ColumnWidths")
  336. #define REGVAL_COLUMN_ORDER TEXT("ColumnOrder")
  337. #define REGVAL_DIR_FILTER TEXT("DirFilter")
  338. #define REGVAL_DIR_COLUMN_WIDTHS TEXT("DirColumnWidths")
  339. #define REGVAL_DIR_COLUMN_ORDER TEXT("DirColumnOrder")
  340. #define REGVAL_DIR_SORT_ASCENDING TEXT("DirSortAscending")
  341. #define REGVAL_DIR_SORT_COLUMN TEXT("DirSortColumn")
  342. #define REGVAL_ENABLE_DIRECTORY_INITIALREFRESH TEXT("DirInitialRefresh")
  343. #define DEFAULT_ENABLE_DIRECTORY_INITIALREFRESH 1
  344. #define REGVAL_ENABLE_DIRECTORY_AUTOREFRESH TEXT("DirAutoRefresh")
  345. #define DEFAULT_ENABLE_DIRECTORY_AUTOREFRESH 0
  346. #define REGVAL_DIRECTORY_REFRESH_INTERVAL TEXT("DirRefreshInterval")
  347. #define DEFAULT_DIRECTORY_REFRESH_INTERVAL 5 // minutes
  348. #define REGVAL_CACHE_DIRECTORY TEXT("DirCache")
  349. #define DEFAULT_CACHE_DIRECTORY 1
  350. #define REGVAL_CACHE_DIRECTORY_EXPIRATION TEXT("DirExpire")
  351. #define DEFAULT_CACHE_DIRECTORY_EXPIRATION 30 // minutes
  352. #define REGVAL_RING_TIMEOUT TEXT("CallTimeout")
  353. #define DEFAULT_RING_TIMEOUT 20 // seconds
  354. // Window element visibility
  355. #define REGVAL_SHOW_TOOLBAR TEXT("Toolbar")
  356. #define DEFAULT_SHOW_TOOLBAR 1
  357. #define REGVAL_SHOW_STATUSBAR TEXT("StatusBar")
  358. #define DEFAULT_SHOW_STATUSBAR 1
  359. #define REGVAL_SHOW_SECUREDETAILS TEXT("SecurityDetails")
  360. #define DEFAULT_SHOW_SECUREDETAILS 0
  361. // Don't show me dialog settings (all default to FALSE)
  362. #define REGVAL_DS_DO_NOT_DISTURB_WARNING TEXT("DS Do Not Disturb Warning")
  363. #define REGVAL_DS_MACHINE_NAME_WARNING TEXT("DS Machine Name Warning")
  364. /////////// GUID related registry keys and values /////////////
  365. #define GUID_KEY TEXT("SOFTWARE\\Microsoft\\Conferencing\\Applications")
  366. #define T120_APPLET_KEY TEXT("SOFTWARE\\Microsoft\\Conferencing\\T.120 Applets")
  367. #define T120_NONSTD_KEY TEXT("NonStd Key")
  368. #define T120_STD_KEY TEXT("Object Key")
  369. // startup values
  370. #define REGVAL_GUID_APPNAME TEXT("Path")
  371. #define REGVAL_GUID_CMDLINE TEXT("CmdLine")
  372. #define REGVAL_GUID_CURRDIR TEXT("Directory")
  373. // environment variables (not registry items)
  374. #define ENV_NODEID TEXT("_node_id")
  375. #define ENV_CONFID TEXT("_conf_id")
  376. // GUID for Roster information
  377. // {6CAA8570-CAE5-11cf-8FA5-00805F742EF6}
  378. #define GUID_ROSTINFO {0x6caa8570,0xcae5,0x11cf,{0x8f,0xa5,0x00,0x80,0x5f,0x74,0x2e,0xf6}}
  379. // GUID for Version information, passed across T120 as User Data.
  380. // {E0A07F00-C9D7-11cf-A4ED-00AA003B1816}
  381. #define GUID_VERSION {0xe0a07f00,0xc9d7,0x11cf,{0xa4,0xed,0x00,0xaa,0x00,0x3b,0x18,0x16}}
  382. // GUID for capabilities, passed across T120 as User Data.
  383. // {5E8BA590-8C59-11d0-8DD6-0000F803A446}
  384. #define GUID_CAPS {0x5e8ba590,0x8c59,0x11d0,{0x8d,0xd6,0x00,0x00,0xf8,0x03,0xa4,0x46}}
  385. // GUID for Security information
  386. // {DF7284F0-B933-11d1-8754-0000F8757125}
  387. #define GUID_SECURITY { 0xdf7284f0, 0xb933, 0x11d1, { 0x87, 0x54, 0x0, 0x0, 0xf8, 0x75, 0x71, 0x25 } }
  388. // GUID for H.323 terminal label
  389. // {16D7DA06-FF2C-11d1-B32D-00C04FD919C9}
  390. #define GUID_TERMLABEL { 0x16d7da06, 0xff2c, 0x11d1, {0xb3, 0x2d, 0x0, 0xc0, 0x4f, 0xd9, 0x19, 0xc9 } }
  391. // GUID for meeting settings
  392. // {44B67307-D4EC-11d2-8BE4-00C04FD8EE32}
  393. #define GUID_MTGSETTINGS { 0x44b67307, 0xd4ec, 0x11d2, { 0x8b, 0xe4, 0x0, 0xc0, 0x4f, 0xd8, 0xee, 0x32 } }
  394. // GUID for Unigue Node Id
  395. // {74423881-CC84-11d2-B4E3-00A0C90D0660}
  396. #define GUID_NODEID { 0x74423881, 0xcc84, 0x11d2, { 0xb4, 0xe3, 0x0, 0xa0, 0xc9, 0xd, 0x6, 0x60 } }
  397. // NetMeeting versions
  398. #define DWVERSION_NM_1 (0x04000000 | 1133) // 1.0 Final
  399. #define DWVERSION_NM_2b2 (0x04000000 | 1266) // 2.0 Beta 2
  400. #define DWVERSION_NM_2b4 (0x04000000 | 1333) // 2.0 Beta 4
  401. #define DWVERSION_NM_2b5 (0x04000000 | 1349) // 2.0 RC 1
  402. #define DWVERSION_NM_2rc2 (0x04000000 | 1366) // 2.0 RC 2
  403. #define DWVERSION_NM_2 (0x04000000 | 1368) // 2.0 Final
  404. #define DWVERSION_NM_2q1 (0x04000000 | 1372) // 2.0 QFE
  405. #define DWVERSION_NM_3a1 (0x04030000 | 2000) // 2.1 Alpha 1
  406. #define DWVERSION_NM_3b1 (0x04030000 | 2064) // 2.1 Beta 1
  407. #define DWVERSION_NM_3b2 (0x04030000 | 2099) // 2.1 Beta 2
  408. #define DWVERSION_NM_3rc (0x04030000 | 2135) // 2.1 Final
  409. #define DWVERSION_NM_3sp1 (0x04030000 | 2203) // 2.1 Service Pack 1
  410. #define DWVERSION_NM_3o9b1 (0x04030000 | 2408) // 2.11 Office Beta 1 and IE5 Beta 1
  411. #define DWVERSION_NM_3ntb2 (0x04030000 | 2412) // 2.11 NT Beta 2
  412. #define DWVERSION_NM_3max (0x0403ffff) // 2.X max version
  413. #define DWVERSION_NM_4a1 (0x04040000 | 2200) // 3.0 Alpha 1
  414. #define DWVERSION_NM_4 VER_PRODUCTVERSION_DW
  415. #define DWVERSION_NM_CURRENT DWVERSION_NM_4
  416. #define DWVERSION_MASK 0x00FF0000 // mask for product version number
  417. /////////// Policy related registry keys and values /////////////
  418. #define POLICIES_KEY TEXT("SOFTWARE\\Policies\\Microsoft\\Conferencing")
  419. // The following are the policy values that can be set by the policy editor
  420. // If any of these are set to 1, the feature is disabled. If they are not
  421. // present or they are set to 0, the feature is enabled.
  422. #define REGVAL_AUTOCONF_USE TEXT("Use AutoConfig")
  423. #define DEFAULT_AUTOCONF_USE 0
  424. #define REGVAL_AUTOCONF_CONFIGFILE TEXT("ConfigFile")
  425. #define REGVAL_AUTOCONF_TIMEOUT TEXT("Timeout")
  426. #define DEFAULT_AUTOCONF_TIMEOUT 10000
  427. #define REGVAL_POL_NO_FILETRANSFER_SEND TEXT("NoSendingFiles")
  428. #define DEFAULT_POL_NO_FILETRANSFER_SEND 0
  429. #define REGVAL_POL_NO_FILETRANSFER_RECEIVE TEXT("NoReceivingFiles")
  430. #define DEFAULT_POL_NO_FILETRANSFER_RECEIVE 0
  431. #define REGVAL_POL_MAX_SENDFILESIZE TEXT("MaxFileSendSize")
  432. #define DEFAULT_POL_MAX_FILE_SIZE 0
  433. #define REGVAL_POL_NO_CHAT TEXT("NoChat")
  434. #define DEFAULT_POL_NO_CHAT 0
  435. #define REGVAL_POL_NO_OLDWHITEBOARD TEXT("NoOldWhiteBoard")
  436. #define DEFAULT_POL_NO_OLDWHITEBOARD 0
  437. #define REGVAL_POL_NO_NEWWHITEBOARD TEXT("NoNewWhiteBoard")
  438. #define DEFAULT_POL_NO_NEWWHITEBOARD 0
  439. #define REGVAL_POL_NO_APP_SHARING TEXT("NoAppSharing")
  440. #define DEFAULT_POL_NO_APP_SHARING 0
  441. #define REGVAL_POL_NO_SHARING TEXT("NoSharing")
  442. #define DEFAULT_POL_NO_SHARING 0
  443. #define REGVAL_POL_NO_DESKTOP_SHARING TEXT("NoSharingDesktop")
  444. #define DEFAULT_POL_NO_DESKTOP_SHARING 0
  445. #define REGVAL_POL_NO_MSDOS_SHARING TEXT("NoSharingDosWindows")
  446. #define DEFAULT_POL_NO_MSDOS_SHARING 0
  447. #define REGVAL_POL_NO_EXPLORER_SHARING TEXT("NoSharingExplorer")
  448. #define DEFAULT_POL_NO_EXPLORER_SHARING 0
  449. #define REGVAL_POL_NO_TRUECOLOR_SHARING TEXT("NoTrueColorSharing")
  450. #define DEFAULT_POL_NO_TRUECOLOR_SHARING 0
  451. #define REGVAL_POL_NO_ALLOW_CONTROL TEXT("NoAllowControl")
  452. #define DEFAULT_POL_NO_ALLOW_CONTROL 0
  453. #define REGVAL_POL_NO_AUDIO TEXT("NoAudio")
  454. #define DEFAULT_POL_NO_AUDIO 0
  455. #define REGVAL_POL_NO_ADVAUDIO TEXT("NoAdvancedAudio")
  456. #define DEFAULT_POL_NO_ADVAUDIO 0
  457. #define REGVAL_POL_NO_FULLDUPLEX TEXT("NoFullDuplex")
  458. #define DEFAULT_POL_NO_FULLDUPLEX 0
  459. #define REGVAL_POL_NOCHANGE_DIRECTSOUND TEXT("NoChangeDirectSound")
  460. #define DEFAULT_POL_NOCHANGE_DIRECTSOUND 0
  461. #define REGVAL_POL_NO_VIDEO_SEND TEXT("NoSendingVideo")
  462. #define DEFAULT_POL_NO_VIDEO_SEND 0
  463. #define REGVAL_POL_NO_VIDEO_RECEIVE TEXT("NoReceivingVideo")
  464. #define DEFAULT_POL_NO_VIDEO_RECEIVE 0
  465. #define REGVAL_POL_MAX_BANDWIDTH TEXT("MaximumBandwidth")
  466. #define DEFAULT_POL_MAX_BANDWIDTH 0
  467. #define REGVAL_POL_NO_GENERALPAGE TEXT("NoGeneralPage")
  468. #define DEFAULT_POL_NO_GENERALPAGE 0
  469. #define REGVAL_POL_NO_SECURITYPAGE TEXT("NoSecurityPage")
  470. #define DEFAULT_POL_NO_SECURITYPAGE 0
  471. #define REGVAL_POL_NO_AUDIOPAGE TEXT("NoAudioPage")
  472. #define DEFAULT_POL_NO_AUDIOPAGE 0
  473. #define REGVAL_POL_NO_VIDEOPAGE TEXT("NoVideoPage")
  474. #define DEFAULT_POL_NO_VIDEOPAGE 0
  475. #define REGVAL_POL_NO_ADVANCEDCALLING TEXT("NoAdvancedCalling")
  476. #define DEFAULT_POL_NO_ADVANCEDCALLING 0
  477. #define REGVAL_POL_NO_DIRECTORY_SERVICES TEXT("NoDirectoryServices")
  478. #define DEFAULT_POL_NO_DIRECTORY_SERVICES 0
  479. #define REGVAL_POL_NO_AUTOACCEPTCALLS TEXT("NoAutoAcceptCalls")
  480. #define DEFAULT_POL_NO_AUTOACCEPTCALLS 0
  481. #define REGVAL_POL_PERSIST_AUTOACCEPTCALLS TEXT("PersistAutoAcceptCalls")
  482. #define DEFAULT_POL_PERSIST_AUTOACCEPTCALLS 0
  483. #define REGVAL_POL_INTRANET_SUPPORT_URL TEXT("IntranetSupportURL")
  484. #define REGVAL_POL_INTRANET_WEBDIR_URL TEXT("IntranetWebDirURL")
  485. #define REGVAL_POL_INTRANET_WEBDIR_NAME TEXT("IntranetWebDirName")
  486. #define REGVAL_POL_INTRANET_WEBDIR_SERVER TEXT("IntranetWebDirServer")
  487. #define REGVAL_POL_SHOW_FIRST_TIME_URL TEXT("ShowFirstTimeURL")
  488. #define DEFAULT_POL_SHOW_FIRST_TIME_URL 0
  489. #define REGVAL_POL_NO_ADDING_NEW_ULS TEXT("NoAddingDirectoryServers")
  490. #define DEFAULT_POL_NO_ADDING_NEW_ULS 0
  491. // Before a file is transferred, we need to check its size in case it exceeds the limit.
  492. // This is the default size limit (0 is "no limit").
  493. #define REGVAL_POL_NO_RDS TEXT("NoRDS")
  494. #define DEFAULT_POL_NO_RDS 0
  495. #define REGVAL_POL_NO_RDS_WIN9X TEXT("NoRDSWin9x")
  496. #define DEFAULT_POL_NO_RDS_WIN9X 0
  497. // MCU cleartext password keys.
  498. #define REGVAL_VALIDATE_USER TEXT("PasswordValidation")
  499. #define REGKEY_CONFERENCES TEXT("Conferences")
  500. #define REGVAL_PASSWORD TEXT("Password")
  501. // CALL SECURITY
  502. #define REGVAL_POL_SECURITY TEXT("CallSecurity")
  503. #define STANDARD_POL_SECURITY 0
  504. #define REQUIRED_POL_SECURITY 1
  505. #define DISABLED_POL_SECURITY 2
  506. #define DEFAULT_POL_SECURITY STANDARD_POL_SECURITY
  507. #define REGVAL_POL_NO_INCOMPLETE_CERTS TEXT("NoIncompleteCerts")
  508. #define DEFAULT_POL_NO_INCOMPLETE_CERTS 0
  509. #define REGVAL_POL_ISSUER TEXT("CertificateIssuer")
  510. /////////// Logging related registry keys and values /////////////
  511. #define LOG_INCOMING_KEY TEXT("SOFTWARE\\Microsoft\\Conferencing\\Log\\Incoming")
  512. #define LOG_OUTGOING_KEY TEXT("SOFTWARE\\Microsoft\\Conferencing\\Log\\Outgoing")
  513. // Name of file in which to store log data
  514. #define REGVAL_LOG_FILE TEXT("File")
  515. // Number of days before deleting log entry
  516. #define REGVAL_LOG_EXPIRE TEXT("Expire")
  517. #define DEFAULT_LOG_EXPIRE 0
  518. // Maximum number of log entries to maintain
  519. #define REGVAL_LOG_MAX_ENTRIES TEXT("Max Entries")
  520. #define DEFAULT_LOG_MAX_ENTRIES 100
  521. ///////////// Debug only registry settings //////////////
  522. // Flag to determine whether to display debug output window
  523. #define REGVAL_SHOW_DEBUG_OUTPUT TEXT("ShowDebugOutput")
  524. // Debug-only key
  525. #define DEBUG_KEY TEXT("SOFTWARE\\Microsoft\\Conferencing\\Debug")
  526. #define REGVAL_DBG_OUTPUT TEXT("OutputDebugString")
  527. #define DEFAULT_DBG_OUTPUT 1
  528. #define REGVAL_DBG_WIN_OUTPUT TEXT("Window Output")
  529. #define DEFAULT_DBG_NO_WIN 0
  530. #define REGVAL_DBG_FILE_OUTPUT TEXT("File Output")
  531. #define DEFAULT_DBG_NO_FILE 0
  532. #define REGVAL_DBG_FILE TEXT("File")
  533. #define DEFAULT_DBG_FILENAME TEXT("nmDbg.txt")
  534. #define REGVAL_RETAIL_LOG TEXT("RetailLog")
  535. #define RETAIL_LOG_FILENAME TEXT("nmLog.txt")
  536. #define REGVAL_DBG_SPEWFLAGS TEXT("SpewFlags")
  537. #define DEFAULT_DBG_SPEWFLAGS 0
  538. #define REGVAL_DBG_SHOW_TIME TEXT("Show Time")
  539. #define REGVAL_DBG_SHOW_THREADID TEXT("Show ThreadId")
  540. #define REGVAL_DBG_SHOW_MODULE TEXT("Show Module")
  541. #define REGVAL_DBG_RTL TEXT("RTL")
  542. #define DEFAULT_DBG_RTL 0
  543. #define REGVAL_DBG_DISPLAY_FPS TEXT("DisplayFps")
  544. #define REGVAL_DBG_DISPLAY_VIEWSTATUS TEXT("ViewStatus")
  545. #define REGVAL_DBG_FAKE_CALLTO TEXT("CallTo")
  546. #define DEFAULT_DBG_FAKE_CALLTO 0
  547. #define REGVAL_DBG_CALLTOP TEXT("CallTop")
  548. #define DEFAULT_DBG_CALLTOP 1
  549. #define ZONES_KEY TEXT("SOFTWARE\\Microsoft\\Conferencing\\Debug\\Zones")
  550. /////////// Whiteboard related registry keys and values /////////////
  551. #define WHITEBOARD_KEY TEXT("SOFTWARE\\Microsoft\\Conferencing\\Whiteboard")
  552. #define NEW_WHITEBOARD_KEY TEXT("SOFTWARE\\Microsoft\\Conferencing\\Whiteboard 3.0")
  553. //Whiteboard values are defined in oprah\dcg32\wb32\wwbopts.hpp
  554. ////////////// Chat related registry keys and values ////////////////
  555. #define CHAT_KEY TEXT("SOFTWARE\\Microsoft\\Conferencing\\Chat")
  556. ////////////// Remote control service related keys and values ////////////////
  557. #define WIN95_SERVICE_KEY TEXT("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\RunServices")
  558. #define REMOTECONTROL_KEY TEXT("SOFTWARE\\Microsoft\\Conferencing\\Mcpt")
  559. #define WINNT_WINLOGON_KEY TEXT("SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon")
  560. #define WIN95_WINLOGON_KEY TEXT("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Winlogon")
  561. #define DESKTOP_KEY TEXT("Control Panel\\Desktop")
  562. #define REMOTE_REG_RUNSERVICE TEXT("Fpx")
  563. #define DEFAULT_REMOTE_RUNSERVICE 0
  564. #define REMOTE_REG_ACTIVATESERVICE TEXT("Plc")
  565. #define DEFAULT_REMOTE_ACTIVATESERVICE 0
  566. #define REMOTE_REG_NOEXIT TEXT("Nx")
  567. #define DEFAULT_REMOTE_NOEXIT 0
  568. #define REMOTE_REG_PASSWORD TEXT("FieldPos")
  569. #define REGVAL_SCREENSAVER_GRACEPERIOD TEXT("ScreenSaverGracePeriod")
  570. #define REGVAL_WINNT_SCPW TEXT("ScreenSaverIsSecure")
  571. #define REGVAL_WIN95_SCPW TEXT("ScreenSaveUsePassword")
  572. /////////// NT display driver registry keys and values (HKLM) /////////////
  573. #define NM_NT_DISPLAY_DRIVER_KEY TEXT("System\\CurrentControlSet\\Services\\mnmdd")
  574. #define REGVAL_NM_NT_DISPLAY_DRIVER_ENABLED TEXT("Start")
  575. // Note: The below values are from KB article Q103000
  576. #define NT_DRIVER_START_BOOT 0x0
  577. #define NT_DRIVER_START_SYSTEM 0x1
  578. #define NT_DRIVER_START_AUTOLOAD 0x2
  579. #define NT_DRIVER_START_ONDEMAND 0x3
  580. #define NT_DRIVER_START_DISABLED 0x4
  581. /////////// NT service pack version registry keys and values (HKLM) /////////////
  582. #define NT_WINDOWS_SYSTEM_INFO_KEY TEXT("System\\CurrentControlSet\\Control\\Windows")
  583. #define REGVAL_NT_CSD_VERSION TEXT("CSDVersion")
  584. /////////// System Information registry keys and values (HKLM) /////////////
  585. #define WINDOWS_KEY TEXT("SOFTWARE\\Microsoft\\Windows\\CurrentVersion")
  586. #define WINDOWS_NT_KEY TEXT("SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion")
  587. #define REGVAL_REGISTERED_USER TEXT("RegisteredOwner")
  588. #define REGVAL_REGISTERED_ORG TEXT("RegisteredOrganization")
  589. #endif // ! _CONFREG_H_