Author: tfaber
Date: Tue Nov 3 12:31:09 2015
New Revision: 69792
URL:
http://svn.reactos.org/svn/reactos?rev=69792&view=rev
Log:
[BROWSEUI]
- IEnumString::Next's pceltFetched parameter is not optional, so provide it. Fixes
exception when using Emerge Desktop
Modified:
trunk/reactos/dll/win32/browseui/CAutoComplete.cpp
Modified: trunk/reactos/dll/win32/browseui/CAutoComplete.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/CAutoCo…
==============================================================================
--- trunk/reactos/dll/win32/browseui/CAutoComplete.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/browseui/CAutoComplete.cpp [iso-8859-1] Tue Nov 3 12:31:09
2015
@@ -262,6 +262,7 @@
RECT r;
BOOL control, filled, displayall = FALSE;
int cpt, height, sel;
+ ULONG fetched;
if (!pThis->enabled)
{
@@ -429,7 +430,7 @@
for(cpt = 0;;)
{
- hr = pThis->enumstr->Next(1, &strs, NULL);
+ hr = pThis->enumstr->Next(1, &strs, &fetched);
if (hr != S_OK)
break;