ole32: Handle failure of reading directory entry in IEnumSTATSTG::Next.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com> Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e79684874d
commit
7bc1005f56
|
@ -1036,9 +1036,10 @@ static HRESULT WINAPI IEnumSTATSTGImpl_Next(
|
|||
/*
|
||||
* Read the entry from the storage.
|
||||
*/
|
||||
StorageBaseImpl_ReadDirEntry(This->parentStorage,
|
||||
hr = StorageBaseImpl_ReadDirEntry(This->parentStorage,
|
||||
currentSearchNode,
|
||||
¤tEntry);
|
||||
if (FAILED(hr)) break;
|
||||
|
||||
/*
|
||||
* Copy the information to the return buffer.
|
||||
|
|
Loading…
Reference in New Issue