"root\cimv2" works but "root\wmi" doesnt?

M

Mark Williams

Greetings all,

Im trying to get data out of any specified WMI
namespace/class/instance/property.

All data out of the "root\cimv2" namespace works perfectly, but any
data i try to query from "root\WMI" fails.

The function call that fails is "enum_object->Reset();" just before i
start walking though the objects with "enum_object->Next(WBEM_INFINITE,
1, &class_object, &ulret)".

Anyone know why this is happening?

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top