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.

450 lines
19 KiB

  1. ;
  2. ; This def file is for reference only. It is the def file
  3. ; of the SHELL32 shipped in Win95.
  4. ;
  5. ;
  6. LIBRARY SHELL32
  7. DESCRIPTION 'Windows Shell (32bit) Library'
  8. SECTIONS
  9. .bss READ WRITE SHARED ; initialized data
  10. .data READ WRITE SHARED ; global data (opposite of normal)
  11. .idata READ WRITE ; import tables
  12. INSTDATA READ WRITE ; instance data
  13. .rsrc READ SHARED ; resources
  14. EXPORTS
  15. ;========================================================
  16. ; Public exports
  17. ;
  18. ; Must be named
  19. ; SHould not have any ordinals
  20. ; Must NOT be marked internal
  21. ;========================================================
  22. ; Win 3.1 Drag API
  23. DragAcceptFiles ;public
  24. DragFinish ;public
  25. DragQueryPoint ;public
  26. DragQueryFileA ;public
  27. DragQueryFile=DragQueryFileA ;public
  28. ;
  29. ; Copied from NT shell32.def
  30. ;
  31. ShellExecuteA
  32. FindExecutableA
  33. ShellAboutA
  34. FreeIconList
  35. DoEnvironmentSubstA
  36. ExtractIconA
  37. ExtractAssociatedIconA
  38. ;InternalExtractIconA
  39. ;
  40. ; Win32 (NT) APIs we dont support (see shlunimp.c)
  41. ;
  42. SheGetCurDrive
  43. SheSetCurDrive
  44. DuplicateIcon
  45. CheckEscapesA
  46. CheckEscapesW
  47. DragQueryFileAorW
  48. ;
  49. ; Win32 (NT) ANSI APIs we dont support (see shlunimp.c)
  50. ;
  51. SheChangeDirA
  52. SheFullPathA
  53. SheGetDirA
  54. RealShellExecuteA
  55. RealShellExecuteExA
  56. RegenerateUserEnvironment
  57. ;
  58. ; Win32 (NT) UNICODE APIs we dont support (see shlunimp.c)
  59. ;
  60. SheChangeDirW
  61. SheFullPathW
  62. SheGetDirW
  63. RealShellExecuteW
  64. RealShellExecuteExW
  65. ShellExecuteW
  66. FindExecutableW
  67. ShellAboutW
  68. ExtractAssociatedIconW
  69. ExtractAssociatedIconExA
  70. ExtractAssociatedIconExW
  71. ExtractIconW
  72. ExtractIconResInfoA
  73. ExtractIconResInfoW
  74. DragQueryFileW
  75. ;InternalExtractIconW
  76. InternalExtractIconListA
  77. InternalExtractIconListW
  78. DoEnvironmentSubstW
  79. ;FindEnvironmentStringW
  80. ExtractVersionResource16W
  81. ;
  82. ; More Win32 (NT) UNICODE APIs they don't support - John Vert (jvert) 15-Oct-1994
  83. ;
  84. SheGetDirExW
  85. SheChangeDirExW
  86. SheGetPathOffsetW
  87. ;
  88. ; Forward all of these old string functions over to COMCTL32.DLL
  89. ;
  90. StrChrA = COMCTL32.StrChrA
  91. StrRChrA = COMCTL32.StrRChrA
  92. StrChrIA = COMCTL32.StrChrIA
  93. StrRChrIA = COMCTL32.StrRChrIA
  94. StrCmpNA = COMCTL32.StrCmpNA
  95. StrCmpNIA = COMCTL32.StrCmpNIA
  96. StrCpyNA = COMCTL32.StrCpyNA
  97. StrNCmpA = COMCTL32.StrNCmpA
  98. StrNCmpIA = COMCTL32.StrNCpyIA
  99. StrNCpyA = COMCTL32.StrNCpyA
  100. StrStrA = COMCTL32.StrStrA
  101. StrRStrA = COMCTL32.StrRStrA
  102. StrStrIA = COMCTL32.StrStrIA
  103. StrRStrIA = COMCTL32.StrRStrIA
  104. StrChrW = COMCTL32.StrChrW
  105. StrRChrW = COMCTL32.StrRChrW
  106. StrChrIW = COMCTL32.StrChrIW
  107. StrRChrIW = COMCTL32.StrRChrIW
  108. StrCmpNW = COMCTL32.StrCmpNW
  109. StrCmpNIW = COMCTL32.StrCmpNIW
  110. StrCpyNW = COMCTL32.StrCpyNW
  111. StrNCmpW = COMCTL32.StrNCmpW
  112. StrNCmpIW = COMCTL32.StrNCpyIW
  113. StrNCpyW = COMCTL32.StrNCpyW
  114. StrStrW = COMCTL32.StrStrW
  115. StrRStrW = COMCTL32.StrRStrW
  116. StrStrIW = COMCTL32.StrStrIW
  117. StrRStrIW = COMCTL32.StrRStrIW
  118. ; speed up winfile, bypass old IsCharAlpha fcn
  119. SheChangeDirExA
  120. ; export RemoveQuotes since it's already here and we can save space in pm/tm
  121. SheRemoveQuotesA
  122. SheRemoveQuotesW
  123. SheConvertPathW
  124. SheShortenPathA
  125. SheShortenPathW
  126. CommandLineToArgvW
  127. ;
  128. ; new Chicago APIs
  129. ;
  130. ExtractIconEx ;public
  131. SHGetFileInfo ;public
  132. SHLoadInProc ;public
  133. SHGetInstanceExplorer ;public
  134. ShellExecuteEx ;Public
  135. SHAddToRecentDocs ;public
  136. SHGetDataFromIDListA
  137. SHGetMalloc
  138. SHGetDesktopFolder
  139. SHChangeNotify
  140. SHGetSpecialFolderLocation
  141. Shell_NotifyIcon
  142. SHGetPathFromIDList
  143. SHBrowseForFolder
  144. SHFileOperation
  145. SHFreeNameMappings
  146. SHAppBarMessage
  147. SHFormatDrive
  148. ;
  149. ; Ansi mapping in-order to run Ansi apps compiled on NT
  150. ;
  151. ExtractIconExA = ExtractIconEx
  152. SHGetFileInfoA = SHGetFileInfo
  153. ShellExecuteExA = ShellExecuteEx
  154. Shell_NotifyIconA = Shell_NotifyIcon
  155. SHGetPathFromIDListA = SHGetPathFromIDList
  156. SHBrowseForFolderA = SHBrowseForFolder
  157. SHFileOperationA = SHFileOperation
  158. ;========================================================
  159. ; Exports to be GetProcAddressed.
  160. ; Must be named
  161. ; Should not have any ordinals
  162. ; Must be marked internal
  163. ; Should be marked PRIVATE so then dont end up in SHELL32.LIB
  164. ;========================================================
  165. ; To be In-Proc server DLL
  166. DllGetClassObject PRIVATE ;internal
  167. ; For the thunk of it.
  168. Shl3216_ThunkData32 PRIVATE ;Internal
  169. Shl1632_ThunkData32 PRIVATE ;Internal
  170. ; To be called from RUNDLL32.EXE
  171. Control_RunDLL ;Internal
  172. Control_FillCache_RunDLL ;Internal
  173. OpenAs_RunDLL ;Internal
  174. PrintersGetCommand_RunDLL ;Internal
  175. SHHelpShortcuts_RunDLL ;Internal
  176. ;========================================================
  177. ; private exports
  178. ; Should NOT be named
  179. ; Should have ordinals
  180. ; Must be marked internal
  181. ;========================================================
  182. ;========================================================
  183. ; PIFMGR thunks
  184. ;========================================================
  185. PifMgr_OpenProperties @9 NONAME ;Internal
  186. PifMgr_GetProperties @10 NONAME ;Internal
  187. PifMgr_SetProperties @11 NONAME ;Internal
  188. PifMgr_CloseProperties @13 NONAME ;Internal
  189. ;========================================================
  190. ;========================================================
  191. ; name space notification
  192. ; Make sure to keep SHChangeNotifyRegisterORD updated in shlobj.h
  193. SHChangeNotifyRegister @2 NONAME ;Internal
  194. ; Make sure to keep SHChangeNotifyDeregisterORD updated in shlobj.h
  195. SHChangeNotifyDeregister @4 NONAME ;Internal
  196. SHChangeNotifyUpdateEntryList @5 NONAME ;Internal
  197. ; Reserved up to @8 NONAME
  198. ILGetSize @152 NONAME ;Internal
  199. ILGetNext @153 NONAME ;Internal
  200. ILAppendID @154 NONAME ;Internal
  201. ILFree @155 NONAME ;Internal
  202. ILGlobalFree @156 NONAME ;Internal
  203. ILCreateFromPath @157 NONAME ;Internal
  204. ILGetDisplayName @15 NONAME ;Internal
  205. ILFindLastID @16 NONAME ;Internal
  206. ILRemoveLastID @17 NONAME ;Internal
  207. ILClone @18 NONAME ;Internal
  208. ILCloneFirst @19 NONAME ;Internal
  209. ILGlobalClone @20 NONAME ;Internal
  210. ILIsEqual @21 NONAME ;Internal
  211. ILIsParent @23 NONAME ;Internal
  212. ILFindChild @24 NONAME ;Internal
  213. ILCombine @25 NONAME ;Internal
  214. ILLoadFromStream @26 NONAME ;Internal
  215. ILSaveToStream @27 NONAME ;Internal
  216. SHILCreateFromPath @28 NONAME ;Internal
  217. ; Path parsing stuff
  218. PathIsRoot @29 NONAME ;Internal
  219. PathBuildRoot @30 NONAME ;Internal
  220. PathFindExtension @31 NONAME ;Internal
  221. PathAddBackslash @32 NONAME ;Internal
  222. ; Ordinal #define'd in SHSEMIP.H
  223. PathRemoveBlanks @33 NONAME ;Internal
  224. ; Ordinal #define'd in SHSEMIP.H
  225. PathFindFileName @34 NONAME ;Internal
  226. PathRemoveFileSpec @35 NONAME ;Internal
  227. PathAppend @36 NONAME ;Internal
  228. PathCombine @37 NONAME ;Internal
  229. PathIsUNC @39 NONAME ;Internal
  230. PathIsRelative @40 NONAME ;Internal
  231. ; Ordinal #define'd in SHSEMIP.H
  232. PathGetExtension @158 NONAME ;Internal
  233. PathIsDirectory @159 NONAME ;Internal
  234. PathIsExe @43 NONAME ;Internal
  235. PathFileExists @45 NONAME ;Internal
  236. PathMatchSpec @46 NONAME ;Internal
  237. PathMakeUniqueName @47 NONAME ;Internal
  238. PathSetDlgItemPath @48 NONAME ;Internal
  239. PathQualify @49 NONAME ;Internal
  240. PathResolve @51 NONAME ;Internal
  241. PathCleanupSpec @171 NONAME ;Internal
  242. PathGetArgs @52 NONAME ;Internal
  243. PathQuoteSpaces @55 NONAME ;Internal
  244. PathUnquoteSpaces @56 NONAME ;Internal
  245. PathGetDriveNumber @57 NONAME ;Internal
  246. ; MISC function
  247. ParseField @58 NONAME ;Internal
  248. RestartDialog @59 NONAME ;Internal
  249. ExitWindowsDialog @60 NONAME ;Internal
  250. RunFileDlg @61 NONAME ;Internal
  251. PickIconDlg @62 NONAME ;Internal
  252. GetFileNameFromBrowse @63 NONAME ;Internal
  253. ; Drive type
  254. DriveType @64 NONAME ;Internal
  255. InvalidateDriveType @65 NONAME ;Internal
  256. IsNetDrive @66 NONAME ;Internal
  257. Shell_MergeMenus @67 NONAME ;Internal
  258. SHGetSetSettings @68 NONAME ;Internal
  259. SHGetNetResource @69 NONAME ;Internal
  260. SHCreateDefClassObject @70 NONAME ;Internal
  261. SHObjectProperties @178 NONAME ;Internal
  262. ;========================================================
  263. ; Private exports
  264. ;========================================================
  265. Shell_GetImageLists @71 NONAME ;Internal
  266. Shell_GetCachedImageIndex @72 NONAME ;Internal
  267. SHShellFolderView_Message @73 NONAME ;Internal
  268. SHCreateStdEnumFmtEtc @74 NONAME ;Internal
  269. PathYetAnotherMakeUniqueName @75 NONAME ;Internal
  270. SHMapPIDLToSystemImageListIndex @77 NONAME ;Internal
  271. OleStrToStrN @78 NONAME ;Internal
  272. StrToOleStrN @79 NONAME ;Internal
  273. SHAddPages16 @81 NONAME ;Internal
  274. CIDLData_CreateFromIDArray @83 NONAME ;Internal
  275. SHIsBadInterfacePtr @84 NONAME ;Internal
  276. OpenRegStream @85 NONAME ;Internal
  277. SHRegisterDragDrop @86 NONAME ;Internal
  278. SHRevokeDragDrop @87 NONAME ;Internal
  279. SHDoDragDrop @88 NONAME ;Internal
  280. SHFlushClipboard @121 NONAME ;Internal
  281. SHFreeUnusedLibraries @123 NONAME ;Internal
  282. SHCloneSpecialIDList @89 NONAME ;Internal
  283. ; NOTE: MPREXE calls this
  284. FOOBAR1217 = SHCloneSpecialIDList @1217 NONAME ;Internal
  285. SHFindFiles @90 NONAME ;Internal
  286. SHFindComputer @91 NONAME ;Internal
  287. PathGetShortPath @92 NONAME ;Internal
  288. Win32CreateDirectory @93 NONAME ;Internal
  289. Win32RemoveDirectory @94 NONAME ;Internal
  290. SHLogILFromFSIL @95 NONAME ;Internal
  291. StrRetToStrN @96 NONAME ;Internal
  292. SHWaitForFileToOpen @97 NONAME ;Internal
  293. SHGetRealIDL @98 NONAME ;Internal
  294. SetAppStartingCursor @99 NONAME ;Internal
  295. SHRestricted @100 NONAME ;Internal
  296. SHCoCreateInstance @102 NONAME ;Internal
  297. SignalFileOpen @103 NONAME ;Internal
  298. FileMenu_DeleteAllItems @104 NONAME ;Internal
  299. FileMenu_DrawItem @105 NONAME ;Internal
  300. FileMenu_FindSubMenuByPidl @106 NONAME ;Internal
  301. FileMenu_GetLastSelectedItemPidls @107 NONAME ;Internal
  302. FileMenu_HandleMenuChar @108 NONAME ;Internal
  303. FileMenu_InitMenuPopup @109 NONAME ;Internal
  304. FileMenu_InsertUsingPidl @110 NONAME ;Internal
  305. FileMenu_Invalidate @111 NONAME ;Internal
  306. FileMenu_MeasureItem @112 NONAME ;Internal
  307. FileMenu_ReplaceUsingPidl @113 NONAME ;Internal
  308. FileMenu_Create @114 NONAME ;Internal
  309. FileMenu_AppendItem @115 NONAME ;Internal
  310. FileMenu_TrackPopupMenuEx @116 NONAME ;Internal
  311. FileMenu_DeleteItemByCmd @117 NONAME ;Internal
  312. FileMenu_Destroy @118 NONAME ;Internal
  313. IsLFNDrive @119 NONAME ;Internal
  314. FileMenu_AbortInitMenu @120 NONAME ;Internal
  315. SHOutOfMemoryMessageBox @126 NONAME ;Internal
  316. SHWinHelp @127 NONAME ;Internal
  317. SHDllGetClassObject = DllGetClassObject @128 NONAME ;Internal
  318. DAD_AutoScroll @129 NONAME ;Internal
  319. DAD_DragEnter @130 NONAME ;Internal
  320. DAD_DragEnterEx @131 NONAME ;Internal
  321. DAD_DragLeave @132 NONAME ;Internal
  322. DAD_DragLeave @133 NONAME ;Internal
  323. DAD_DragMove @134 NONAME ;Internal
  324. DAD_DragMove @135 NONAME ;Internal
  325. DAD_SetDragImage @136 NONAME ;Internal
  326. DAD_ShowDragImage @137 NONAME ;Internal
  327. DAD_ShowDragImage @138 NONAME ;Internal
  328. DAD_SetDragImageFromListView @177 NONAME ;Internal
  329. Desktop_UpdateBriefcaseOnEvent @139 NONAME ;Internal
  330. FileMenu_DeleteItemByIndex @140 NONAME ;Internal
  331. FileMenu_DeleteMenuItemByFirstID @141 NONAME ;Internal
  332. FileMenu_DeleteSeparator @142 NONAME ;Internal
  333. FileMenu_EnableItemByCmd @143 NONAME ;Internal
  334. FileMenu_GetItemExtent @144 NONAME ;Internal
  335. PathFindOnPath @145 NONAME ;Internal
  336. RLBuildListOfPaths @146 NONAME ;Internal
  337. SHCLSIDFromString @147 NONAME ;Internal
  338. SHFind_InitMenuPopup @149 NONAME ;Internal
  339. SHFind_InitMenuPopup @150 NONAME ;Internal
  340. SHLoadOLE @151 NONAME ;Internal
  341. SHNetConnectionDialog @160 NONAME ;Internal
  342. SHRunControlPanel @161 NONAME ;Internal
  343. SHSimpleIDListFromPath @162 NONAME ;Internal
  344. StrToOleStr @163 NONAME ;Internal
  345. Win32DeleteFile @164 NONAME ;Internal
  346. SHCreateDirectory @165 NONAME ;Internal
  347. CallCPLEntry16 @166 NONAME ;Internal
  348. RunDll_CallEntry16 @122 NONAME ;Internal
  349. ;
  350. ; WARNING: Following three APIs are explicitly GetProcced by NETCP.CPL
  351. ;
  352. SHAddFromPropSheetExtArray @167 NONAME ;Internal
  353. SHCreatePropSheetExtArray @168 NONAME ;Internal
  354. SHDestroyPropSheetExtArray @169 NONAME ;Internal
  355. SHReplaceFromPropSheetExtArray @170 NONAME ;Internal
  356. SHCreateLinks @172 NONAME ;Internal
  357. SHGetNewLinkInfo @179 NONAME ;Internal
  358. ; Make sure to keep SHValidateUNCORD updated in shellp.h
  359. SHValidateUNC @173 NONAME ;Internal
  360. SHCreateShellFolderViewEx @174 NONAME ;Internal
  361. SHGetSpecialFolderPath @175 NONAME ;Internal
  362. SHSetInstanceExplorer @176 NONAME ;Internal
  363. RegisterShellHook @181 NONAME ;Internal
  364. ArrangeWindows @184 NONAME ;Internal
  365. SHHandleDiskFull @185 NONAME ;Internal
  366. SHFree @195 NONAME ;Internal
  367. SHAlloc @196 NONAME ;Internal
  368. SHGlobalDefect @197 NONAME ;Internal
  369. ShellMessageBox @183 NONAME ;Internal
  370. SHAbortInvokeCommand @198 NONAME ;Internal
  371. ;
  372. ; Being removed (SCCVIEW is still linked)
  373. ;
  374. SHGetFileIcon @199 NONAME ;being removed
  375. ; In debug these do heap checking, in retail they map to Win32
  376. ; versions.
  377. SHLocalAlloc @200 NONAME ;Internal
  378. SHLocalFree @201 NONAME ;Internal
  379. SHLocalReAlloc @202 NONAME ;Internal