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
6b1670c7
Commit
6b1670c7
authored
Aug 10, 2005
by
Huw Davies
Committed by
Alexandre Julliard
Aug 10, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement IUnknown_EnumObjects.
parent
8cbf08b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
1 deletion
+26
-1
ordinal.c
dlls/shlwapi/ordinal.c
+25
-0
shlwapi.spec
dlls/shlwapi/shlwapi.spec
+1
-1
No files found.
dlls/shlwapi/ordinal.c
View file @
6b1670c7
...
...
@@ -3579,6 +3579,31 @@ BOOL WINAPI GetOpenFileNameWrapW(LPOPENFILENAMEW ofn)
return
pGetOpenFileNameW
(
ofn
);
}
/*************************************************************************
* @ [SHLWAPI.404]
*/
HRESULT
WINAPI
IUnknown_EnumObjects
(
LPSHELLFOLDER
lpFolder
,
HWND
hwnd
,
SHCONTF
flags
,
IEnumIDList
**
ppenum
)
{
IPersist
*
persist
;
HRESULT
hr
;
hr
=
IShellFolder_QueryInterface
(
lpFolder
,
&
IID_IPersist
,
(
LPVOID
)
&
persist
);
if
(
SUCCEEDED
(
hr
))
{
CLSID
clsid
;
hr
=
IPersist_GetClassID
(
persist
,
&
clsid
);
if
(
SUCCEEDED
(
hr
))
{
if
(
IsEqualCLSID
(
&
clsid
,
&
CLSID_ShellFSFolder
))
hr
=
IShellFolder_EnumObjects
(
lpFolder
,
hwnd
,
flags
,
ppenum
);
else
hr
=
E_FAIL
;
}
IPersist_Release
(
persist
);
}
return
hr
;
}
/* INTERNAL: Map from HLS color space to RGB */
static
WORD
WINAPI
ConvertHue
(
int
wHue
,
WORD
wMid1
,
WORD
wMid2
)
{
...
...
dlls/shlwapi/shlwapi.spec
View file @
6b1670c7
...
...
@@ -401,7 +401,7 @@
401 stdcall -noname PageSetupDlgWrapW(ptr)
402 stdcall -noname PrintDlgWrapW(ptr)
403 stdcall -noname GetOpenFileNameWrapW(ptr)
404 st
ub -noname IShellFolder_EnumObjects
404 st
dcall -noname IUnknown_EnumObjects(ptr ptr long ptr)
405 stdcall -noname MLBuildResURLA(str ptr long str ptr long)
406 stdcall -noname MLBuildResURLW(wstr ptr long wstr ptr long)
407 stub -noname AssocMakeProgid
...
...
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