Need help getting Win32_PNPEntity WMI class added
hans at codeweavers.com
Mon Mar 3 02:15:12 CST 2014
On Mon, 2014-03-03 at 01:37 +0000, Luke A. Guest wrote:
> With the *_pnpentity* elements being mine. I've hardcoded the USB device
> hardware ID in for now. I also added a TRACE to get_propval, but that's
> not being called.
> Here's the relevant part of the log:
> 0009:trace:wbemprox:wbem_services_CreateInstanceEnum 0x3cd6b58,
> L"Win32_PNPEntity", 000000000, (nil), 0x32f858
> 0009:trace:wbemprox:parse_query parse_query: L"SELECT * FROM
> 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.
More information about the wine-devel