ole32: Properly initialize hash value in CompositeMonikerImpl_Hash.

This commit is contained in:
Alexandre Julliard 2006-05-08 16:04:41 +02:00
parent b6592efa83
commit fec050c88d
1 changed files with 2 additions and 0 deletions

View File

@ -618,6 +618,8 @@ CompositeMonikerImpl_Hash(IMoniker* iface,DWORD* pdwHash)
if(FAILED(res))
return res;
*pdwHash = 0;
while(IEnumMoniker_Next(enumMoniker,1,&tempMk,NULL)==S_OK){
res = IMoniker_Hash(tempMk, &tempHash);
if(FAILED(res))