Windows NT 4.0 source code leak
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.

300 lines
8.9 KiB

4 years ago
  1. // Microsoft Foundation Classes C++ library.
  2. // Copyright (C) 1992 Microsoft Corporation,
  3. // All rights reserved.
  4. // This source code is only intended as a supplement to the
  5. // Microsoft Foundation Classes Reference and Microsoft
  6. // QuickHelp and/or WinHelp documentation provided with the library.
  7. // See these sources for detailed information regarding the
  8. // Microsoft Foundation Classes product.
  9. // winres.h - Windows resource definitions
  10. // extracted from WINDOWS.H
  11. // Version 3.10
  12. // Copyright (c) 1985-1992, Microsoft Corp. All rights reserved.
  13. //
  14. #define VS_VERSION_INFO 1
  15. #ifdef APSTUDIO_INVOKED
  16. #define APSTUDIO_HIDDEN_SYMBOLS // Ignore following symbols
  17. #endif
  18. #define OBM_CLOSE 32754
  19. #define OBM_UPARROW 32753
  20. #define OBM_DNARROW 32752
  21. #define OBM_RGARROW 32751
  22. #define OBM_LFARROW 32750
  23. #define OBM_REDUCE 32749
  24. #define OBM_ZOOM 32748
  25. #define OBM_RESTORE 32747
  26. #define OBM_REDUCED 32746
  27. #define OBM_ZOOMD 32745
  28. #define OBM_RESTORED 32744
  29. #define OBM_UPARROWD 32743
  30. #define OBM_DNARROWD 32742
  31. #define OBM_RGARROWD 32741
  32. #define OBM_LFARROWD 32740
  33. #define OBM_MNARROW 32739
  34. #define OBM_COMBO 32738
  35. #define OBM_UPARROWI 32737
  36. #define OBM_DNARROWI 32736
  37. #define OBM_RGARROWI 32735
  38. #define OBM_LFARROWI 32734
  39. #define OBM_OLD_CLOSE 32767
  40. #define OBM_SIZE 32766
  41. #define OBM_OLD_UPARROW 32765
  42. #define OBM_OLD_DNARROW 32764
  43. #define OBM_OLD_RGARROW 32763
  44. #define OBM_OLD_LFARROW 32762
  45. #define OBM_BTSIZE 32761
  46. #define OBM_CHECK 32760
  47. #define OBM_CHECKBOXES 32759
  48. #define OBM_BTNCORNERS 32758
  49. #define OBM_OLD_REDUCE 32757
  50. #define OBM_OLD_ZOOM 32756
  51. #define OBM_OLD_RESTORE 32755
  52. #define OCR_NORMAL 32512
  53. #define OCR_IBEAM 32513
  54. #define OCR_WAIT 32514
  55. #define OCR_CROSS 32515
  56. #define OCR_UP 32516
  57. #define OCR_SIZE 32640
  58. #define OCR_ICON 32641
  59. #define OCR_SIZENWSE 32642
  60. #define OCR_SIZENESW 32643
  61. #define OCR_SIZEWE 32644
  62. #define OCR_SIZENS 32645
  63. #define OCR_SIZEALL 32646
  64. #define OCR_ICOCUR 32647
  65. #define OIC_SAMPLE 32512
  66. #define OIC_HAND 32513
  67. #define OIC_QUES 32514
  68. #define OIC_BANG 32515
  69. #define OIC_NOTE 32516
  70. #define WS_OVERLAPPED 0x00000000L
  71. #define WS_POPUP 0x80000000L
  72. #define WS_CHILD 0x40000000L
  73. #define WS_CLIPSIBLINGS 0x04000000L
  74. #define WS_CLIPCHILDREN 0x02000000L
  75. #define WS_VISIBLE 0x10000000L
  76. #define WS_DISABLED 0x08000000L
  77. #define WS_MINIMIZE 0x20000000L
  78. #define WS_MAXIMIZE 0x01000000L
  79. #define WS_CAPTION 0x00C00000L
  80. #define WS_BORDER 0x00800000L
  81. #define WS_DLGFRAME 0x00400000L
  82. #define WS_VSCROLL 0x00200000L
  83. #define WS_HSCROLL 0x00100000L
  84. #define WS_SYSMENU 0x00080000L
  85. #define WS_THICKFRAME 0x00040000L
  86. #define WS_MINIMIZEBOX 0x00020000L
  87. #define WS_MAXIMIZEBOX 0x00010000L
  88. #define WS_GROUP 0x00020000L
  89. #define WS_TABSTOP 0x00010000L
  90. // other aliases
  91. #define WS_OVERLAPPEDWINDOW (WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX)
  92. #define WS_POPUPWINDOW (WS_POPUP | WS_BORDER | WS_SYSMENU)
  93. #define WS_CHILDWINDOW (WS_CHILD)
  94. #define WS_TILED WS_OVERLAPPED
  95. #define WS_ICONIC WS_MINIMIZE
  96. #define WS_SIZEBOX WS_THICKFRAME
  97. #define WS_TILEDWINDOW WS_OVERLAPPEDWINDOW
  98. #define VK_LBUTTON 0x01
  99. #define VK_RBUTTON 0x02
  100. #define VK_CANCEL 0x03
  101. #define VK_MBUTTON 0x04
  102. #define VK_BACK 0x08
  103. #define VK_TAB 0x09
  104. #define VK_CLEAR 0x0C
  105. #define VK_RETURN 0x0D
  106. #define VK_SHIFT 0x10
  107. #define VK_CONTROL 0x11
  108. #define VK_MENU 0x12
  109. #define VK_PAUSE 0x13
  110. #define VK_CAPITAL 0x14
  111. #define VK_ESCAPE 0x1B
  112. #define VK_SPACE 0x20
  113. #define VK_PRIOR 0x21
  114. #define VK_NEXT 0x22
  115. #define VK_END 0x23
  116. #define VK_HOME 0x24
  117. #define VK_LEFT 0x25
  118. #define VK_UP 0x26
  119. #define VK_RIGHT 0x27
  120. #define VK_DOWN 0x28
  121. #define VK_SELECT 0x29
  122. #define VK_PRINT 0x2A
  123. #define VK_EXECUTE 0x2B
  124. #define VK_SNAPSHOT 0x2C
  125. #define VK_INSERT 0x2D
  126. #define VK_DELETE 0x2E
  127. #define VK_HELP 0x2F
  128. #define VK_NUMPAD0 0x60
  129. #define VK_NUMPAD1 0x61
  130. #define VK_NUMPAD2 0x62
  131. #define VK_NUMPAD3 0x63
  132. #define VK_NUMPAD4 0x64
  133. #define VK_NUMPAD5 0x65
  134. #define VK_NUMPAD6 0x66
  135. #define VK_NUMPAD7 0x67
  136. #define VK_NUMPAD8 0x68
  137. #define VK_NUMPAD9 0x69
  138. #define VK_MULTIPLY 0x6A
  139. #define VK_ADD 0x6B
  140. #define VK_SEPARATOR 0x6C
  141. #define VK_SUBTRACT 0x6D
  142. #define VK_DECIMAL 0x6E
  143. #define VK_DIVIDE 0x6F
  144. #define VK_F1 0x70
  145. #define VK_F2 0x71
  146. #define VK_F3 0x72
  147. #define VK_F4 0x73
  148. #define VK_F5 0x74
  149. #define VK_F6 0x75
  150. #define VK_F7 0x76
  151. #define VK_F8 0x77
  152. #define VK_F9 0x78
  153. #define VK_F10 0x79
  154. #define VK_F11 0x7A
  155. #define VK_F12 0x7B
  156. #define VK_F13 0x7C
  157. #define VK_F14 0x7D
  158. #define VK_F15 0x7E
  159. #define VK_F16 0x7F
  160. #define VK_F17 0x80
  161. #define VK_F18 0x81
  162. #define VK_F19 0x82
  163. #define VK_F20 0x83
  164. #define VK_F21 0x84
  165. #define VK_F22 0x85
  166. #define VK_F23 0x86
  167. #define VK_F24 0x87
  168. #define VK_NUMLOCK 0x90
  169. #define VK_SCROLL 0x91
  170. #define SC_SIZE 0xF000
  171. #define SC_MOVE 0xF010
  172. #define SC_MINIMIZE 0xF020
  173. #define SC_MAXIMIZE 0xF030
  174. #define SC_NEXTWINDOW 0xF040
  175. #define SC_PREVWINDOW 0xF050
  176. #define SC_CLOSE 0xF060
  177. #define SC_VSCROLL 0xF070
  178. #define SC_HSCROLL 0xF080
  179. #define SC_MOUSEMENU 0xF090
  180. #define SC_KEYMENU 0xF100
  181. #define SC_ARRANGE 0xF110
  182. #define SC_RESTORE 0xF120
  183. #define SC_TASKLIST 0xF130
  184. #define SC_SCREENSAVE 0xF140
  185. #define SC_HOTKEY 0xF150
  186. #define DS_ABSALIGN 0x01L
  187. #define DS_SYSMODAL 0x02L
  188. #define DS_LOCALEDIT 0x20L
  189. #define DS_SETFONT 0x40L
  190. #define DS_MODALFRAME 0x80L
  191. #define DS_NOIDLEMSG 0x100L
  192. #ifdef _MAC
  193. #define DS_WINDOWSUI 0x8000L
  194. #endif
  195. #define SS_LEFT 0x00000000L
  196. #define SS_CENTER 0x00000001L
  197. #define SS_RIGHT 0x00000002L
  198. #define SS_ICON 0x00000003L
  199. #define SS_BLACKRECT 0x00000004L
  200. #define SS_GRAYRECT 0x00000005L
  201. #define SS_WHITERECT 0x00000006L
  202. #define SS_BLACKFRAME 0x00000007L
  203. #define SS_GRAYFRAME 0x00000008L
  204. #define SS_WHITEFRAME 0x00000009L
  205. #define SS_SIMPLE 0x0000000BL
  206. #define SS_LEFTNOWORDWRAP 0x0000000CL
  207. #define SS_NOPREFIX 0x00000080L
  208. #define BS_PUSHBUTTON 0x00000000L
  209. #define BS_DEFPUSHBUTTON 0x00000001L
  210. #define BS_CHECKBOX 0x00000002L
  211. #define BS_AUTOCHECKBOX 0x00000003L
  212. #define BS_RADIOBUTTON 0x00000004L
  213. #define BS_3STATE 0x00000005L
  214. #define BS_AUTO3STATE 0x00000006L
  215. #define BS_GROUPBOX 0x00000007L
  216. #define BS_USERBUTTON 0x00000008L
  217. #define BS_AUTORADIOBUTTON 0x00000009L
  218. #define BS_OWNERDRAW 0x0000000BL
  219. #define BS_LEFTTEXT 0x00000020L
  220. #define ES_LEFT 0x00000000L
  221. #define ES_CENTER 0x00000001L
  222. #define ES_RIGHT 0x00000002L
  223. #define ES_MULTILINE 0x00000004L
  224. #define ES_UPPERCASE 0x00000008L
  225. #define ES_LOWERCASE 0x00000010L
  226. #define ES_PASSWORD 0x00000020L
  227. #define ES_AUTOVSCROLL 0x00000040L
  228. #define ES_AUTOHSCROLL 0x00000080L
  229. #define ES_NOHIDESEL 0x00000100L
  230. #define ES_OEMCONVERT 0x00000400L
  231. #define ES_READONLY 0x00000800L
  232. #define ES_WANTRETURN 0x00001000L
  233. #define SBS_HORZ 0x0000L
  234. #define SBS_VERT 0x0001L
  235. #define SBS_TOPALIGN 0x0002L
  236. #define SBS_LEFTALIGN 0x0002L
  237. #define SBS_BOTTOMALIGN 0x0004L
  238. #define SBS_RIGHTALIGN 0x0004L
  239. #define SBS_SIZEBOXTOPLEFTALIGN 0x0002L
  240. #define SBS_SIZEBOXBOTTOMRIGHTALIGN 0x0004L
  241. #define SBS_SIZEBOX 0x0008L
  242. #define LBS_NOTIFY 0x0001L
  243. #define LBS_SORT 0x0002L
  244. #define LBS_NOREDRAW 0x0004L
  245. #define LBS_MULTIPLESEL 0x0008L
  246. #define LBS_OWNERDRAWFIXED 0x0010L
  247. #define LBS_OWNERDRAWVARIABLE 0x0020L
  248. #define LBS_HASSTRINGS 0x0040L
  249. #define LBS_USETABSTOPS 0x0080L
  250. #define LBS_NOINTEGRALHEIGHT 0x0100L
  251. #define LBS_MULTICOLUMN 0x0200L
  252. #define LBS_WANTKEYBOARDINPUT 0x0400L
  253. #define LBS_EXTENDEDSEL 0x0800L
  254. #define LBS_DISABLENOSCROLL 0x1000L
  255. #define LBS_STANDARD (LBS_NOTIFY | LBS_SORT | WS_VSCROLL | WS_BORDER)
  256. #define CBS_SIMPLE 0x0001L
  257. #define CBS_DROPDOWN 0x0002L
  258. #define CBS_DROPDOWNLIST 0x0003L
  259. #define CBS_OWNERDRAWFIXED 0x0010L
  260. #define CBS_OWNERDRAWVARIABLE 0x0020L
  261. #define CBS_AUTOHSCROLL 0x0040L
  262. #define CBS_OEMCONVERT 0x0080L
  263. #define CBS_SORT 0x0100L
  264. #define CBS_HASSTRINGS 0x0200L
  265. #define CBS_NOINTEGRALHEIGHT 0x0400L
  266. #define CBS_DISABLENOSCROLL 0x0800L
  267. // operation messages sent to DLGINIT
  268. #define WM_USER 0x0400
  269. #define LB_ADDSTRING (WM_USER+1)
  270. #define CB_ADDSTRING (WM_USER+3)
  271. #ifdef APSTUDIO_INVOKED
  272. #undef APSTUDIO_HIDDEN_SYMBOLS
  273. #endif
  274. #define IDOK 1
  275. #define IDCANCEL 2
  276. #define IDABORT 3
  277. #define IDRETRY 4
  278. #define IDIGNORE 5
  279. #define IDYES 6
  280. #define IDNO 7