wbemprox: Silence some noisy FIXMEs.

Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
This commit is contained in:
Frédéric Delanoy 2015-10-05 14:13:08 +02:00 committed by Alexandre Julliard
parent 7bbcc766ef
commit ea3dba9d69
1 changed files with 4 additions and 2 deletions

View File

@ -114,13 +114,14 @@ static HRESULT WINAPI enum_class_object_Next(
{ {
struct enum_class_object *ec = impl_from_IEnumWbemClassObject( iface ); struct enum_class_object *ec = impl_from_IEnumWbemClassObject( iface );
struct view *view = ec->query->view; struct view *view = ec->query->view;
static int once = 0;
HRESULT hr; HRESULT hr;
TRACE("%p, %d, %u, %p, %p\n", iface, lTimeout, uCount, apObjects, puReturned); TRACE("%p, %d, %u, %p, %p\n", iface, lTimeout, uCount, apObjects, puReturned);
if (!uCount) return WBEM_S_FALSE; if (!uCount) return WBEM_S_FALSE;
if (!apObjects || !puReturned) return WBEM_E_INVALID_PARAMETER; if (!apObjects || !puReturned) return WBEM_E_INVALID_PARAMETER;
if (lTimeout != WBEM_INFINITE) FIXME("timeout not supported\n"); if (lTimeout != WBEM_INFINITE && !once++) FIXME("timeout not supported\n");
*puReturned = 0; *puReturned = 0;
if (ec->index >= view->count) return WBEM_S_FALSE; if (ec->index >= view->count) return WBEM_S_FALSE;
@ -162,10 +163,11 @@ static HRESULT WINAPI enum_class_object_Skip(
{ {
struct enum_class_object *ec = impl_from_IEnumWbemClassObject( iface ); struct enum_class_object *ec = impl_from_IEnumWbemClassObject( iface );
struct view *view = ec->query->view; struct view *view = ec->query->view;
static int once = 0;
TRACE("%p, %d, %u\n", iface, lTimeout, nCount); TRACE("%p, %d, %u\n", iface, lTimeout, nCount);
if (lTimeout != WBEM_INFINITE) FIXME("timeout not supported\n"); if (lTimeout != WBEM_INFINITE && !once++) FIXME("timeout not supported\n");
if (!view->count) return WBEM_S_FALSE; if (!view->count) return WBEM_S_FALSE;