Need help getting Win32_PNPEntity WMI class added

Luke A. Guest laguest at archeia.com
Mon Mar 3 11:37:23 CST 2014


On Mon, 2014-03-03 at 09:15 +0100, Hans Leidekker wrote:

> > 0009:trace:wbemprox:parse_query wql_parse returned 0
> > 0009:trace:wbemprox:EnumWbemClassObject_create 0x32f858
> > 0009:trace:wbemprox:EnumWbemClassObject_create returning iface 0x3cd6ea8
> > 0009:trace:wbemprox:enum_class_object_Next 0x3cd6ea8, 10000, 20,
> > 0x32f888, 0x32f864
> ...
> > Have I missed something here?
> 
> It's asking for 20 objects. The return value of EnumWbemClassObject::Next depends
> on whether the enumeration has ended but the first call will probably always
> return WBEM_S_NO_ERROR on Windows.

My understanding of that code was that it always returned 1 object no
matter what the client was asking for as the api can always return less
than what was asked for. If this is not right, then the wine code needs
to return as many objects as possible, right?

Luke.





More information about the wine-devel mailing list