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
45d6329c
Commit
45d6329c
authored
May 26, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 26, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Export lowlevel PIDL manipulation calls by name too.
parent
e6611e22
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
22 deletions
+51
-22
pidl.c
dlls/shell32/pidl.c
+7
-6
shell32.spec
dlls/shell32/shell32.spec
+16
-16
shlfolder.c
dlls/shell32/tests/shlfolder.c
+28
-0
No files found.
dlls/shell32/pidl.c
View file @
45d6329c
...
...
@@ -833,7 +833,7 @@ LPITEMIDLIST WINAPI ILGetNext(LPCITEMIDLIST pidl)
}
/*************************************************************************
* ILAppend
[SHELL32.154]
* ILAppend
ID
[SHELL32.154]
*
* Adds the single ItemID item to the ItemIDList indicated by pidl.
* If bEnd is FALSE, inserts the item in the front of the list,
...
...
@@ -847,26 +847,27 @@ LPITEMIDLIST WINAPI ILGetNext(LPCITEMIDLIST pidl)
* NOTES
* Destroys the passed in idlist! (???)
*/
LPITEMIDLIST
WINAPI
ILAppend
(
LPITEMIDLIST
pidl
,
LPCITEMIDLIST
item
,
BOOL
bEnd
)
LPITEMIDLIST
WINAPI
ILAppend
ID
(
LPITEMIDLIST
pidl
,
LPCSHITEMID
item
,
BOOL
bEnd
)
{
LPITEMIDLIST
idlRet
;
LPCITEMIDLIST
itemid
=
(
LPCITEMIDLIST
)
item
;
WARN
(
"(pidl=%p,pidl=%p,%08u)semi-stub
\n
"
,
pidl
,
item
,
bEnd
);
pdump
(
pidl
);
pdump
(
item
);
pdump
(
item
id
);
if
(
_ILIsDesktop
(
pidl
))
{
idlRet
=
ILClone
(
item
);
idlRet
=
ILClone
(
item
id
);
SHFree
(
pidl
);
return
idlRet
;
}
if
(
bEnd
)
idlRet
=
ILCombine
(
pidl
,
item
);
idlRet
=
ILCombine
(
pidl
,
item
id
);
else
idlRet
=
ILCombine
(
item
,
pidl
);
idlRet
=
ILCombine
(
item
id
,
pidl
);
SHFree
(
pidl
);
return
idlRet
;
...
...
dlls/shell32/shell32.spec
View file @
45d6329c
...
...
@@ -13,17 +13,17 @@
11 stub -noname PifMgr_SetProperties
13 stub -noname PifMgr_CloseProperties
15 stdcall -noname ILGetDisplayName(ptr ptr)
16 stdcall -
noname
ILFindLastID(ptr)
17 stdcall -
noname
ILRemoveLastID(ptr)
18 stdcall -
noname
ILClone(ptr)
19 stdcall -
noname
ILCloneFirst(ptr)
16 stdcall -
ordinal
ILFindLastID(ptr)
17 stdcall -
ordinal
ILRemoveLastID(ptr)
18 stdcall -
ordinal
ILClone(ptr)
19 stdcall -
ordinal
ILCloneFirst(ptr)
20 stdcall -noname ILGlobalClone(ptr)
21 stdcall -
noname
ILIsEqual(ptr ptr)
23 stdcall -
noname
ILIsParent(ptr ptr long)
24 stdcall -
noname
ILFindChild(ptr ptr)
25 stdcall -
noname
ILCombine(ptr ptr)
21 stdcall -
ordinal
ILIsEqual(ptr ptr)
23 stdcall -
ordinal
ILIsParent(ptr ptr long)
24 stdcall -
ordinal
ILFindChild(ptr ptr)
25 stdcall -
ordinal
ILCombine(ptr ptr)
26 stdcall -noname ILLoadFromStream(ptr ptr)
27 stdcall -
noname
ILSaveToStream(ptr ptr)
27 stdcall -
ordinal
ILSaveToStream(ptr ptr)
28 stdcall -noname SHILCreateFromPath(ptr ptr ptr) SHILCreateFromPathAW
29 stdcall -noname PathIsRoot(ptr) PathIsRootAW
30 stdcall -noname PathBuildRoot(ptr long) PathBuildRootAW
...
...
@@ -141,12 +141,12 @@
149 stdcall -noname SHFind_InitMenuPopup(long long long long)
151 stdcall -noname SHLoadOLE(long)
152 stdcall -
noname
ILGetSize(ptr)
153 stdcall -
noname
ILGetNext(ptr)
154 stdcall -
noname ILAppend
(long long long)
155 stdcall -
noname
ILFree(ptr)
152 stdcall -
ordinal
ILGetSize(ptr)
153 stdcall -
ordinal
ILGetNext(ptr)
154 stdcall -
ordinal ILAppendID
(long long long)
155 stdcall -
ordinal
ILFree(ptr)
156 stdcall -noname ILGlobalFree(ptr)
157 stdcall -
noname
ILCreateFromPath(ptr) ILCreateFromPathAW
157 stdcall -
ordinal
ILCreateFromPath(ptr) ILCreateFromPathAW
158 stdcall -noname PathGetExtension(str long long) PathGetExtensionAW
159 stdcall -noname PathIsDirectory(ptr) PathIsDirectoryAW
160 stub SHNetConnectionDialog
...
...
@@ -178,8 +178,8 @@
186 stdcall -noname ILGetDisplayNameEx(ptr ptr ptr long)
187 stub ILGetPseudoNameW
188 stdcall -noname ShellDDEInit(long)
189 stdcall -
noname
ILCreateFromPathA(str)
190 stdcall -
noname
ILCreateFromPathW(wstr)
189 stdcall -
ordinal
ILCreateFromPathA(str)
190 stdcall -
ordinal
ILCreateFromPathW(wstr)
191 stdcall -noname SHUpdateImageA(str long long long)
192 stdcall -noname SHUpdateImageW(wstr long long long)
193 stdcall -noname SHHandleUpdateImage(ptr)
...
...
dlls/shell32/tests/shlfolder.c
View file @
45d6329c
...
...
@@ -60,6 +60,7 @@ static void init_function_pointers(void)
{
HMODULE
hmod
;
HRESULT
hr
;
void
*
ptr
;
hmod
=
GetModuleHandleA
(
"shell32.dll"
);
...
...
@@ -81,6 +82,33 @@ static void init_function_pointers(void)
MAKEFUNC_ORD
(
ILFree
,
155
);
#undef MAKEFUNC_ORD
/* test named exports */
ptr
=
GetProcAddress
(
hmod
,
"ILFree"
);
ok
(
broken
(
ptr
==
0
)
||
ptr
!=
0
,
"expected named export for ILFree
\n
"
);
if
(
ptr
)
{
#define TESTNAMED(f) \
ptr = (void*)GetProcAddress(hmod, #f); \
ok(ptr != 0, "expected named export for " #f "\n");
TESTNAMED
(
ILAppendID
);
TESTNAMED
(
ILClone
);
TESTNAMED
(
ILCloneFirst
);
TESTNAMED
(
ILCombine
);
TESTNAMED
(
ILCreateFromPath
);
TESTNAMED
(
ILCreateFromPathA
);
TESTNAMED
(
ILCreateFromPathW
);
TESTNAMED
(
ILFindChild
);
TESTNAMED
(
ILFindLastID
);
TESTNAMED
(
ILGetNext
);
TESTNAMED
(
ILGetSize
);
TESTNAMED
(
ILIsEqual
);
TESTNAMED
(
ILIsParent
);
TESTNAMED
(
ILRemoveLastID
);
TESTNAMED
(
ILSaveToStream
);
#undef TESTNAMED
}
hmod
=
GetModuleHandleA
(
"shlwapi.dll"
);
pStrRetToBufW
=
(
void
*
)
GetProcAddress
(
hmod
,
"StrRetToBufW"
);
...
...
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