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.

434 lines
17 KiB

  1. LIBRARY COMCTL32
  2. ; DESCRIPTION is obsolete and gives the IA64 linker the heebie-jeebies
  3. ;DESCRIPTION 'Common Controls Library'
  4. #ifndef WINNT
  5. SECTIONS
  6. .bss READ WRITE SHARED ; initialized data
  7. .data READ WRITE SHARED ; these sections are merged
  8. #endif
  9. EXPORTS
  10. ;;
  11. ;; !!! READ THIS !!!
  12. ;;
  13. ;; Private exports listed by ordinal. Use this list to determine
  14. ;; what ordinals are available. The fewer the gaps, the smaller
  15. ;; the table. Keep this list up to date.
  16. ;;
  17. ;;
  18. ;; MenuHelp 2
  19. ;; ShowHideMenuCtl 3
  20. ;; GetEffectiveClientRect 4
  21. ;; DrawStatusTextA 5
  22. ;; CreateStatusWindowA 6
  23. ;; CreateToolbar 7
  24. ;; CreateMappedBitmap 8
  25. ;; DPA_LoadStream 9
  26. ;; DPA_SaveStream 10
  27. ;; DPA_Merge 11
  28. ;; <gap>
  29. ;; MakeDragList 13
  30. ;; LBItemFromPt 14
  31. ;; DrawInsert 15
  32. ;; CreateUpDownControl 16
  33. ;; InitCommonControls 17
  34. ;; <gap>
  35. ;; Alloc 71
  36. ;; ReAlloc 72
  37. ;; Free 73
  38. ;; GetSize 74
  39. ;; <gap>
  40. ;; CreateMRUListA 151
  41. ;; FreeMRUList 152
  42. ;; AddMRUStringA 153
  43. ;; EnumMRUListA 154
  44. ;; FindMRUStringA 155
  45. ;; DelMRUString 156
  46. ;; CreateMRUListLazyA 157
  47. ;; <gap>
  48. ;; CreatePage 163
  49. ;; CreateProxyPage 164
  50. ;; <gap>
  51. ;; AddMRUData 167
  52. ;; <gap>
  53. ;; FindMRUData 169
  54. ;; <gap>
  55. ;; Str_GetPtrA 233
  56. ;; Str_SetPtrA 234
  57. ;; Str_GetPtrW 235
  58. ;; Str_SetPtrW 236
  59. ;; <gap>
  60. ;; DSA_Create 320
  61. ;; DSA_Destroy 321
  62. ;; DSA_GetItem 322
  63. ;; DSA_GetItemPtr 323
  64. ;; DSA_InsertItem 324
  65. ;; DSA_SetItem 325
  66. ;; DSA_DeleteItem 326
  67. ;; DSA_DeleteAllItems 327
  68. ;; DPA_Create 328
  69. ;; DPA_Destroy 329
  70. ;; DPA_Grow 330
  71. ;; DPA_Clone 331
  72. ;; DPA_GetPtr 332
  73. ;; DPA_GetPtrIndex 333
  74. ;; DPA_InsertPtr 334
  75. ;; DPA_SetPtr 335
  76. ;; DPA_DeletePtr 336
  77. ;; DPA_DeleteAllPtrs 337
  78. ;; DPA_Sort 338
  79. ;; DPA_Search 339
  80. ;; DPA_CreateEx 340
  81. ;; SendNotify 341
  82. ;; SendNotifyEx 342
  83. ;; <gap>
  84. ;; StrChrA 350
  85. ;; StrRChrA 351
  86. ;; StrCmpNA 352
  87. ;; StrCmpNIA 353
  88. ;; StrStrA 354
  89. ;; StrStrIA 355
  90. ;; StrCSpnA 356
  91. ;; StrToIntA 357
  92. ;; StrChrW 358
  93. ;; StrRChrW 359
  94. ;; StrCmpNW 360
  95. ;; StrCmpNIW 361
  96. ;; StrStrW 362
  97. ;; StrStrIW 363
  98. ;; StrCSpnW 364
  99. ;; StrToIntW 365
  100. ;; StrChrIA 366
  101. ;; StrChrIW 367
  102. ;; StrRChrIA 368
  103. ;; StrRChrIW 369
  104. ;; <gap>
  105. ;; StrRStrIA 372
  106. ;; StrRStrIW 373
  107. ;; StrCSpnIA 374
  108. ;; StrCSpnIW 375
  109. ;; IntlStrEqWorkerA 376
  110. ;; IntlStrEqWorkerW 377
  111. ;; <gap>
  112. ;; SmoothScrollWindow 382
  113. ;; DoReaderMode 383
  114. ;; SetPathWordBreakProc 384
  115. ;; DPA_EnumCallback 385
  116. ;; DPA_DestroyCallback 386
  117. ;; DSA_EnumCallback 387
  118. ;; DSA_DestroyCallback 388
  119. ;; SHGetProcessDword 389
  120. ;; ImageList_SetColorTable 390
  121. ;; <gap>
  122. ;; CreateMRUListW 400
  123. ;; AddMRUStringW 401
  124. ;; FindMRUStringW 402
  125. ;; EnumMRUListW 403
  126. ;; CreateMRUListLazyW 404
  127. ;; SetWindowSubclass 410
  128. ;; GetWindowSubclass 411
  129. ;; RemoveWindowSubclass 412
  130. ;; DefSubclassProc 413
  131. ;; MirrorIcon 414
  132. ;; DrawTextWrap 415
  133. ;; DrawTextExPrivWrap 416
  134. ;; ExtTextOutWrap 417
  135. ;; GetCharWidthWrap 418
  136. ;; GetTextExtentPointWrap 419
  137. ;; GetTextExtentPoint32Wrap 420
  138. ;; TextOutWrap 421
  139. ;;=========================================================================
  140. ;; Win31 and NT 3.1 compatible APIs exported by ordinal
  141. ;;=========================================================================
  142. MenuHelp @2
  143. ShowHideMenuCtl @3
  144. GetEffectiveClientRect @4
  145. DrawStatusTextA @5
  146. CreateStatusWindowA @6
  147. CreateToolbar @7
  148. CreateMappedBitmap @8
  149. MakeDragList @13
  150. LBItemFromPt @14
  151. DrawInsert @15
  152. CreateUpDownControl @16
  153. InitCommonControls @17
  154. ;;=========================================================================
  155. ;; these are public APIs that are exported by name
  156. ;;=========================================================================
  157. InitCommonControlsEx
  158. CreateToolbarEx
  159. PropertySheetA
  160. CreatePropertySheetPageA
  161. DestroyPropertySheetPage
  162. DllGetVersion = CCDllGetVersion ULTRAPRIVATE
  163. DllInstall ULTRAPRIVATE
  164. _TrackMouseEvent
  165. ;;=========================================================================
  166. ;; Flat Window Scroll Bar APIs
  167. ;;=========================================================================
  168. FlatSB_SetScrollInfo
  169. FlatSB_SetScrollPos
  170. FlatSB_SetScrollRange
  171. FlatSB_SetScrollProp
  172. FlatSB_GetScrollInfo
  173. FlatSB_GetScrollPos
  174. FlatSB_GetScrollRange
  175. FlatSB_GetScrollProp
  176. #ifdef _WIN64
  177. FlatSB_GetScrollPropPtr
  178. #endif
  179. FlatSB_EnableScrollBar
  180. FlatSB_ShowScrollBar
  181. InitializeFlatSB
  182. UninitializeFlatSB
  183. ;;=========================================================================
  184. ;; ImageList APIs, so many they get a custom comment!
  185. ;;=========================================================================
  186. ImageList_LoadImageA
  187. ImageList_Create
  188. ImageList_SetFilter
  189. ImageList_Destroy
  190. ImageList_GetImageCount
  191. ImageList_SetImageCount
  192. ImageList_SetBkColor
  193. ImageList_GetBkColor
  194. ImageList_Add
  195. ImageList_AddIcon
  196. ImageList_Replace
  197. ImageList_ReplaceIcon
  198. ImageList_Remove
  199. ImageList_Copy
  200. ImageList_Draw
  201. ImageList_DrawEx
  202. ImageList_GetImageInfo
  203. ImageList_GetImageRect
  204. ImageList_Merge
  205. ImageList_Write
  206. ImageList_Read
  207. ImageList_GetIcon
  208. ImageList_AddMasked
  209. ImageList_GetIconSize
  210. ImageList_SetIconSize
  211. ImageList_SetOverlayImage
  212. ;;;;;;;;ImageList_StartDrag PRIVATE
  213. ImageList_DragShowNolock
  214. ImageList_BeginDrag
  215. ImageList_EndDrag
  216. ImageList_DragEnter
  217. ImageList_DragMove
  218. ImageList_DragLeave
  219. ImageList_GetDragImage
  220. ImageList_SetDragCursorImage
  221. ImageList_Duplicate
  222. ImageList_DrawIndirect
  223. ;; Even though these two are internal APIs, they must be exported
  224. ;; by name so Shell32 can detect whether or not they exist. If you
  225. ;; export them by ordinal, then the GetProcAddress will always succeed
  226. ;; and just return the wrong function (!) on downlevel.
  227. ImageList_SetFlags
  228. ImageList_GetFlags PRIVATE
  229. ;;=========================================================================
  230. ;; ANSI/UNICODE stuff
  231. ;;=========================================================================
  232. DrawStatusText = DrawStatusTextA
  233. CreateStatusWindow = CreateStatusWindowA
  234. PropertySheet = PropertySheetA
  235. CreatePropertySheetPage = CreatePropertySheetPageA
  236. ImageList_LoadImage = ImageList_LoadImageA
  237. DrawStatusTextW
  238. CreateStatusWindowW
  239. PropertySheetW
  240. CreatePropertySheetPageW
  241. ImageList_LoadImageW
  242. ;;=========================================================================
  243. ;; MUI functions
  244. ;;=========================================================================
  245. InitMUILanguage
  246. GetMUILanguage
  247. ;;=========================================================================
  248. ;; these are internal APIs
  249. ;; NOTE if you change these ordinals, you must change the ordinal defines
  250. ;; in commctrl.h, because COMDLG32 does GetProcAddress() on a few of these
  251. ;;=========================================================================
  252. #ifndef WINNT
  253. Cctl1632_ThunkData32 PRIVATE
  254. #ifdef EXPORT_BY_FORWARDERS_BY_NAME
  255. CreateMRUList = CreateMRUListA @151 NONAME PRIVATE
  256. AddMRUString = AddMRUStringA @153 NONAME PRIVATE
  257. EnumMRUList = EnumMRUListA @154 NONAME PRIVATE
  258. FindMRUString = FindMRUStringA @155 NONAME PRIVATE
  259. StrToInt = StrToIntA @357 NONAME PRIVATE
  260. StrChr = StrChrA @350 NONAME PRIVATE
  261. StrRChr = StrRChrA @351 NONAME PRIVATE
  262. StrStr = StrStrA @354 NONAME PRIVATE
  263. StrStrI = StrStrIA @355 NONAME PRIVATE
  264. Str_SetPtr = Str_SetPtrA @234 NONAME PRIVATE
  265. Str_GetPtr = Str_GetPtrA @233 NONAME PRIVATE
  266. StrCmpN = StrCmpNA @352 NONAME PRIVATE
  267. StrCmpNI = StrCmpNIA @353 NONAME PRIVATE
  268. StrCSpn = StrCSpnA @356 NONAME PRIVATE
  269. #endif
  270. #endif
  271. Alloc @71 NONAME PRIVATE
  272. ReAlloc @72 NONAME PRIVATE
  273. Free @73 NONAME PRIVATE
  274. GetSize @74 NONAME PRIVATE
  275. Str_GetPtrA @233 NONAME PRIVATE
  276. Str_SetPtrA @234 NONAME PRIVATE
  277. Str_GetPtrW @235 NONAME PRIVATE
  278. Str_SetPtrW @236
  279. CreateMRUListA @151 NONAME PRIVATE
  280. FreeMRUList @152
  281. AddMRUStringA @153 NONAME PRIVATE
  282. EnumMRUListA @154 NONAME PRIVATE
  283. FindMRUStringA @155 NONAME PRIVATE
  284. DelMRUString @156 NONAME PRIVATE
  285. CreateMRUListLazyA @157 NONAME PRIVATE
  286. CreateMRUListW @400
  287. AddMRUStringW @401
  288. FindMRUStringW @402 NONAME PRIVATE
  289. EnumMRUListW @403
  290. CreateMRUListLazyW @404 NONAME PRIVATE
  291. #ifndef UNIX
  292. CreatePage @163 NONAME PRIVATE
  293. CreateProxyPage @164 NONAME PRIVATE
  294. #endif
  295. AddMRUData @167 NONAME PRIVATE
  296. FindMRUData @169 NONAME PRIVATE
  297. DSA_Create @320
  298. DSA_Destroy @321
  299. DSA_GetItem @322 NONAME PRIVATE
  300. DSA_GetItemPtr @323
  301. DSA_InsertItem @324
  302. DSA_SetItem @325 NONAME PRIVATE
  303. DSA_DeleteItem @326 NONAME PRIVATE
  304. DSA_DeleteAllItems @327
  305. DPA_Create @328
  306. DPA_Destroy @329
  307. DPA_Grow @330 NONAME PRIVATE
  308. DPA_Clone @331 NONAME PRIVATE
  309. DPA_GetPtr @332
  310. DPA_GetPtrIndex @333 NONAME PRIVATE
  311. DPA_InsertPtr @334
  312. DPA_SetPtr @335
  313. DPA_DeletePtr @336
  314. DPA_DeleteAllPtrs @337
  315. DPA_Sort @338
  316. DPA_Search @339
  317. DPA_CreateEx @340 NONAME PRIVATE
  318. DPA_LoadStream @9 NONAME PRIVATE
  319. DPA_SaveStream @10 NONAME PRIVATE
  320. DPA_Merge @11 NONAME PRIVATE
  321. SendNotify @341 NONAME PRIVATE
  322. SendNotifyEx @342 NONAME PRIVATE
  323. ; those string things
  324. StrChrA @350 NONAME PRIVATE
  325. StrRChrA @351 NONAME PRIVATE
  326. StrCmpNA @352 NONAME PRIVATE
  327. StrCmpNIA @353 NONAME PRIVATE
  328. StrStrA @354 NONAME PRIVATE
  329. StrStrIA @355 NONAME PRIVATE
  330. StrCSpnA @356 NONAME PRIVATE
  331. StrToIntA @357 NONAME PRIVATE
  332. ; Unicode version of string functions
  333. StrChrW @358 NONAME PRIVATE
  334. StrRChrW @359 NONAME PRIVATE
  335. StrCmpNW @360 NONAME PRIVATE
  336. StrCmpNIW @361 NONAME PRIVATE
  337. StrStrW @362 NONAME PRIVATE
  338. StrStrIW @363 NONAME PRIVATE
  339. StrCSpnW @364 NONAME PRIVATE
  340. StrToIntW @365 NONAME PRIVATE
  341. StrChrIA @366 NONAME PRIVATE
  342. StrChrIW @367 NONAME PRIVATE
  343. StrRChrIA @368 NONAME PRIVATE
  344. StrRChrIW @369 NONAME PRIVATE
  345. StrRStrIA @372 NONAME PRIVATE
  346. StrRStrIW @373 NONAME PRIVATE
  347. StrCSpnIA @374 NONAME PRIVATE
  348. StrCSpnIW @375 NONAME PRIVATE
  349. IntlStrEqWorkerA @376 NONAME PRIVATE
  350. IntlStrEqWorkerW @377 NONAME PRIVATE
  351. ; APIs added after Win95
  352. SmoothScrollWindow @382 NONAME PRIVATE
  353. DoReaderMode @383 NONAME PRIVATE
  354. SetPathWordBreakProc @384 NONAME PRIVATE
  355. DPA_EnumCallback @385
  356. DPA_DestroyCallback @386
  357. DSA_EnumCallback @387 NONAME PRIVATE
  358. DSA_DestroyCallback @388
  359. ; For shdocvw to call Win95's private GetProcessDword
  360. SHGetProcessDword @389 NONAME PRIVATE
  361. ImageList_SetColorTable @390 NONAME PRIVATE
  362. ; Window subclassing functions
  363. SetWindowSubclass @410
  364. GetWindowSubclass @411 NONAME PRIVATE
  365. RemoveWindowSubclass @412
  366. DefSubclassProc @413
  367. ;
  368. ; This API is only used by BiDi Win98 platform
  369. ;
  370. MirrorIcon @414 NONAME PRIVATE
  371. #ifdef FONT_LINK
  372. ;
  373. ; Don't change these ordinal because it's used by SHLWAPI
  374. ;
  375. ; W version API wrappers with font link
  376. ;
  377. DrawTextWrap @415 NONAME PRIVATE
  378. DrawTextExPrivWrap @416 NONAME PRIVATE
  379. ExtTextOutWrap @417 NONAME PRIVATE
  380. GetCharWidthWrap @418 NONAME PRIVATE
  381. GetTextExtentPointWrap @419 NONAME PRIVATE
  382. GetTextExtentPoint32Wrap @420 NONAME PRIVATE
  383. TextOutWrap @421 NONAME PRIVATE
  384. #endif