ole32: Create moniker enumerator with an initial reference count.

This commit is contained in:
Robert Shearman 2006-05-08 12:44:37 +01:00 committed by Alexandre Julliard
parent 91e51971c0
commit 806f6e7bd6
1 changed files with 1 additions and 1 deletions

View File

@ -1658,7 +1658,7 @@ EnumMonikerImpl_CreateEnumMoniker(IMoniker** tabMoniker, ULONG tabSize,
/* Initialize the virtual function table. */
newEnumMoniker->lpVtbl = &VT_EnumMonikerImpl;
newEnumMoniker->ref = 0;
newEnumMoniker->ref = 1;
newEnumMoniker->tabSize=tabSize;
newEnumMoniker->currentPos=currentPos;