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
a784a9d7
Commit
a784a9d7
authored
Dec 01, 1998
by
Juergen Schmied
Committed by
Alexandre Julliard
Dec 01, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New functions ILGlobalClone/ILGlobalFree.
parent
f59b215a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
5 deletions
+41
-5
pidl.c
dlls/shell32/pidl.c
+38
-2
shell32.spec
relay32/shell32.spec
+3
-3
No files found.
dlls/shell32/pidl.c
View file @
a784a9d7
...
...
@@ -136,6 +136,28 @@ LPITEMIDLIST WINAPI ILCloneFirst(LPCITEMIDLIST pidl)
return
newpidl
;
}
/*************************************************************************
* ILGlobalClone [SHELL32.97]
*
*/
LPITEMIDLIST
WINAPI
ILGlobalClone
(
LPCITEMIDLIST
pidl
)
{
DWORD
len
;
LPITEMIDLIST
newpidl
;
if
(
!
pidl
)
return
NULL
;
len
=
ILGetSize
(
pidl
);
newpidl
=
(
LPITEMIDLIST
)
pCOMCTL32_Alloc
(
len
);
if
(
newpidl
)
memcpy
(
newpidl
,
pidl
,
len
);
TRACE
(
pidl
,
"pidl=%p newpidl=%p
\n
"
,
pidl
,
newpidl
);
pdump
(
pidl
);
return
newpidl
;
}
/*************************************************************************
* ILIsEqual [SHELL32.21]
*
*/
...
...
@@ -394,13 +416,27 @@ LPITEMIDLIST WINAPI ILAppend(LPITEMIDLIST pidl,LPCITEMIDLIST item,BOOL32 bEnd)
* allocated by SHMalloc allocator
* exported by ordinal
*/
DWORD
WINAPI
ILFree
(
LP
VOID
pidl
)
DWORD
WINAPI
ILFree
(
LP
ITEMIDLIST
pidl
)
{
TRACE
(
pidl
,
"(pidl=0x%08lx)
\n
"
,(
DWORD
)
pidl
);
if
(
!
pidl
)
return
0
;
return
FALSE
;
return
SHFree
(
pidl
);
}
/*************************************************************************
* ILGlobalFree [SHELL32.156]
*
*/
DWORD
WINAPI
ILGlobalFree
(
LPITEMIDLIST
pidl
)
{
TRACE
(
pidl
,
"%p
\n
"
,
pidl
);
if
(
!
pidl
)
return
FALSE
;
return
pCOMCTL32_Free
(
pidl
);
}
/*************************************************************************
* ILCreateFromPath [SHELL32.157]
*
*/
...
...
relay32/shell32.spec
View file @
a784a9d7
...
...
@@ -25,7 +25,7 @@ init Shell32LibMain
17 stdcall ILRemoveLastID(ptr) ILRemoveLastID
18 stdcall ILClone(ptr) ILClone
19 stdcall ILCloneFirst (ptr) ILCloneFirst
20 st
ub ILGlobalClone@4
20 st
dcall ILGlobalClone (ptr) ILGlobalClone
21 stdcall ILIsEqual (ptr ptr) ILIsEqual
22 stdcall Control_RunDLL(long long long long) Control_RunDLL # exported by name
23 stdcall ILIsParent (long long long) ILIsParent
...
...
@@ -160,8 +160,8 @@ init Shell32LibMain
152 stdcall ILGetSize(ptr) ILGetSize
153 stdcall ILGetNext(ptr) ILGetNext
154 stdcall ILAppend (long long long) ILAppend
155 stdcall ILFree(ptr) ILFree
156 st
ub
ILGlobalFree
155 stdcall ILFree
(ptr) ILFree
156 st
dcall ILGlobalFree (ptr)
ILGlobalFree
157 stdcall ILCreateFromPath (ptr) ILCreateFromPath
158 stdcall PathGetExtension(str long long) PathGetExtension32AW
159 stub PathIsDirectory
...
...
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