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
3a77ee1d
Commit
3a77ee1d
authored
May 08, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
May 08, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Fix CompositeMonikerImpl_GetSizeMax to match the data written by CompositeMonikerImpl_Save.
parent
9c6b6709
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
compositemoniker.c
dlls/ole32/compositemoniker.c
+3
-5
No files found.
dlls/ole32/compositemoniker.c
View file @
3a77ee1d
...
@@ -303,19 +303,17 @@ CompositeMonikerImpl_GetSizeMax(IMoniker* iface,ULARGE_INTEGER* pcbSize)
...
@@ -303,19 +303,17 @@ CompositeMonikerImpl_GetSizeMax(IMoniker* iface,ULARGE_INTEGER* pcbSize)
if
(
!
pcbSize
)
if
(
!
pcbSize
)
return
E_POINTER
;
return
E_POINTER
;
pcbSize
->
u
.
LowPart
=
0
;
pcbSize
->
QuadPart
=
sizeof
(
DWORD
);
pcbSize
->
u
.
HighPart
=
0
;
IMoniker_Enum
(
iface
,
TRUE
,
&
enumMk
);
IMoniker_Enum
(
iface
,
TRUE
,
&
enumMk
);
while
(
IEnumMoniker_Next
(
enumMk
,
1
,
&
pmk
,
NULL
)){
while
(
IEnumMoniker_Next
(
enumMk
,
1
,
&
pmk
,
NULL
)
==
S_OK
){
IMoniker_GetSizeMax
(
pmk
,
&
ptmpSize
);
IMoniker_GetSizeMax
(
pmk
,
&
ptmpSize
);
IMoniker_Release
(
pmk
);
IMoniker_Release
(
pmk
);
pcbSize
->
u
.
LowPart
+=
ptmpSize
.
u
.
LowPart
;
pcbSize
->
QuadPart
=
ptmpSize
.
QuadPart
+
sizeof
(
CLSID
);
pcbSize
->
u
.
HighPart
+=
ptmpSize
.
u
.
HighPart
;
}
}
IEnumMoniker_Release
(
enumMk
);
IEnumMoniker_Release
(
enumMk
);
...
...
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