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.

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