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.

221 lines
7.5 KiB

  1. // FILE: DTRC.H
  2. // Include file for DT tool resource identifiers
  3. //
  4. #define IDC_NV_TEXT 0xf000
  5. #define IDC_SINGULAR 0xf001
  6. #define IDC_STATIC -1
  7. //
  8. // HID menu identifiers
  9. //
  10. #define IDM_MAIN_MENU 9000
  11. #define IDM_OPEN 9001
  12. #define IDM_SAVE 9002
  13. #define IDM_PRINT 9003
  14. #define IDM_EXIT 9004
  15. #define IDM_COPY 9005
  16. #define IDM_PARSE 9006
  17. //
  18. // HID dialog IDs
  19. //
  20. #define IDD_EDITBOX 101
  21. #define IDD_USAGEPAGE 102
  22. #define IDD_INPUT 103
  23. #define IDD_OUTPUT 104
  24. #define IDD_COLLECTION 105
  25. #define IDD_UNIT 106
  26. #define IDD_EXPONENT 107
  27. #define IDD_SETDELIMITER 108
  28. #define IDD_PARSE 109
  29. //
  30. // Ensure that the high order word is 0 so that we can use this
  31. // directly in calls to FindResource()
  32. #define IDD_SENDDATA 0x0000006C
  33. //
  34. // ID for EditBox dialog proc edit field
  35. //
  36. #define IDC_EDIT1 1000
  37. //
  38. // ID for Usage dialog proc list box
  39. #define IDC_LIST1 1002
  40. //
  41. // ID for the edit box in the Parse dialog
  42. //
  43. #define IDC_PARSEEDIT 1003
  44. //
  45. // ID's for base radio buttons
  46. #define IDC_BASE10 1091
  47. #define IDC_BASE16 1092
  48. //
  49. // IDs for Collection Dialog
  50. //
  51. #define IDC_LINKED 1019
  52. #define IDC_APPLICATION 1020
  53. #define IDC_DATALINK 1021
  54. //
  55. // IDs for Input, output and Feature dialog proc's
  56. //
  57. // ID-0x1000 = bit mask for setting (OR)
  58. #define IDC_CONST 0x1001
  59. #define IDC_VARIABLE 0x1002
  60. #define IDC_RELATIVE 0x1004
  61. #define IDC_WRAP 0x1008
  62. #define IDC_NONLINEAR 0x1010
  63. #define IDC_NOPREF 0x1020
  64. #define IDC_NONULL 0x1040
  65. #define IDC_VOL 0x1080
  66. #define IDC_BUFFERED 0x1100
  67. // ID-0x1000 = bit mask for clearing (AND)
  68. #define IDC_BITFIELD 0x1EFF
  69. #define IDC_NONVOL 0x1FBF
  70. #define IDC_NULL 0x1FCF
  71. #define IDC_PREFSTATE 0x1FDF
  72. #define IDC_LINEAR 0x1FEF
  73. #define IDC_NOWRAP 0x1FFB
  74. #define IDC_ABSOLUTE 0x1FFC
  75. #define IDC_ARRAY 0x1FFD
  76. #define IDC_DATA 0x1FFE
  77. //
  78. // ID's for the Unit dialog proc
  79. //
  80. // System nibble
  81. // ID-0x2000 = lo byte lo nibble value
  82. #define IDC_SYSNONE 0x2000
  83. #define IDC_SILIN 0x2001
  84. #define IDC_SIROT 0x2002
  85. #define IDC_ENGLIN 0x2003
  86. #define IDC_ENGROT 0x2004
  87. #define IDC_ELECTRIC 0x2005
  88. #define IDC_TEMP 0x2006
  89. #define IDC_LUMINOSITY 0x2007
  90. #define IDC_TBD 0x2008
  91. #define IDC_VENDOR 0x2009
  92. #define IDC_TBD1 0x200A
  93. #define IDC_TBD2 0x200B
  94. #define IDC_TBD3 0x200C
  95. #define IDC_TBD4 0x200D
  96. #define IDC_TBD5 0x200E
  97. #define IDC_TBD6 0x200F
  98. // Length nibble
  99. // (ID-0x3000)<<4 = lo byte hi nibble
  100. #define IDC_ZERO1 0x3000
  101. #define IDC_ONE1 0x3001
  102. #define IDC_TWO1 0x3002
  103. #define IDC_THREE1 0x3003
  104. #define IDC_FOUR1 0x3004
  105. #define IDC_FIVE1 0x3005
  106. #define IDC_SIX1 0x3006
  107. #define IDC_SEVEN1 0x3007
  108. #define IDC_NEGEIGHT1 0x3008
  109. #define IDC_NEGSEVEN1 0x3009
  110. #define IDC_NEGSIX1 0x300A
  111. #define IDC_NEGFIVE1 0x300B
  112. #define IDC_NEGFOUR1 0x300C
  113. #define IDC_NEGTHREE1 0x300D
  114. #define IDC_NEGTWO1 0x300E
  115. #define IDC_NEGONE1 0x300F
  116. // Mass nibble
  117. // (ID-0x4000)<<8 = hi byte lo nibble
  118. #define IDC_ZERO2 0x4000
  119. #define IDC_ONE2 0x4001
  120. #define IDC_TWO2 0x4002
  121. #define IDC_THREE2 0x4003
  122. #define IDC_FOUR2 0x4004
  123. #define IDC_FIVE2 0x4005
  124. #define IDC_SIX2 0x4006
  125. #define IDC_SEVEN2 0x4007
  126. #define IDC_NEGEIGHT2 0x4008
  127. #define IDC_NEGSEVEN2 0x4009
  128. #define IDC_NEGSIX2 0x400A
  129. #define IDC_NEGFIVE2 0x400B
  130. #define IDC_NEGFOUR2 0x400C
  131. #define IDC_NEGTHREE2 0x400D
  132. #define IDC_NEGTWO2 0x400E
  133. #define IDC_NEGONE2 0x400F
  134. // Time nibble
  135. // (ID-0x5000)<<12 = hi byte hi nibble
  136. #define IDC_ZERO3 0x5000
  137. #define IDC_ONE3 0x5001
  138. #define IDC_TWO3 0x5002
  139. #define IDC_THREE3 0x5003
  140. #define IDC_FOUR3 0x5004
  141. #define IDC_FIVE3 0x5005
  142. #define IDC_SIX3 0x5006
  143. #define IDC_SEVEN3 0x5007
  144. #define IDC_NEGEIGHT3 0x5008
  145. #define IDC_NEGSEVEN3 0x5009
  146. #define IDC_NEGSIX3 0x500A
  147. #define IDC_NEGFIVE3 0x500B
  148. #define IDC_NEGFOUR3 0x500C
  149. #define IDC_NEGTHREE3 0x500D
  150. #define IDC_NEGTWO3 0x500E
  151. #define IDC_NEGONE3 0x500F
  152. //
  153. //Exponent dialog ID's
  154. //
  155. // ID-0x4000 = value
  156. #define IDC_ZERO 0x4000
  157. #define IDC_ONE 0x4001
  158. #define IDC_TWO 0x4002
  159. #define IDC_THREE 0x4003
  160. #define IDC_FOUR 0x4004
  161. #define IDC_FIVE 0x4005
  162. #define IDC_SIX 0x4006
  163. #define IDC_SEVEN 0x4007
  164. #define IDC_NEGEIGHT 0x4008
  165. #define IDC_NEGSEVEN 0x4009
  166. #define IDC_NEGSIX 0x400A
  167. #define IDC_NEGFIVE 0x400B
  168. #define IDC_NEGFOUR 0x400C
  169. #define IDC_NEGTHREE 0x400D
  170. #define IDC_NEGTWO 0x400E
  171. #define IDC_NEGONE 0x400F
  172. //
  173. // ID's for the SETDELIMITER dialog box
  174. #define IDC_DELIMITOPEN 0x5000
  175. #define IDC_DELIMITCLOSE 0x5001
  176. //
  177. // Send Data Dialog ID's
  178. //
  179. #define IDC_BYTE0 0x1000
  180. #define IDC_BYTE1 0x1001
  181. #define IDC_BYTE2 0x1002
  182. #define IDC_BYTE3 0x1003
  183. #define IDC_BYTE4 0x1004
  184. #define IDC_BYTE5 0x1005
  185. #define IDC_BYTE6 0x1006
  186. #define IDC_BYTE7 0x1007
  187. #define IDC_BYTE8 0x1008
  188. #define IDC_BYTE9 0x1009
  189. #define IDC_BYTESLIDER 0x100A
  190. #define IDC_NUMBYTES 0x100B
  191. #define IDC_SEND 0x100C
  192. #define IDC_KILL 0x100D
  193. #define IDC_GETDATA 0x100E
  194. #define IDC_GETDATA_TEXT 0x100F