Closed ghost closed 3 years ago
Added anonymous struct support for "CreateQuery". It now accepts a optional variadic "class" parameter. So you can pass the wmi class name when your struct is anonymous and has no name or your struct is not named like the wmi class.
Sadly the original creators of this module are no longer with Stack Overflow, but I feel that the change looks low-risk and is safe to merge.
Added anonymous struct support for "CreateQuery". It now accepts a optional variadic "class" parameter. So you can pass the wmi class name when your struct is anonymous and has no name or your struct is not named like the wmi class.