Commit f8ca09c0 authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

ole32: Rename property variables in IEnumSTATSTGImpl methods.

parent 54781b65
...@@ -3574,7 +3574,7 @@ static HRESULT WINAPI IEnumSTATSTGImpl_Next( ...@@ -3574,7 +3574,7 @@ static HRESULT WINAPI IEnumSTATSTGImpl_Next(
{ {
IEnumSTATSTGImpl* const This=(IEnumSTATSTGImpl*)iface; IEnumSTATSTGImpl* const This=(IEnumSTATSTGImpl*)iface;
DirEntry currentProperty; DirEntry currentEntry;
STATSTG* currentReturnStruct = rgelt; STATSTG* currentReturnStruct = rgelt;
ULONG objectFetched = 0; ULONG objectFetched = 0;
ULONG currentSearchNode; ULONG currentSearchNode;
...@@ -3609,17 +3609,17 @@ static HRESULT WINAPI IEnumSTATSTGImpl_Next( ...@@ -3609,17 +3609,17 @@ static HRESULT WINAPI IEnumSTATSTGImpl_Next(
IEnumSTATSTGImpl_PopSearchNode(This, TRUE); IEnumSTATSTGImpl_PopSearchNode(This, TRUE);
/* /*
* Read the property from the storage. * Read the entry from the storage.
*/ */
StorageImpl_ReadDirEntry(This->parentStorage, StorageImpl_ReadDirEntry(This->parentStorage,
currentSearchNode, currentSearchNode,
&currentProperty); &currentEntry);
/* /*
* Copy the information to the return buffer. * Copy the information to the return buffer.
*/ */
StorageUtl_CopyDirEntryToSTATSTG(currentReturnStruct, StorageUtl_CopyDirEntryToSTATSTG(currentReturnStruct,
&currentProperty, &currentEntry,
STATFLAG_DEFAULT); STATFLAG_DEFAULT);
/* /*
...@@ -3631,7 +3631,7 @@ static HRESULT WINAPI IEnumSTATSTGImpl_Next( ...@@ -3631,7 +3631,7 @@ static HRESULT WINAPI IEnumSTATSTGImpl_Next(
/* /*
* Push the next search node in the search stack. * Push the next search node in the search stack.
*/ */
IEnumSTATSTGImpl_PushSearchNode(This, currentProperty.rightChild); IEnumSTATSTGImpl_PushSearchNode(This, currentEntry.rightChild);
/* /*
* continue the iteration. * continue the iteration.
...@@ -3652,7 +3652,7 @@ static HRESULT WINAPI IEnumSTATSTGImpl_Skip( ...@@ -3652,7 +3652,7 @@ static HRESULT WINAPI IEnumSTATSTGImpl_Skip(
{ {
IEnumSTATSTGImpl* const This=(IEnumSTATSTGImpl*)iface; IEnumSTATSTGImpl* const This=(IEnumSTATSTGImpl*)iface;
DirEntry currentProperty; DirEntry currentEntry;
ULONG objectFetched = 0; ULONG objectFetched = 0;
ULONG currentSearchNode; ULONG currentSearchNode;
...@@ -3670,11 +3670,11 @@ static HRESULT WINAPI IEnumSTATSTGImpl_Skip( ...@@ -3670,11 +3670,11 @@ static HRESULT WINAPI IEnumSTATSTGImpl_Skip(
IEnumSTATSTGImpl_PopSearchNode(This, TRUE); IEnumSTATSTGImpl_PopSearchNode(This, TRUE);
/* /*
* Read the property from the storage. * Read the entry from the storage.
*/ */
StorageImpl_ReadDirEntry(This->parentStorage, StorageImpl_ReadDirEntry(This->parentStorage,
currentSearchNode, currentSearchNode,
&currentProperty); &currentEntry);
/* /*
* Step to the next item in the iteration * Step to the next item in the iteration
...@@ -3684,7 +3684,7 @@ static HRESULT WINAPI IEnumSTATSTGImpl_Skip( ...@@ -3684,7 +3684,7 @@ static HRESULT WINAPI IEnumSTATSTGImpl_Skip(
/* /*
* Push the next search node in the search stack. * Push the next search node in the search stack.
*/ */
IEnumSTATSTGImpl_PushSearchNode(This, currentProperty.rightChild); IEnumSTATSTGImpl_PushSearchNode(This, currentEntry.rightChild);
/* /*
* continue the iteration. * continue the iteration.
...@@ -3703,7 +3703,7 @@ static HRESULT WINAPI IEnumSTATSTGImpl_Reset( ...@@ -3703,7 +3703,7 @@ static HRESULT WINAPI IEnumSTATSTGImpl_Reset(
{ {
IEnumSTATSTGImpl* const This=(IEnumSTATSTGImpl*)iface; IEnumSTATSTGImpl* const This=(IEnumSTATSTGImpl*)iface;
DirEntry rootProperty; DirEntry storageEntry;
BOOL readSuccessful; BOOL readSuccessful;
/* /*
...@@ -3712,21 +3712,21 @@ static HRESULT WINAPI IEnumSTATSTGImpl_Reset( ...@@ -3712,21 +3712,21 @@ static HRESULT WINAPI IEnumSTATSTGImpl_Reset(
This->stackSize = 0; This->stackSize = 0;
/* /*
* Read the root property from the storage. * Read the storage entry from the top-level storage.
*/ */
readSuccessful = StorageImpl_ReadDirEntry( readSuccessful = StorageImpl_ReadDirEntry(
This->parentStorage, This->parentStorage,
This->storageDirEntry, This->storageDirEntry,
&rootProperty); &storageEntry);
if (readSuccessful) if (readSuccessful)
{ {
assert(rootProperty.sizeOfNameString!=0); assert(storageEntry.sizeOfNameString!=0);
/* /*
* Push the search node in the search stack. * Push the search node in the search stack.
*/ */
IEnumSTATSTGImpl_PushSearchNode(This, rootProperty.dirRootEntry); IEnumSTATSTGImpl_PushSearchNode(This, storageEntry.dirRootEntry);
} }
return S_OK; return S_OK;
...@@ -3779,7 +3779,7 @@ static void IEnumSTATSTGImpl_PushSearchNode( ...@@ -3779,7 +3779,7 @@ static void IEnumSTATSTGImpl_PushSearchNode(
IEnumSTATSTGImpl* This, IEnumSTATSTGImpl* This,
ULONG nodeToPush) ULONG nodeToPush)
{ {
DirEntry rootProperty; DirEntry storageEntry;
BOOL readSuccessful; BOOL readSuccessful;
/* /*
...@@ -3806,21 +3806,21 @@ static void IEnumSTATSTGImpl_PushSearchNode( ...@@ -3806,21 +3806,21 @@ static void IEnumSTATSTGImpl_PushSearchNode(
This->stackSize++; This->stackSize++;
/* /*
* Read the root property from the storage. * Read the storage entry from the top-level storage.
*/ */
readSuccessful = StorageImpl_ReadDirEntry( readSuccessful = StorageImpl_ReadDirEntry(
This->parentStorage, This->parentStorage,
nodeToPush, nodeToPush,
&rootProperty); &storageEntry);
if (readSuccessful) if (readSuccessful)
{ {
assert(rootProperty.sizeOfNameString!=0); assert(storageEntry.sizeOfNameString!=0);
/* /*
* Push the previous search node in the search stack. * Push the previous search node in the search stack.
*/ */
IEnumSTATSTGImpl_PushSearchNode(This, rootProperty.leftChild); IEnumSTATSTGImpl_PushSearchNode(This, storageEntry.leftChild);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment