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

;
; This def file is for reference only. It is the def file
; of the SHELL32 shipped in Win95.
;
;
LIBRARY SHELL32
DESCRIPTION 'Windows Shell (32bit) Library'
SECTIONS
.bss READ WRITE SHARED ; initialized data
.data READ WRITE SHARED ; global data (opposite of normal)
.idata READ WRITE ; import tables
INSTDATA READ WRITE ; instance data
.rsrc READ SHARED ; resources
EXPORTS
;========================================================
; Public exports
;
; Must be named
; SHould not have any ordinals
; Must NOT be marked internal
;========================================================
; Win 3.1 Drag API
DragAcceptFiles ;public
DragFinish ;public
DragQueryPoint ;public
DragQueryFileA ;public
DragQueryFile=DragQueryFileA ;public
;
; Copied from NT shell32.def
;
ShellExecuteA
FindExecutableA
ShellAboutA
FreeIconList
DoEnvironmentSubstA
ExtractIconA
ExtractAssociatedIconA
;InternalExtractIconA
;
; Win32 (NT) APIs we dont support (see shlunimp.c)
;
SheGetCurDrive
SheSetCurDrive
DuplicateIcon
CheckEscapesA
CheckEscapesW
DragQueryFileAorW
;
; Win32 (NT) ANSI APIs we dont support (see shlunimp.c)
;
SheChangeDirA
SheFullPathA
SheGetDirA
RealShellExecuteA
RealShellExecuteExA
RegenerateUserEnvironment
;
; Win32 (NT) UNICODE APIs we dont support (see shlunimp.c)
;
SheChangeDirW
SheFullPathW
SheGetDirW
RealShellExecuteW
RealShellExecuteExW
ShellExecuteW
FindExecutableW
ShellAboutW
ExtractAssociatedIconW
ExtractAssociatedIconExA
ExtractAssociatedIconExW
ExtractIconW
ExtractIconResInfoA
ExtractIconResInfoW
DragQueryFileW
;InternalExtractIconW
InternalExtractIconListA
InternalExtractIconListW
DoEnvironmentSubstW
;FindEnvironmentStringW
ExtractVersionResource16W
;
; More Win32 (NT) UNICODE APIs they don't support - John Vert (jvert) 15-Oct-1994
;
SheGetDirExW
SheChangeDirExW
SheGetPathOffsetW
;
; Forward all of these old string functions over to COMCTL32.DLL
;
StrChrA = COMCTL32.StrChrA
StrRChrA = COMCTL32.StrRChrA
StrChrIA = COMCTL32.StrChrIA
StrRChrIA = COMCTL32.StrRChrIA
StrCmpNA = COMCTL32.StrCmpNA
StrCmpNIA = COMCTL32.StrCmpNIA
StrCpyNA = COMCTL32.StrCpyNA
StrNCmpA = COMCTL32.StrNCmpA
StrNCmpIA = COMCTL32.StrNCpyIA
StrNCpyA = COMCTL32.StrNCpyA
StrStrA = COMCTL32.StrStrA
StrRStrA = COMCTL32.StrRStrA
StrStrIA = COMCTL32.StrStrIA
StrRStrIA = COMCTL32.StrRStrIA
StrChrW = COMCTL32.StrChrW
StrRChrW = COMCTL32.StrRChrW
StrChrIW = COMCTL32.StrChrIW
StrRChrIW = COMCTL32.StrRChrIW
StrCmpNW = COMCTL32.StrCmpNW
StrCmpNIW = COMCTL32.StrCmpNIW
StrCpyNW = COMCTL32.StrCpyNW
StrNCmpW = COMCTL32.StrNCmpW
StrNCmpIW = COMCTL32.StrNCpyIW
StrNCpyW = COMCTL32.StrNCpyW
StrStrW = COMCTL32.StrStrW
StrRStrW = COMCTL32.StrRStrW
StrStrIW = COMCTL32.StrStrIW
StrRStrIW = COMCTL32.StrRStrIW
; speed up winfile, bypass old IsCharAlpha fcn
SheChangeDirExA
; export RemoveQuotes since it's already here and we can save space in pm/tm
SheRemoveQuotesA
SheRemoveQuotesW
SheConvertPathW
SheShortenPathA
SheShortenPathW
CommandLineToArgvW
;
; new Chicago APIs
;
ExtractIconEx ;public
SHGetFileInfo ;public
SHLoadInProc ;public
SHGetInstanceExplorer ;public
ShellExecuteEx ;Public
SHAddToRecentDocs ;public
SHGetDataFromIDListA
SHGetMalloc
SHGetDesktopFolder
SHChangeNotify
SHGetSpecialFolderLocation
Shell_NotifyIcon
SHGetPathFromIDList
SHBrowseForFolder
SHFileOperation
SHFreeNameMappings
SHAppBarMessage
SHFormatDrive
;
; Ansi mapping in-order to run Ansi apps compiled on NT
;
ExtractIconExA = ExtractIconEx
SHGetFileInfoA = SHGetFileInfo
ShellExecuteExA = ShellExecuteEx
Shell_NotifyIconA = Shell_NotifyIcon
SHGetPathFromIDListA = SHGetPathFromIDList
SHBrowseForFolderA = SHBrowseForFolder
SHFileOperationA = SHFileOperation
;========================================================
; Exports to be GetProcAddressed.
; Must be named
; Should not have any ordinals
; Must be marked internal
; Should be marked PRIVATE so then dont end up in SHELL32.LIB
;========================================================
; To be In-Proc server DLL
DllGetClassObject PRIVATE ;internal
; For the thunk of it.
Shl3216_ThunkData32 PRIVATE ;Internal
Shl1632_ThunkData32 PRIVATE ;Internal
; To be called from RUNDLL32.EXE
Control_RunDLL ;Internal
Control_FillCache_RunDLL ;Internal
OpenAs_RunDLL ;Internal
PrintersGetCommand_RunDLL ;Internal
SHHelpShortcuts_RunDLL ;Internal
;========================================================
; private exports
; Should NOT be named
; Should have ordinals
; Must be marked internal
;========================================================
;========================================================
; PIFMGR thunks
;========================================================
PifMgr_OpenProperties @9 NONAME ;Internal
PifMgr_GetProperties @10 NONAME ;Internal
PifMgr_SetProperties @11 NONAME ;Internal
PifMgr_CloseProperties @13 NONAME ;Internal
;========================================================
;========================================================
; name space notification
; Make sure to keep SHChangeNotifyRegisterORD updated in shlobj.h
SHChangeNotifyRegister @2 NONAME ;Internal
; Make sure to keep SHChangeNotifyDeregisterORD updated in shlobj.h
SHChangeNotifyDeregister @4 NONAME ;Internal
SHChangeNotifyUpdateEntryList @5 NONAME ;Internal
; Reserved up to @8 NONAME
ILGetSize @152 NONAME ;Internal
ILGetNext @153 NONAME ;Internal
ILAppendID @154 NONAME ;Internal
ILFree @155 NONAME ;Internal
ILGlobalFree @156 NONAME ;Internal
ILCreateFromPath @157 NONAME ;Internal
ILGetDisplayName @15 NONAME ;Internal
ILFindLastID @16 NONAME ;Internal
ILRemoveLastID @17 NONAME ;Internal
ILClone @18 NONAME ;Internal
ILCloneFirst @19 NONAME ;Internal
ILGlobalClone @20 NONAME ;Internal
ILIsEqual @21 NONAME ;Internal
ILIsParent @23 NONAME ;Internal
ILFindChild @24 NONAME ;Internal
ILCombine @25 NONAME ;Internal
ILLoadFromStream @26 NONAME ;Internal
ILSaveToStream @27 NONAME ;Internal
SHILCreateFromPath @28 NONAME ;Internal
; Path parsing stuff
PathIsRoot @29 NONAME ;Internal
PathBuildRoot @30 NONAME ;Internal
PathFindExtension @31 NONAME ;Internal
PathAddBackslash @32 NONAME ;Internal
; Ordinal #define'd in SHSEMIP.H
PathRemoveBlanks @33 NONAME ;Internal
; Ordinal #define'd in SHSEMIP.H
PathFindFileName @34 NONAME ;Internal
PathRemoveFileSpec @35 NONAME ;Internal
PathAppend @36 NONAME ;Internal
PathCombine @37 NONAME ;Internal
PathIsUNC @39 NONAME ;Internal
PathIsRelative @40 NONAME ;Internal
; Ordinal #define'd in SHSEMIP.H
PathGetExtension @158 NONAME ;Internal
PathIsDirectory @159 NONAME ;Internal
PathIsExe @43 NONAME ;Internal
PathFileExists @45 NONAME ;Internal
PathMatchSpec @46 NONAME ;Internal
PathMakeUniqueName @47 NONAME ;Internal
PathSetDlgItemPath @48 NONAME ;Internal
PathQualify @49 NONAME ;Internal
PathResolve @51 NONAME ;Internal
PathCleanupSpec @171 NONAME ;Internal
PathGetArgs @52 NONAME ;Internal
PathQuoteSpaces @55 NONAME ;Internal
PathUnquoteSpaces @56 NONAME ;Internal
PathGetDriveNumber @57 NONAME ;Internal
; MISC function
ParseField @58 NONAME ;Internal
RestartDialog @59 NONAME ;Internal
ExitWindowsDialog @60 NONAME ;Internal
RunFileDlg @61 NONAME ;Internal
PickIconDlg @62 NONAME ;Internal
GetFileNameFromBrowse @63 NONAME ;Internal
; Drive type
DriveType @64 NONAME ;Internal
InvalidateDriveType @65 NONAME ;Internal
IsNetDrive @66 NONAME ;Internal
Shell_MergeMenus @67 NONAME ;Internal
SHGetSetSettings @68 NONAME ;Internal
SHGetNetResource @69 NONAME ;Internal
SHCreateDefClassObject @70 NONAME ;Internal
SHObjectProperties @178 NONAME ;Internal
;========================================================
; Private exports
;========================================================
Shell_GetImageLists @71 NONAME ;Internal
Shell_GetCachedImageIndex @72 NONAME ;Internal
SHShellFolderView_Message @73 NONAME ;Internal
SHCreateStdEnumFmtEtc @74 NONAME ;Internal
PathYetAnotherMakeUniqueName @75 NONAME ;Internal
SHMapPIDLToSystemImageListIndex @77 NONAME ;Internal
OleStrToStrN @78 NONAME ;Internal
StrToOleStrN @79 NONAME ;Internal
SHAddPages16 @81 NONAME ;Internal
CIDLData_CreateFromIDArray @83 NONAME ;Internal
SHIsBadInterfacePtr @84 NONAME ;Internal
OpenRegStream @85 NONAME ;Internal
SHRegisterDragDrop @86 NONAME ;Internal
SHRevokeDragDrop @87 NONAME ;Internal
SHDoDragDrop @88 NONAME ;Internal
SHFlushClipboard @121 NONAME ;Internal
SHFreeUnusedLibraries @123 NONAME ;Internal
SHCloneSpecialIDList @89 NONAME ;Internal
; NOTE: MPREXE calls this
FOOBAR1217 = SHCloneSpecialIDList @1217 NONAME ;Internal
SHFindFiles @90 NONAME ;Internal
SHFindComputer @91 NONAME ;Internal
PathGetShortPath @92 NONAME ;Internal
Win32CreateDirectory @93 NONAME ;Internal
Win32RemoveDirectory @94 NONAME ;Internal
SHLogILFromFSIL @95 NONAME ;Internal
StrRetToStrN @96 NONAME ;Internal
SHWaitForFileToOpen @97 NONAME ;Internal
SHGetRealIDL @98 NONAME ;Internal
SetAppStartingCursor @99 NONAME ;Internal
SHRestricted @100 NONAME ;Internal
SHCoCreateInstance @102 NONAME ;Internal
SignalFileOpen @103 NONAME ;Internal
FileMenu_DeleteAllItems @104 NONAME ;Internal
FileMenu_DrawItem @105 NONAME ;Internal
FileMenu_FindSubMenuByPidl @106 NONAME ;Internal
FileMenu_GetLastSelectedItemPidls @107 NONAME ;Internal
FileMenu_HandleMenuChar @108 NONAME ;Internal
FileMenu_InitMenuPopup @109 NONAME ;Internal
FileMenu_InsertUsingPidl @110 NONAME ;Internal
FileMenu_Invalidate @111 NONAME ;Internal
FileMenu_MeasureItem @112 NONAME ;Internal
FileMenu_ReplaceUsingPidl @113 NONAME ;Internal
FileMenu_Create @114 NONAME ;Internal
FileMenu_AppendItem @115 NONAME ;Internal
FileMenu_TrackPopupMenuEx @116 NONAME ;Internal
FileMenu_DeleteItemByCmd @117 NONAME ;Internal
FileMenu_Destroy @118 NONAME ;Internal
IsLFNDrive @119 NONAME ;Internal
FileMenu_AbortInitMenu @120 NONAME ;Internal
SHOutOfMemoryMessageBox @126 NONAME ;Internal
SHWinHelp @127 NONAME ;Internal
SHDllGetClassObject = DllGetClassObject @128 NONAME ;Internal
DAD_AutoScroll @129 NONAME ;Internal
DAD_DragEnter @130 NONAME ;Internal
DAD_DragEnterEx @131 NONAME ;Internal
DAD_DragLeave @132 NONAME ;Internal
DAD_DragLeave @133 NONAME ;Internal
DAD_DragMove @134 NONAME ;Internal
DAD_DragMove @135 NONAME ;Internal
DAD_SetDragImage @136 NONAME ;Internal
DAD_ShowDragImage @137 NONAME ;Internal
DAD_ShowDragImage @138 NONAME ;Internal
DAD_SetDragImageFromListView @177 NONAME ;Internal
Desktop_UpdateBriefcaseOnEvent @139 NONAME ;Internal
FileMenu_DeleteItemByIndex @140 NONAME ;Internal
FileMenu_DeleteMenuItemByFirstID @141 NONAME ;Internal
FileMenu_DeleteSeparator @142 NONAME ;Internal
FileMenu_EnableItemByCmd @143 NONAME ;Internal
FileMenu_GetItemExtent @144 NONAME ;Internal
PathFindOnPath @145 NONAME ;Internal
RLBuildListOfPaths @146 NONAME ;Internal
SHCLSIDFromString @147 NONAME ;Internal
SHFind_InitMenuPopup @149 NONAME ;Internal
SHFind_InitMenuPopup @150 NONAME ;Internal
SHLoadOLE @151 NONAME ;Internal
SHNetConnectionDialog @160 NONAME ;Internal
SHRunControlPanel @161 NONAME ;Internal
SHSimpleIDListFromPath @162 NONAME ;Internal
StrToOleStr @163 NONAME ;Internal
Win32DeleteFile @164 NONAME ;Internal
SHCreateDirectory @165 NONAME ;Internal
CallCPLEntry16 @166 NONAME ;Internal
RunDll_CallEntry16 @122 NONAME ;Internal
;
; WARNING: Following three APIs are explicitly GetProcced by NETCP.CPL
;
SHAddFromPropSheetExtArray @167 NONAME ;Internal
SHCreatePropSheetExtArray @168 NONAME ;Internal
SHDestroyPropSheetExtArray @169 NONAME ;Internal
SHReplaceFromPropSheetExtArray @170 NONAME ;Internal
SHCreateLinks @172 NONAME ;Internal
SHGetNewLinkInfo @179 NONAME ;Internal
; Make sure to keep SHValidateUNCORD updated in shellp.h
SHValidateUNC @173 NONAME ;Internal
SHCreateShellFolderViewEx @174 NONAME ;Internal
SHGetSpecialFolderPath @175 NONAME ;Internal
SHSetInstanceExplorer @176 NONAME ;Internal
RegisterShellHook @181 NONAME ;Internal
ArrangeWindows @184 NONAME ;Internal
SHHandleDiskFull @185 NONAME ;Internal
SHFree @195 NONAME ;Internal
SHAlloc @196 NONAME ;Internal
SHGlobalDefect @197 NONAME ;Internal
ShellMessageBox @183 NONAME ;Internal
SHAbortInvokeCommand @198 NONAME ;Internal
;
; Being removed (SCCVIEW is still linked)
;
SHGetFileIcon @199 NONAME ;being removed
; In debug these do heap checking, in retail they map to Win32
; versions.
SHLocalAlloc @200 NONAME ;Internal
SHLocalFree @201 NONAME ;Internal
SHLocalReAlloc @202 NONAME ;Internal