Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
7c6cc49c
Commit
7c6cc49c
authored
Apr 01, 1999
by
Juergen Schmied
Committed by
Alexandre Julliard
Apr 01, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
All 19 FileMenu_* functions, some as stubs, some implemented.
parent
b18f3d6f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
81 additions
and
31 deletions
+81
-31
Makefile.in
dlls/shell32/Makefile.in
+1
-0
brsfolder.c
dlls/shell32/brsfolder.c
+7
-7
pidl.c
dlls/shell32/pidl.c
+1
-0
shelllink.c
dlls/shell32/shelllink.c
+1
-1
shlmenu.c
dlls/shell32/shlmenu.c
+0
-0
shlobj.h
include/shlobj.h
+37
-0
shell32.spec
relay32/shell32.spec
+34
-23
No files found.
dlls/shell32/Makefile.in
View file @
7c6cc49c
...
...
@@ -19,6 +19,7 @@ C_SRCS = \
shell32_main.c
\
shellguid.c
\
shelllink.c
\
shlmenu.c
\
shellole.c
\
shellord.c
\
shellpath.c
\
...
...
dlls/shell32/brsfolder.c
View file @
7c6cc49c
...
...
@@ -116,13 +116,13 @@ static void FillTreeView(IShellFolder * lpsf, LPITEMIDLIST pidl, HTREEITEM hPar
hr
=
IShellFolder_EnumObjects
(
lpsf
,
hwnd
,
SHCONTF_FOLDERS
|
SHCONTF_NONFOLDERS
,
&
lpe
);
if
(
SUCCEEDED
(
hr
))
{
while
(
NOERROR
==
lpe
->
lpvtbl
->
fn
Next
(
lpe
,
1
,
&
pidlTemp
,
&
ulFetched
))
{
ULONG
ulAttrs
=
SFGAO_HASSUBFOLDER
|
SFGAO_FOLDER
;
IShellFolder_GetAttributesOf
(
lpsf
,
1
,
&
pidlTemp
,
&
ulAttrs
);
if
(
ulAttrs
&
(
SFGAO_HASSUBFOLDER
|
SFGAO_FOLDER
))
{
if
(
ulAttrs
&
SFGAO_FOLDER
)
{
tvi
.
mask
=
TVIF_TEXT
|
TVIF_IMAGE
|
TVIF_SELECTEDIMAGE
|
TVIF_PARAM
;
if
(
SUCCEEDED
(
hr
))
{
while
(
NOERROR
==
IEnumIDList_
Next
(
lpe
,
1
,
&
pidlTemp
,
&
ulFetched
))
{
ULONG
ulAttrs
=
SFGAO_HASSUBFOLDER
|
SFGAO_FOLDER
;
IShellFolder_GetAttributesOf
(
lpsf
,
1
,
&
pidlTemp
,
&
ulAttrs
);
if
(
ulAttrs
&
(
SFGAO_HASSUBFOLDER
|
SFGAO_FOLDER
))
{
if
(
ulAttrs
&
SFGAO_FOLDER
)
{
tvi
.
mask
=
TVIF_TEXT
|
TVIF_IMAGE
|
TVIF_SELECTEDIMAGE
|
TVIF_PARAM
;
if
(
ulAttrs
&
SFGAO_HASSUBFOLDER
)
{
tvi
.
cChildren
=
1
;
...
...
dlls/shell32/pidl.c
View file @
7c6cc49c
...
...
@@ -50,6 +50,7 @@ void pdump (LPCITEMIDLIST pidl)
else
TRACE
(
pidl
,
"empty pidl (Desktop)
\n
"
);
}
/*************************************************************************
* ILGetDisplayName [SHELL32.15]
*/
...
...
dlls/shell32/shelllink.c
View file @
7c6cc49c
...
...
@@ -562,7 +562,7 @@ static HRESULT WINAPI IShellLink_fnGetHotkey(IShellLink * iface, WORD *pwHotkey)
{
ICOM_THIS
(
IShellLinkImpl
,
iface
);
FIXME
(
shell
,
"(%p)->(%p)
\n
"
,
This
,
pwHotkey
);
FIXME
(
shell
,
"(%p)->(%p)
returning 0
\n
"
,
This
,
pwHotkey
);
*
pwHotkey
=
0x0
;
return
NOERROR
;
}
...
...
dlls/shell32/shlmenu.c
0 → 100644
View file @
7c6cc49c
This diff is collapsed.
Click to expand it.
include/shlobj.h
View file @
7c6cc49c
...
...
@@ -397,6 +397,43 @@ typedef struct
DWORD
WINAPI
SHGetMalloc
(
LPMALLOC
*
lpmal
)
;
/****************************************************************************
* Shell File Menu API
*/
/* FileMenu_Create nSelHeight */
#define FM_FULL_SELHEIGHT -1;
#define FM_DEFAULT_SELHEIGHT 0
/* FileMenu_Create uFlags */
#define FMF_SMALL_ICONS 0x00
#define FMF_LARGE_ICONS 0x08
#define FMF_NO_COLUMN_BREAK 0x10
/* FileMenu_InsertUsingPidl uFlags */
#define FMF_NO_EMPTY_ITEM 0x01
#define FMF_NO_PROGRAM_GROUPS 0x04
typedef
void
(
CALLBACK
*
LPFNFMCALLBACK
)(
LPCITEMIDLIST
pidlFolder
,
LPCITEMIDLIST
pidlFile
);
/* FileMenu_AppendItem lpszText */
#define FM_SEPARATOR (LPCSTR)1
#define FM_BLANK_ICON -1
#define FM_DEFAULT_HEIGHT 0
/* fixme: move to ShellApi.h */
#define ABM_NEW 0x00000000
#define ABM_REMOVE 0x00000001
#define ABM_QUERYPOS 0x00000002
#define ABM_SETPOS 0x00000003
#define ABM_GETSTATE 0x00000004
#define ABM_GETTASKBARPOS 0x00000005
#define ABM_ACTIVATE 0x00000006
#define ABM_GETAUTOHIDEBAR 0x00000007
#define ABM_SETAUTOHIDEBAR 0x00000008
#define ABM_WINDOWPOSCHANGED 0x00000009
#define ABS_AUTOHIDE 0x00000001
#define ABS_ALWAYSONTOP 0x00000002
#undef PURE
#undef FAR
#undef THIS
...
...
relay32/shell32.spec
View file @
7c6cc49c
...
...
@@ -109,28 +109,28 @@ init Shell32LibMain
101 stub DragQueryFileAorW # exported by name
102 stdcall SHCoCreateInstance(ptr ptr long ptr ptr) SHCoCreateInstance
103 stdcall SignalFileOpen(long) SignalFileOpen
104 st
ub
FileMenu_DeleteAllItems
105 st
ub
FileMenu_DrawItem
106 st
ub
FileMenu_FindSubMenuByPidl
107 st
ub
FileMenu_GetLastSelectedItemPidls
108 st
ub
FileMenu_HandleMenuChar
104 st
dcall FileMenu_DeleteAllItems(long)
FileMenu_DeleteAllItems
105 st
dcall FileMenu_DrawItem(long ptr)
FileMenu_DrawItem
106 st
dcall FileMenu_FindSubMenuByPidl(long ptr)
FileMenu_FindSubMenuByPidl
107 st
dcall FileMenu_GetLastSelectedItemPidls(long ptr ptr)
FileMenu_GetLastSelectedItemPidls
108 st
dcall FileMenu_HandleMenuChar(long long)
FileMenu_HandleMenuChar
109 stdcall FileMenu_InitMenuPopup (long) FileMenu_InitMenuPopup
110 st
ub
FileMenu_InsertUsingPidl
111 st
ub
FileMenu_Invalidate
112 st
ub
FileMenu_MeasureItem
113 st
ub
FileMenu_ReplaceUsingPidl
110 st
dcall FileMenu_InsertUsingPidl (long long ptr long long ptr)
FileMenu_InsertUsingPidl
111 st
dcall FileMenu_Invalidate (long)
FileMenu_Invalidate
112 st
dcall FileMenu_MeasureItem(long ptr)
FileMenu_MeasureItem
113 st
dcall FileMenu_ReplaceUsingPidl (long long ptr long ptr)
FileMenu_ReplaceUsingPidl
114 stdcall FileMenu_Create (long long long long long) FileMenu_Create
115 st
ub FileMenu_AppendItem
115 st
dcall FileMenu_AppendItem (long ptr long long long long) FileMenu_AppendItemAW
116 stdcall FileMenu_TrackPopupMenuEx (long long long long long long) FileMenu_TrackPopupMenuEx
117 st
ub
FileMenu_DeleteItemByCmd
117 st
dcall FileMenu_DeleteItemByCmd(long long)
FileMenu_DeleteItemByCmd
118 stdcall FileMenu_Destroy (long) FileMenu_Destroy
119 stdcall IsLFNDrive(str) IsLFNDriveA
120 st
ub
FileMenu_AbortInitMenu
120 st
dcall FileMenu_AbortInitMenu ()
FileMenu_AbortInitMenu
121 stdcall SHFlushClipboard () SHFlushClipboard
122 stdcall RunDLL_CallEntry16 (long long long long long) RunDLL_CallEntry16 #name wrong?
123 stdcall SHFreeUnusedLibraries () SHFreeUnusedLibraries
124 st
ub
FileMenu_AppendFilesForPidl
125 st
ub
FileMenu_AddFilesForPidl
124 st
dcall FileMenu_AppendFilesForPidl(long ptr long)
FileMenu_AppendFilesForPidl
125 st
dcall FileMenu_AddFilesForPidl(long long long ptr long long ptr)
FileMenu_AddFilesForPidl
126 stdcall SHOutOfMemoryMessageBox (long long long) SHOutOfMemoryMessageBox
127 stdcall SHWinHelp (long long long long) SHWinHelp
128 stdcall DllGetClassObject(long long ptr) SHELL32_DllGetClassObject
...
...
@@ -145,13 +145,13 @@ init Shell32LibMain
137 stdcall DAD_ShowDragImage (long) DAD_ShowDragImage
138 stub DuplicateIcon # exported by name
139 stub Desktop_UpdateBriefcaseOnEvent
140 st
ub
FileMenu_DeleteItemByIndex
141 st
ub
FileMenu_DeleteItemByFirstID
142 st
ub
FileMenu_DeleteSeparator
143 st
ub
FileMenu_EnableItemByCmd
144 st
ub
FileMenu_GetItemExtent
140 st
dcall FileMenu_DeleteItemByIndex(long long)
FileMenu_DeleteItemByIndex
141 st
dcall FileMenu_DeleteItemByFirstID(long long)
FileMenu_DeleteItemByFirstID
142 st
dcall FileMenu_DeleteSeparator(long)
FileMenu_DeleteSeparator
143 st
dcall FileMenu_EnableItemByCmd(long long long)
FileMenu_EnableItemByCmd
144 st
dcall FileMenu_GetItemExtent (long long)
FileMenu_GetItemExtent
145 stdcall PathFindOnPath (ptr ptr) PathFindOnPathAW
146 st
ub
RLBuildListOfPaths
146 st
dcall RLBuildListOfPaths()
RLBuildListOfPaths
147 stdcall SHCLSIDFromString(long long) SHCLSIDFromString
148 stdcall ExtractAssociatedIconA(long ptr long) ExtractAssociatedIconA # exported by name
149 stdcall SHFind_InitMenuPopup(long long long long) SHFind_InitMenuPopup
...
...
@@ -168,7 +168,7 @@ init Shell32LibMain
160 stub SHNetConnectionDialog
161 stdcall SHRunControlPanel (long long) SHRunControlPanel
162 stdcall SHSimpleIDListFromPath (ptr) SHSimpleIDListFromPathAW
163 st
ub
StrToOleStr
163 st
dcall StrToOleStr (wstr str)
StrToOleStr
164 stub Win32DeleteFile
165 stdcall SHCreateDirectory(long long) SHCreateDirectory
166 stub CallCPLEntry16
...
...
@@ -375,5 +375,16 @@ init Shell32LibMain
1217 stub FOOBAR1217 # no joke! This is the real name!!
# later additions ... FIXME: incorrect ordinals
1218 stdcall SHGetSpecialFolderPathA(long ptr long long) SHGetSpecialFolderPathA
1219 stub DoEnvironmentSubstW
# win 98 uses 2...330, 505..511, 520..526, 640..654, 660, 680, 700..707, 711
# win98:201
1220 stdcall DllGetVersion (ptr) SHELL32_DllGetVersion
# win98:292
1221 stdcall SHGetSpecialFolderPathA(long ptr long long) SHGetSpecialFolderPathA
# win98:293
1222 stub DoEnvironmentSubstA
# win98:204
1223 stub DoEnvironmentSubstW
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment