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
f8ca09c0
Commit
f8ca09c0
authored
Nov 12, 2009
by
Vincent Povirk
Committed by
Alexandre Julliard
Nov 17, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Rename property variables in IEnumSTATSTGImpl methods.
parent
54781b65
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
storage32.c
dlls/ole32/storage32.c
+19
-19
No files found.
dlls/ole32/storage32.c
View file @
f8ca09c0
...
...
@@ -3574,7 +3574,7 @@ static HRESULT WINAPI IEnumSTATSTGImpl_Next(
{
IEnumSTATSTGImpl
*
const
This
=
(
IEnumSTATSTGImpl
*
)
iface
;
DirEntry
current
Propert
y
;
DirEntry
current
Entr
y
;
STATSTG
*
currentReturnStruct
=
rgelt
;
ULONG
objectFetched
=
0
;
ULONG
currentSearchNode
;
...
...
@@ -3609,17 +3609,17 @@ static HRESULT WINAPI IEnumSTATSTGImpl_Next(
IEnumSTATSTGImpl_PopSearchNode
(
This
,
TRUE
);
/*
* Read the
propert
y from the storage.
* Read the
entr
y from the storage.
*/
StorageImpl_ReadDirEntry
(
This
->
parentStorage
,
currentSearchNode
,
&
current
Propert
y
);
&
current
Entr
y
);
/*
* Copy the information to the return buffer.
*/
StorageUtl_CopyDirEntryToSTATSTG
(
currentReturnStruct
,
&
current
Propert
y
,
&
current
Entr
y
,
STATFLAG_DEFAULT
);
/*
...
...
@@ -3631,7 +3631,7 @@ static HRESULT WINAPI IEnumSTATSTGImpl_Next(
/*
* Push the next search node in the search stack.
*/
IEnumSTATSTGImpl_PushSearchNode
(
This
,
current
Propert
y
.
rightChild
);
IEnumSTATSTGImpl_PushSearchNode
(
This
,
current
Entr
y
.
rightChild
);
/*
* continue the iteration.
...
...
@@ -3652,7 +3652,7 @@ static HRESULT WINAPI IEnumSTATSTGImpl_Skip(
{
IEnumSTATSTGImpl
*
const
This
=
(
IEnumSTATSTGImpl
*
)
iface
;
DirEntry
current
Propert
y
;
DirEntry
current
Entr
y
;
ULONG
objectFetched
=
0
;
ULONG
currentSearchNode
;
...
...
@@ -3670,11 +3670,11 @@ static HRESULT WINAPI IEnumSTATSTGImpl_Skip(
IEnumSTATSTGImpl_PopSearchNode
(
This
,
TRUE
);
/*
* Read the
propert
y from the storage.
* Read the
entr
y from the storage.
*/
StorageImpl_ReadDirEntry
(
This
->
parentStorage
,
currentSearchNode
,
&
current
Propert
y
);
&
current
Entr
y
);
/*
* Step to the next item in the iteration
...
...
@@ -3684,7 +3684,7 @@ static HRESULT WINAPI IEnumSTATSTGImpl_Skip(
/*
* Push the next search node in the search stack.
*/
IEnumSTATSTGImpl_PushSearchNode
(
This
,
current
Propert
y
.
rightChild
);
IEnumSTATSTGImpl_PushSearchNode
(
This
,
current
Entr
y
.
rightChild
);
/*
* continue the iteration.
...
...
@@ -3703,7 +3703,7 @@ static HRESULT WINAPI IEnumSTATSTGImpl_Reset(
{
IEnumSTATSTGImpl
*
const
This
=
(
IEnumSTATSTGImpl
*
)
iface
;
DirEntry
rootPropert
y
;
DirEntry
storageEntr
y
;
BOOL
readSuccessful
;
/*
...
...
@@ -3712,21 +3712,21 @@ static HRESULT WINAPI IEnumSTATSTGImpl_Reset(
This
->
stackSize
=
0
;
/*
* Read the
root property from the
storage.
* Read the
storage entry from the top-level
storage.
*/
readSuccessful
=
StorageImpl_ReadDirEntry
(
This
->
parentStorage
,
This
->
storageDirEntry
,
&
rootPropert
y
);
&
storageEntr
y
);
if
(
readSuccessful
)
{
assert
(
rootPropert
y
.
sizeOfNameString
!=
0
);
assert
(
storageEntr
y
.
sizeOfNameString
!=
0
);
/*
* Push the search node in the search stack.
*/
IEnumSTATSTGImpl_PushSearchNode
(
This
,
rootPropert
y
.
dirRootEntry
);
IEnumSTATSTGImpl_PushSearchNode
(
This
,
storageEntr
y
.
dirRootEntry
);
}
return
S_OK
;
...
...
@@ -3779,7 +3779,7 @@ static void IEnumSTATSTGImpl_PushSearchNode(
IEnumSTATSTGImpl
*
This
,
ULONG
nodeToPush
)
{
DirEntry
rootPropert
y
;
DirEntry
storageEntr
y
;
BOOL
readSuccessful
;
/*
...
...
@@ -3806,21 +3806,21 @@ static void IEnumSTATSTGImpl_PushSearchNode(
This
->
stackSize
++
;
/*
* Read the
root property from the
storage.
* Read the
storage entry from the top-level
storage.
*/
readSuccessful
=
StorageImpl_ReadDirEntry
(
This
->
parentStorage
,
nodeToPush
,
&
rootPropert
y
);
&
storageEntr
y
);
if
(
readSuccessful
)
{
assert
(
rootPropert
y
.
sizeOfNameString
!=
0
);
assert
(
storageEntr
y
.
sizeOfNameString
!=
0
);
/*
* Push the previous search node in the search stack.
*/
IEnumSTATSTGImpl_PushSearchNode
(
This
,
rootPropert
y
.
leftChild
);
IEnumSTATSTGImpl_PushSearchNode
(
This
,
storageEntr
y
.
leftChild
);
}
}
...
...
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