ole32: Create moniker enumerator with an initial reference count.
This commit is contained in:
parent
91e51971c0
commit
806f6e7bd6
|
@ -1658,7 +1658,7 @@ EnumMonikerImpl_CreateEnumMoniker(IMoniker** tabMoniker, ULONG tabSize,
|
||||||
|
|
||||||
/* Initialize the virtual function table. */
|
/* Initialize the virtual function table. */
|
||||||
newEnumMoniker->lpVtbl = &VT_EnumMonikerImpl;
|
newEnumMoniker->lpVtbl = &VT_EnumMonikerImpl;
|
||||||
newEnumMoniker->ref = 0;
|
newEnumMoniker->ref = 1;
|
||||||
|
|
||||||
newEnumMoniker->tabSize=tabSize;
|
newEnumMoniker->tabSize=tabSize;
|
||||||
newEnumMoniker->currentPos=currentPos;
|
newEnumMoniker->currentPos=currentPos;
|
||||||
|
|
Loading…
Reference in New Issue