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.

369 lines
16 KiB

  1. #include <windows.h>
  2. #include <commctrl.h>
  3. #include <ntverp.h>
  4. #define VER_FILETYPE VFT_APP
  5. #define VER_FILESUBTYPE VFT2_UNKNOWN
  6. #define VER_FILEDESCRIPTION_STR "HID Sample Client"
  7. #define VER_INTERNALNAME_STR "hclient\0"
  8. #define VER_ORIGINALFILENAME_STR "HCLIENT.EXE"
  9. #include <common.ver>
  10. #include "resource.h"
  11. /////////////////////////////////////////////////////////////////////////////
  12. //
  13. // Dialog
  14. //
  15. MAIN_DIALOG DIALOG DISCARDABLE 0, 0, 384, 277
  16. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  17. CAPTION "Sample HID client app"
  18. FONT 8, "MS Shell Dlg"
  19. BEGIN
  20. COMBOBOX IDC_DEVICES,4,18,373,99,CBS_DROPDOWNLIST | CBS_SORT |
  21. WS_VSCROLL | WS_TABSTOP
  22. COMBOBOX IDC_TYPE,4,48,373,99,CBS_DROPDOWNLIST | CBS_SORT |
  23. WS_VSCROLL | WS_TABSTOP
  24. LISTBOX IDC_ITEMS,4,81,373,44,LBS_SORT | LBS_NOINTEGRALHEIGHT |
  25. WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
  26. LISTBOX IDC_ATTRIBUTES,4,143,373,89,LBS_NOINTEGRALHEIGHT |
  27. WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
  28. PUSHBUTTON "Extended Client Calls...",IDC_EXTCALLS,20,241,78,14
  29. PUSHBUTTON "Modify Features...",IDC_FEATURES,20,256,78,14
  30. PUSHBUTTON "Blocked Write Data...",IDC_WRITE,128,241,78,14
  31. PUSHBUTTON "Blocked Read Data...",IDC_READ,128,256,78,14
  32. DEFPUSHBUTTON "About...",IDC_ABOUT,236,241,50,14
  33. PUSHBUTTON "Logical Device",IDC_LOAD_LOGICAL_DEVICE,236,256,50,14
  34. DEFPUSHBUTTON "Exit",IDOK,316,241,50,14
  35. PUSHBUTTON "Start Tests",IDC_START_TESTS,316,256,50,14,NOT
  36. WS_VISIBLE
  37. LTEXT "HID Device to Examine",IDC_STATIC,6,6,255,9
  38. LTEXT "Item Type to examine",IDC_STATIC,5,36,357,11
  39. LTEXT "Items",IDC_STATIC,6,67,156,12
  40. LTEXT "Item attributes",IDC_STATIC,5,129,176,9
  41. END
  42. READDATA DIALOG DISCARDABLE 0, 0, 387, 173
  43. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  44. CAPTION "Dialog"
  45. FONT 8, "MS Shell Dlg"
  46. BEGIN
  47. PUSHBUTTON "Continuous Asynchronous Read",IDC_READ_ASYNCH_CONT,50,
  48. 146,106,14
  49. PUSHBUTTON "One Asynchronous Read",IDC_READ_ASYNCH_ONCE,164,146,84,
  50. 14
  51. PUSHBUTTON "Synchronous Read",IDC_READ_SYNCH,256,146,66,14
  52. DEFPUSHBUTTON "OK",IDOK,330,146,50,14
  53. LISTBOX IDC_OUTPUT,7,6,373,126,LBS_NOINTEGRALHEIGHT | WS_VSCROLL
  54. END
  55. WRITEDATA DIALOG DISCARDABLE 0, 0, 387, 196
  56. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  57. CAPTION "Write to device"
  58. FONT 8, "MS Shell Dlg"
  59. BEGIN
  60. DEFPUSHBUTTON "Cancel",IDCANCEL,325,177,50,14
  61. PUSHBUTTON "Send to device",ID_SEND,255,177,59,14
  62. LTEXT "abcdefghijklmonopqrstuvwayz",IDC_OUT_LABEL1,9,17,241,11
  63. EDITTEXT IDC_OUT_EDIT1,255,16,105,12,ES_AUTOHSCROLL
  64. GROUPBOX "Output Buttons && Values",box,5,0,375,176
  65. LTEXT "abcdefghijklmonopqrstuvwayz",IDC_OUT_LABEL2,10,34,241,
  66. 11
  67. EDITTEXT IDC_OUT_EDIT2,255,33,105,12,ES_AUTOHSCROLL
  68. LTEXT "abcdefghijklmonopqrstuvwayz",IDC_OUT_LABEL3,9,52,241,11
  69. EDITTEXT IDC_OUT_EDIT3,255,51,105,12,ES_AUTOHSCROLL
  70. LTEXT "abcdefghijklmonopqrstuvwayz",IDC_OUT_LABEL4,9,68,241,11
  71. EDITTEXT IDC_OUT_EDIT4,255,67,105,12,ES_AUTOHSCROLL
  72. LTEXT "abcdefghijklmonopqrstuvwayz",IDC_OUT_LABEL5,9,85,241,11
  73. EDITTEXT IDC_OUT_EDIT5,255,84,105,12,ES_AUTOHSCROLL
  74. LTEXT "abcdefghijklmonopqrstuvwayz",IDC_OUT_LABEL6,10,101,241,
  75. 11
  76. EDITTEXT IDC_OUT_EDIT6,256,100,105,12,ES_AUTOHSCROLL
  77. LTEXT "abcdefghijklmonopqrstuvwayz",IDC_OUT_LABEL7,10,118,241,
  78. 11
  79. EDITTEXT IDC_OUT_EDIT7,256,117,105,12,ES_AUTOHSCROLL
  80. LTEXT "abcdefghijklmonopqrstuvwayz",IDC_OUT_LABEL8,10,135,241,
  81. 11
  82. EDITTEXT IDC_OUT_EDIT8,256,134,105,12,ES_AUTOHSCROLL
  83. LTEXT "abcdefghijklmonopqrstuvwayz",IDC_OUT_LABEL9,10,153,241,
  84. 11
  85. EDITTEXT IDC_OUT_EDIT9,256,152,105,12,ES_AUTOHSCROLL
  86. SCROLLBAR IDC_SCROLLBAR,363,5,12,167,SBS_VERT
  87. END
  88. WRITEFEATURE DIALOG DISCARDABLE 0, 0, 412, 215
  89. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  90. CAPTION "Modify Features"
  91. FONT 8, "MS Shell Dlg"
  92. BEGIN
  93. DEFPUSHBUTTON "Cancel",IDCANCEL,351,190,50,14
  94. PUSHBUTTON "Send to device",ID_SEND,281,190,59,14
  95. LTEXT "abcdefghijklmonopqrstuvwayz",IDC_OUT_LABEL1,17,26,192,
  96. 11
  97. EDITTEXT IDC_OUT_EDIT1,211,24,169,15,ES_AUTOHSCROLL
  98. GROUPBOX "Feature Buttons && Values",box,13,14,376,171
  99. LTEXT "abcdefghijklmonopqrstuvwayz",IDC_OUT_LABEL2,18,43,192,
  100. 11
  101. EDITTEXT IDC_OUT_EDIT2,211,41,169,15,ES_AUTOHSCROLL
  102. LTEXT "abcdefghijklmonopqrstuvwayz",IDC_OUT_LABEL3,17,61,194,
  103. 11
  104. EDITTEXT IDC_OUT_EDIT3,211,59,169,15,ES_AUTOHSCROLL
  105. LTEXT "abcdefghijklmonopqrstuvwayz",IDC_OUT_LABEL4,17,77,194,
  106. 11
  107. EDITTEXT IDC_OUT_EDIT4,211,76,169,15,ES_AUTOHSCROLL
  108. LTEXT "abcdefghijklmonopqrstuvwayz",IDC_OUT_LABEL5,17,94,194,
  109. 11
  110. EDITTEXT IDC_OUT_EDIT5,211,93,169,15,ES_AUTOHSCROLL
  111. LTEXT "abcdefghijklmonopqrstuvwayz",IDC_OUT_LABEL6,18,110,194,
  112. 11
  113. EDITTEXT IDC_OUT_EDIT6,212,110,169,15,ES_AUTOHSCROLL
  114. LTEXT "abcdefghijklmonopqrstuvwayz",IDC_OUT_LABEL7,18,127,194,
  115. 11
  116. EDITTEXT IDC_OUT_EDIT7,212,127,169,15,ES_AUTOHSCROLL
  117. LTEXT "abcdefghijklmonopqrstuvwayz",IDC_OUT_LABEL8,18,144,194,
  118. 11
  119. EDITTEXT IDC_OUT_EDIT8,212,144,169,15,ES_AUTOHSCROLL
  120. LTEXT "abcdefghijklmonopqrstuvwayz",IDC_OUT_LABEL9,18,162,194,
  121. 11
  122. EDITTEXT IDC_OUT_EDIT9,212,162,169,15,ES_AUTOHSCROLL
  123. SCROLLBAR IDC_SCROLLBAR,389,18,12,167,SBS_VERT
  124. END
  125. FEATURES DIALOG DISCARDABLE 0, 0, 323, 173
  126. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  127. CAPTION "Feature Data"
  128. FONT 8, "MS Shell Dlg"
  129. BEGIN
  130. DEFPUSHBUTTON "OK",IDOK,260,146,50,14
  131. LISTBOX IDC_OUTPUT,7,6,309,126,LBS_NOINTEGRALHEIGHT | WS_VSCROLL |
  132. WS_TABSTOP
  133. PUSHBUTTON "Read Features",IDC_READ,193,146,59,13
  134. PUSHBUTTON "Modify Features",IDC_WRITE,126,146,59,13
  135. END
  136. EXTCALLS DIALOG DISCARDABLE 0, 0, 355, 290
  137. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  138. CAPTION "Extended Client Calls"
  139. FONT 8, "MS Shell Dlg"
  140. BEGIN
  141. COMBOBOX IDC_EXTCALLS,7,18,341,71,CBS_DROPDOWNLIST | CBS_SORT |
  142. WS_VSCROLL | WS_TABSTOP
  143. EDITTEXT IDC_REPORTID,53,54,31,12,WS_GROUP
  144. EDITTEXT IDC_USAGEPAGE,137,54,31,12,WS_GROUP
  145. EDITTEXT IDC_USAGE,211,54,31,12,WS_GROUP
  146. EDITTEXT IDC_LINKCOLL,303,54,21,12,ES_NUMBER | WS_GROUP
  147. CONTROL "Input Report",IDC_INPUT,"Button",BS_AUTORADIOBUTTON |
  148. WS_GROUP | WS_TABSTOP,23,84,52,10
  149. CONTROL "Output Report",IDC_OUTPUT,"Button",BS_AUTORADIOBUTTON |
  150. WS_TABSTOP,135,84,57,10
  151. CONTROL "Feature Report",IDC_FEATURE,"Button",BS_AUTORADIOBUTTON |
  152. WS_TABSTOP,249,84,61,10
  153. COMBOBOX IDC_INPUT_SELECT,19,118,88,30,CBS_DROPDOWN | CBS_SORT |
  154. WS_VSCROLL | WS_TABSTOP
  155. COMBOBOX IDC_OUTPUT_SELECT,130,118,87,30,CBS_DROPDOWN | CBS_SORT |
  156. WS_VSCROLL | WS_TABSTOP
  157. COMBOBOX IDC_FEATURE_SELECT,240,118,84,30,CBS_DROPDOWN | CBS_SORT |
  158. WS_VSCROLL | WS_TABSTOP
  159. EDITTEXT IDC_INPUT_BUFFER,20,140,87,21,ES_MULTILINE |
  160. ES_AUTOHSCROLL | ES_READONLY
  161. EDITTEXT IDC_OUTPUT_BUFFER,130,140,86,21,ES_MULTILINE |
  162. ES_AUTOHSCROLL | ES_READONLY
  163. EDITTEXT IDC_FEATURE_BUFFER,239,140,84,21,ES_MULTILINE |
  164. ES_AUTOHSCROLL | ES_READONLY
  165. LISTBOX IDC_CALLOUTPUT,7,185,341,64,NOT LBS_NOTIFY |
  166. LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL |
  167. WS_TABSTOP
  168. PUSHBUTTON "Start Synchronous Read Thread",IDC_READ_SYNCH,10,255,
  169. 110,14
  170. PUSHBUTTON "Start Asynchronous Read Thread",IDC_READ_ASYNCH,10,270,
  171. 110,14
  172. PUSHBUTTON "Set Params",IDC_SET_PARAMS,135,255,50,14
  173. PUSHBUTTON "Execute",IDC_EXECUTE,205,255,58,14
  174. PUSHBUTTON "Cancel",IDC_CANCEL,285,255,50,14
  175. LTEXT "DLL Call to Execute",IDC_STATIC,7,7,64,8
  176. GROUPBOX "Report Type",IDC_STATIC,17,74,308,24
  177. LTEXT "Call Output",IDC_STATIC,7,175,36,8
  178. LTEXT "Report ID:",IDC_STATIC,15,57,34,8
  179. LTEXT "Usage Page:",IDC_STATIC,95,57,42,8
  180. LTEXT "Usage:",IDC_STATIC,183,57,23,8
  181. RTEXT "Link Collection:",IDC_STATIC,249,57,53,8
  182. GROUPBOX "Parameters",IDC_STATIC,7,38,341,129
  183. END
  184. IDD_SET_BUTTONS DIALOG DISCARDABLE 0, 0, 185, 79
  185. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  186. CAPTION "Set Button Usages"
  187. FONT 8, "MS Shell Dlg"
  188. BEGIN
  189. DEFPUSHBUTTON "OK",IDOK,128,57,50,14
  190. PUSHBUTTON "Cancel",IDCANCEL,65,57,50,14
  191. LTEXT "Usage Page:",IDC_STATIC,7,7,42,8
  192. LTEXT "",IDC_USAGE_PAGE,54,7,34,8
  193. LTEXT "Usages (hex):",IDC_STATIC,7,29,44,8
  194. EDITTEXT IDC_USAGE_LIST,54,26,124,13,ES_AUTOHSCROLL
  195. END
  196. IDD_SET_SCALED_VALUE DIALOG DISCARDABLE 0, 0, 185, 82
  197. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  198. CAPTION "Set Scaled Usage Value"
  199. FONT 8, "MS Shell Dlg"
  200. BEGIN
  201. DEFPUSHBUTTON "OK",IDOK,128,60,50,14
  202. PUSHBUTTON "Cancel",IDCANCEL,65,60,50,14
  203. LTEXT "Usage Page:",IDC_STATIC,7,7,42,8
  204. LTEXT "",IDC_USAGE_PAGE,54,7,34,8
  205. LTEXT "Value:",IDC_STATIC,27,37,21,8
  206. EDITTEXT IDC_VALUE,53,34,62,13,ES_AUTOHSCROLL
  207. LTEXT "Usage:",IDC_STATIC,25,21,24,8
  208. LTEXT "",IDC_USAGE,54,21,34,8
  209. END
  210. IDD_SET_USAGE_VALUE DIALOG DISCARDABLE 0, 0, 185, 82
  211. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  212. CAPTION "Set Usage Value"
  213. FONT 8, "MS Shell Dlg"
  214. BEGIN
  215. DEFPUSHBUTTON "OK",IDOK,128,60,50,14
  216. PUSHBUTTON "Cancel",IDCANCEL,65,60,50,14
  217. LTEXT "Usage Page:",IDC_STATIC,7,7,42,8
  218. LTEXT "",IDC_USAGE_PAGE,54,7,34,8
  219. LTEXT "Value:",IDC_STATIC,27,37,21,8
  220. EDITTEXT IDC_VALUE,53,34,62,13,ES_AUTOHSCROLL
  221. LTEXT "Usage:",IDC_STATIC,25,21,24,8
  222. LTEXT "",IDC_USAGE,54,21,34,8
  223. END
  224. IDD_SET_USAGE_VALUE_ARRAY DIALOG DISCARDABLE 0, 0, 185, 82
  225. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  226. CAPTION "Set Usage Value Array"
  227. FONT 8, "MS Shell Dlg"
  228. BEGIN
  229. DEFPUSHBUTTON "OK",IDOK,128,60,50,14
  230. PUSHBUTTON "Cancel",IDCANCEL,65,60,50,14
  231. LTEXT "Usage Page:",IDC_STATIC,7,7,42,8
  232. LTEXT "",IDC_USAGE_PAGE,54,7,34,8
  233. LTEXT "Value:",IDC_STATIC,27,37,21,8
  234. EDITTEXT IDC_VALUE,53,34,125,13,ES_AUTOHSCROLL
  235. LTEXT "Usage:",IDC_STATIC,25,21,24,8
  236. LTEXT "",IDC_USAGE,54,21,34,8
  237. END
  238. IDD_USAGE_LIST_DIFFERENCE DIALOG DISCARDABLE 0, 0, 227, 95
  239. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  240. CAPTION "Usage List Difference"
  241. FONT 8, "MS Shell Dlg"
  242. BEGIN
  243. DEFPUSHBUTTON "OK",IDOK,170,73,50,14
  244. PUSHBUTTON "Cancel",IDCANCEL,111,73,50,14
  245. LTEXT "Previous Usage List (hex):",IDC_STATIC,7,19,83,8
  246. EDITTEXT IDC_USAGE_LIST1,96,16,124,13,ES_AUTOHSCROLL
  247. LTEXT "Current Usage List (hex):",IDC_STATIC,12,44,78,8
  248. EDITTEXT IDC_USAGE_LIST2,96,41,124,13,ES_AUTOHSCROLL
  249. END
  250. IDD_UNSET_BUTTONS DIALOG DISCARDABLE 0, 0, 185, 79
  251. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  252. CAPTION "Unset Button Usages"
  253. FONT 8, "MS Shell Dlg"
  254. BEGIN
  255. DEFPUSHBUTTON "OK",IDOK,128,57,50,14
  256. PUSHBUTTON "Cancel",IDCANCEL,65,57,50,14
  257. LTEXT "Usage Page:",IDC_STATIC,7,7,42,8
  258. LTEXT "",IDC_USAGE_PAGE,54,7,34,8
  259. LTEXT "Usages (hex):",IDC_STATIC,7,29,44,8
  260. EDITTEXT IDC_USAGE_LIST,54,26,124,13,ES_AUTOHSCROLL
  261. END
  262. IDD_UNSET_USAGES DIALOG DISCARDABLE 0, 0, 185, 79
  263. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  264. CAPTION "'Unset Usages"
  265. FONT 8, "MS Shell Dlg"
  266. BEGIN
  267. DEFPUSHBUTTON "OK",IDOK,128,57,50,14
  268. PUSHBUTTON "Cancel",IDCANCEL,65,57,50,14
  269. LTEXT "Usage Page:",IDC_STATIC,7,7,42,8
  270. LTEXT "",IDC_USAGE_PAGE,54,7,34,8
  271. LTEXT "Usages (hex):",IDC_STATIC,7,29,44,8
  272. EDITTEXT IDC_USAGE_LIST,54,26,124,13,ES_AUTOHSCROLL
  273. END
  274. IDD_SET_DATA DIALOG DISCARDABLE 0, 0, 188, 159
  275. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  276. CAPTION "Set Data"
  277. FONT 8, "MS Shell Dlg"
  278. BEGIN
  279. DEFPUSHBUTTON "OK",IDOK,131,137,50,14
  280. PUSHBUTTON "Cancel",IDCANCEL,65,137,50,14
  281. LTEXT "Value:",-1,30,33,21,8
  282. EDITTEXT IDC_VALUE,55,32,28,13,ES_AUTOHSCROLL
  283. LTEXT "Data Index:",-1,13,8,38,8
  284. EDITTEXT IDC_INDEX,55,6,28,14,ES_AUTOHSCROLL
  285. PUSHBUTTON "Add Data",IDC_ADD_DATA,19,58,63,15
  286. PUSHBUTTON "Remove Data",IDC_REMOVE_DATA,101,58,63,15
  287. LISTBOX IDC_DATA_LIST,7,85,174,49,LBS_NOINTEGRALHEIGHT |
  288. WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
  289. END
  290. IDD_SET_BUFFER_LENGTH DIALOG DISCARDABLE 0, 0, 170, 66
  291. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  292. CAPTION "Set Buffer Length"
  293. FONT 8, "MS Shell Dlg"
  294. BEGIN
  295. DEFPUSHBUTTON "OK",IDOK,113,44,50,14
  296. PUSHBUTTON "Cancel",IDCANCEL,51,44,50,14
  297. LTEXT "Data Buffer Length (in bytes):",IDC_STATIC,8,20,93,8
  298. EDITTEXT IDC_BUFFER_LENGTH,109,18,54,13,ES_AUTOHSCROLL
  299. END
  300. IDD_SET_INPUT_BUFFERS DIALOG DISCARDABLE 0, 0, 170, 79
  301. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  302. CAPTION "Set Number Input Buffers"
  303. FONT 8, "MS Shell Dlg"
  304. BEGIN
  305. DEFPUSHBUTTON "OK",IDOK,98,57,50,14
  306. PUSHBUTTON "Cancel",IDCANCEL,35,57,50,14
  307. LTEXT "Number Of Input Buffers:",IDC_STATIC,8,20,79,8
  308. EDITTEXT IDC_INPUT_BUFFERS,91,17,54,13,ES_AUTOHSCROLL
  309. END
  310. IDD_GET_INDEX_STRING DIALOG DISCARDABLE 0, 0, 170, 81
  311. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  312. CAPTION "Get Indexed String"
  313. FONT 8, "MS Shell Dlg"
  314. BEGIN
  315. DEFPUSHBUTTON "OK",IDOK,113,59,50,14
  316. PUSHBUTTON "Cancel",IDCANCEL,51,59,50,14
  317. LTEXT "Data Buffer Length (in bytes):",IDC_STATIC,8,33,93,8
  318. EDITTEXT IDC_BUFFER_LENGTH,109,31,54,13,ES_AUTOHSCROLL
  319. LTEXT "String Index:",IDC_STATIC,61,14,40,8
  320. EDITTEXT IDC_INDEX,109,13,39,12,ES_AUTOHSCROLL
  321. END
  322. IDD_SET_USAGES DIALOG DISCARDABLE 0, 0, 185, 79
  323. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  324. CAPTION "Set Usages"
  325. FONT 8, "MS Shell Dlg"
  326. BEGIN
  327. DEFPUSHBUTTON "OK",IDOK,128,57,50,14
  328. PUSHBUTTON "Cancel",IDCANCEL,65,57,50,14
  329. LTEXT "Usage Page:",IDC_STATIC,7,7,42,8
  330. LTEXT "",IDC_USAGE_PAGE,54,7,34,8
  331. LTEXT "Usages (hex):",IDC_STATIC,7,29,44,8
  332. EDITTEXT IDC_USAGE_LIST,54,26,124,13,ES_AUTOHSCROLL
  333. END
  334. IDD_GET_EXT_ATTRIB DIALOG DISCARDABLE 0, 0, 170, 81
  335. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  336. CAPTION "Get Extended Attributes"
  337. FONT 8, "MS Shell Dlg"
  338. BEGIN
  339. DEFPUSHBUTTON "OK",IDOK,113,59,50,14
  340. PUSHBUTTON "Cancel",IDCANCEL,51,59,50,14
  341. LTEXT "Data Buffer Length (in bytes):",IDC_STATIC,8,33,93,8
  342. EDITTEXT IDC_BUFFER_LENGTH,109,31,54,13,ES_AUTOHSCROLL
  343. LTEXT "Data Index:",IDC_STATIC,61,14,38,8
  344. EDITTEXT IDC_INDEX,109,13,39,12,ES_AUTOHSCROLL
  345. END