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.

304 lines
10 KiB

  1. //==========================================================================;
  2. //
  3. // msacmmap.rc
  4. //
  5. // Copyright (c) 1992-1994 Microsoft Corporation
  6. //
  7. // Description:
  8. //
  9. //
  10. // History:
  11. // 9/18/93 cjp [curtisp]
  12. //
  13. //==========================================================================;
  14. #include <windows.h>
  15. #include "msacmmap.h"
  16. #include "msacmmap.rcv"
  17. //
  18. //
  19. //
  20. ICON_MSACM ICON msacm.ico
  21. ICON_INPUT ICON input.ico
  22. ICON_OUTPUT ICON output.ico
  23. ICON_MSACMMAP ICON msacmmap.ico
  24. //
  25. // string resources for the MSACM.DRV--anything that is visible to the user
  26. // as written text (through normal UI stuff) should be put here so it can
  27. // be internationalized
  28. //
  29. // for each string the maximum length of the string is listed--this value
  30. // INCLUDES the null terminator!
  31. //
  32. STRINGTABLE MOVEABLE DISCARDABLE
  33. BEGIN
  34. //
  35. // this string is returned from the waveXXGetDevCaps call--it's returned
  36. // in the szPname field
  37. //
  38. // IDS_ACM_CAPS_DESCRIPTION : max chars=30 (WAVEXXCAPS.szPname)
  39. //
  40. IDS_ACM_CAPS_DESCRIPTION, "Microsoft Sound Mapper"
  41. //
  42. // these CPL resources are used to fill in the NEWCPLINFO structure for
  43. // the control panel applet of the MSACM.
  44. //
  45. // IDS_CPL_NAME : max chars=32 (NEWCPLINFO.szName)
  46. // IDS_CPL_INFO, : max chars=64 (NEWCPLINFO.szInfo)
  47. // IDS_CPL_HELPFILE: max chars=128 (NEWCPLINFO.szHelpFile)
  48. //
  49. IDS_CPL_NAME, "Sound Mapper"
  50. IDS_CPL_INFO, "Configures the Sound Mapper"
  51. #ifdef WIN32
  52. #if (WINVER <= 0x400)
  53. //
  54. // Export this name so that the Windows NT Multimedia control panel
  55. // applet (multimed.cpl) can find it without linking this DLL.
  56. // This is done for performance.
  57. //
  58. IDS_CPL_HELPFILE, "MAP_WIN.HLP"
  59. #else
  60. IDS_CPL_HELPFILE, "MAPPER.HLP"
  61. #endif // (WINVER <= 0x400)
  62. #endif // WIN32
  63. //
  64. // these About Box resources are used to display information in the
  65. // common CODEC about box. the title is what gets displayed as the title
  66. // text of the dlg (using the ACMDRIVERDETAILS.szName as the arg). the version
  67. // format string is for the Version line--note there is a different
  68. // version for retail vs debug builds; the debug build adds the build
  69. // number of the CODEC to the displayed string...
  70. //
  71. // IDS_ABOUT_TITLE : max chars=80
  72. // IDS_ABOUT_VERSION : max chars=80
  73. //
  74. IDS_ABOUT_TITLE, "About %s"
  75. #ifdef DEBUG
  76. IDS_ABOUT_VERSION, "Version %u.%.02u.%.03u for Audio Compression Manager Version %u.%.02u.%.03u"
  77. #else
  78. IDS_ABOUT_VERSION, "Version %u.%.02u for Audio Compression Manager Version %u.%.02u"
  79. #endif
  80. //
  81. // these are miscellaneous string resources that are visible to the
  82. // user--so must be 'internationalizable'.
  83. //
  84. // IDS_TXT_CLOSE : max chars=15 (but needs to fit in the button)
  85. // this is the text displayed in the Cancel button
  86. // after the user has made a change to the config
  87. //
  88. // IDS_TXT_NONE : max chars=30 (fits in WAVEXXCAPS.szPname)
  89. // this is the text used to denote that no preference
  90. // is desired on either the input or output devices.
  91. // this is displayed in the combo boxes (if more than
  92. // one device is installed in the system) and also
  93. // written to WIN.INI![Audio Compression]
  94. // max
  95. //
  96. IDS_TXT_NONE, "[none]"
  97. IDS_TXT_DISABLED, "(disabled)"
  98. // Additional CPL applet strings
  99. // CPL priority dialog strings
  100. // IDS_PRIORITY_FROMTO : chars=80
  101. IDS_PRIORITY_FROMTO "Change From %d To "
  102. END
  103. //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ;
  104. //
  105. //
  106. //
  107. //
  108. //
  109. //
  110. //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ;
  111. //
  112. // DLG_PRIORITY_SET
  113. //
  114. // this dialog is displayed when the user attempts to change the priority
  115. // the enabled state of a driver.
  116. //
  117. DLG_PRIORITY_SET DIALOG DISCARDABLE 10, 10, 265, 76
  118. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  119. CAPTION "Priority"
  120. FONT 8, "MS Shell Dlg"
  121. BEGIN
  122. LTEXT "Selected Driver:",-1,5,7,204,8
  123. LTEXT "", IDD_PRIORITY_TXT_DRIVER, 5, 21, 204, 8
  124. LTEXT "", IDD_PRIORITY_TXT_FROMTO, 5, 40, 76, 10
  125. COMBOBOX IDD_PRIORITY_COMBO_PRIORITY, 84, 39, 32, 30,
  126. CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
  127. CONTROL "&Disable Driver", IDD_PRIORITY_CHECK_DISABLE, "Button",
  128. BS_AUTOCHECKBOX | WS_TABSTOP, 5, 59, 58, 10
  129. DEFPUSHBUTTON "OK", IDOK, 213, 5, 47, 14
  130. PUSHBUTTON "Cancel", IDCANCEL, 213, 22, 47, 14
  131. END
  132. //
  133. // DLG_RESTART_MSACM
  134. //
  135. // this dialog is displayed when the user configures a driver and the
  136. // driver instructs the ACM that Windows must be restarted for the
  137. // changes to take effect (for example, if hardware changes were made or
  138. // something). basically, this happens if the driver returns
  139. // DRVCNF_RESTART from a DRV_CONFIGURE message...
  140. //
  141. DLG_RESTART_MSACM DIALOG 10, 10, 225, 70
  142. CAPTION "Sound Mapper Driver Setting Change"
  143. STYLE DS_MODALFRAME | WS_CAPTION | WS_POPUP | WS_VISIBLE | WS_SYSMENU
  144. FONT 8 "MS Shell Dlg"
  145. BEGIN
  146. LTEXT "Your Sound Mapper driver settings have changed. You will need to exit and restart Windows so that the new settings can take effect.", -1, 34, 6, 170, 40
  147. DEFPUSHBUTTON "&Restart Now", IDOK, 120, 51, 80, 14
  148. PUSHBUTTON "&Don't Restart Now", IDCANCEL, 30, 51, 80, 14
  149. ICON 32515, -1, 8, 14, 16, 21
  150. END
  151. //
  152. // DLG_ABOUT_MSACM
  153. //
  154. // this is the About box template used to display information specific to
  155. // each driver installed.
  156. //
  157. DLG_ABOUT_MSACM DIALOG 10, 10, 255, 112
  158. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  159. FONT 8, "MS Shell Dlg"
  160. BEGIN
  161. DEFPUSHBUTTON "OK", IDOK, 208, 6, 40, 14
  162. LTEXT "", IDD_ABOUT_TXT_DESCRIPTION, 35, 7, 170, 8
  163. LTEXT "", IDD_ABOUT_TXT_VERSION, 35, 17, 170, 8
  164. LTEXT "", IDD_ABOUT_TXT_COPYRIGHT, 35, 27, 170, 8
  165. LTEXT "", IDD_ABOUT_TXT_LICENSING, 35, 42, 170, 26
  166. CONTROL "", -1, "Static", SS_BLACKRECT, 3, 71, 250, 1
  167. EDITTEXT IDD_ABOUT_TXT_FEATURES, 5, 75, 245, 34,
  168. ES_MULTILINE | ES_READONLY | WS_VSCROLL
  169. ICON ICON_MSACM, IDD_ABOUT_ICON_DRIVER, 7, 7, 18, 20
  170. END
  171. #if (WINVER >= 0x0400)
  172. //
  173. // DLG_CPL_MSACM
  174. //
  175. // win 4 property sheet
  176. //
  177. //
  178. //
  179. DLG_CPL_MSACM DIALOG DISCARDABLE 0, 0, 266, 190
  180. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  181. CAPTION "Sound Mapper Configuration"
  182. FONT 8, "MS Shell Dlg"
  183. BEGIN
  184. GROUPBOX "Sound Mapper Drivers", -1, 4, 4, 256, 95
  185. LTEXT "Priority", IDD_CPL_STATIC_PRIORITY, 11, 16, 45, 10
  186. LTEXT "&Driver", IDD_CPL_STATIC_DRIVERS, 11, 16, 45, 10
  187. LISTBOX IDD_CPL_LIST_DRIVERS, 11, 27, 243, 55,
  188. LBS_USETABSTOPS | WS_VSCROLL | WS_TABSTOP
  189. PUSHBUTTON "&About...", IDD_CPL_BTN_ABOUT, 11, 80, 49, 14,
  190. PUSHBUTTON "&Configure...", IDD_CPL_BTN_CONFIGURE, 66, 80, 49, 14
  191. PUSHBUTTON "P&riority...", IDD_CPL_BTN_PRIORITY, 121, 80, 49, 14
  192. PUSHBUTTON "&Install...", IDD_CPL_BTN_INSTALL, 176, 80, 60, 14
  193. GROUPBOX "Sound Device Preferences", -1, 4, 102, 256, 82
  194. ICON ICON_OUTPUT, -1, 11, 116, 0, 0
  195. ICON ICON_INPUT, -1, 11, 142, 0, 0
  196. LTEXT "&Playback:", -1, 38, 121, 40, 10
  197. COMBOBOX IDD_CPL_COMBO_PLAYBACK, 80, 120, 175, 40,
  198. CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
  199. LTEXT "R&ecording:", -1, 38, 148, 40, 10
  200. COMBOBOX IDD_CPL_COMBO_RECORD, 80, 147, 175, 40,
  201. CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
  202. CONTROL "&Use Preferred Devices Only",
  203. IDD_CPL_CHECK_PREFERRED, "Button",
  204. BS_AUTOCHECKBOX | WS_TABSTOP, 11, 169, 110, 10
  205. END
  206. #else
  207. //
  208. // DLG_CPL_MSACM
  209. //
  210. // win 3.1 or equivalent
  211. //
  212. //
  213. //
  214. DLG_CPL_MSACM DIALOG DISCARDABLE 0, 0, 245, 207
  215. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  216. CAPTION "Sound Mapper Configuration"
  217. FONT 8, "MS Shell Dlg"
  218. BEGIN
  219. GROUPBOX "Sound Mapper Drivers", -1, 4, 4, 236, 95
  220. LTEXT "Priority", IDD_CPL_STATIC_PRIORITY, 11, 16, 45, 10
  221. LTEXT "&Driver", IDD_CPL_STATIC_DRIVERS, 11, 16, 45, 10
  222. LISTBOX IDD_CPL_LIST_DRIVERS, 11, 27, 223, 55,
  223. LBS_USETABSTOPS | WS_VSCROLL | WS_TABSTOP
  224. PUSHBUTTON "&About...", IDD_CPL_BTN_ABOUT, 42, 80, 49, 14,
  225. PUSHBUTTON "&Configure...", IDD_CPL_BTN_CONFIGURE, 97, 80, 49, 14
  226. PUSHBUTTON "P&riority...", IDD_CPL_BTN_PRIORITY, 153, 80, 49, 14
  227. GROUPBOX "Sound Device Preferences", -1, 4, 102, 236, 82
  228. ICON ICON_OUTPUT, -1, 11, 116, 0, 0
  229. ICON ICON_INPUT, -1, 11, 142, 0, 0
  230. LTEXT "&Playback:", -1, 38, 121, 40, 10
  231. COMBOBOX IDD_CPL_COMBO_PLAYBACK, 80, 120, 155, 40,
  232. CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
  233. LTEXT "R&ecording:", -1, 38, 148, 40, 10
  234. COMBOBOX IDD_CPL_COMBO_RECORD, 80, 147, 155, 40,
  235. CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
  236. CONTROL "&Use Preferred Devices Only",
  237. IDD_CPL_CHECK_PREFERRED, "Button",
  238. BS_AUTOCHECKBOX | WS_TABSTOP, 11, 169, 110, 10
  239. DEFPUSHBUTTON "OK", IDOK, 54, 189, 41, 14
  240. PUSHBUTTON "Cancel", IDCANCEL, 101, 189, 41, 14
  241. PUSHBUTTON "&Help", IDD_CPL_BTN_HELP, 148, 189, 41, 14
  242. END
  243. #endif