WMI_Helper makes it simple to interface and request information from the WMI.
A map of string property names to their VARIANT values
A vector of wmiValue maps
WMI_Helper( |
| ) |
Creates a WMI_Helper object
wmi_namespace std::string | The string name of the WMI Namespace (ie. "root\\CIMV2\\Applications\\Games") |
wmi_class std::string | The string name of the WMI Class (ie. "Game") |
std::exception | Thrown if any errors occur during the connect stage |
Destroys the WMI_Helper object
wmiValues request( |
| ) |
Starts a request for information received from WMI
valuesToGet std::vector<std::string> | A vector of strings to request from the namespace and class that was given at construction time |
A vector containing a map for each found item, with each map containing a parameter-value pair
std::exception | Thrown if any errors occur, including if the values that were requested were incorrect |
Connects and retrieves information from the WMI namespace and class that was given at construction time
std::exception | Thrown if any errors occur, including if the namespace or class are incorrect |
The WMI namespace that this is using
The WMI class that this is using
The enumerator that holds all the information internally from the request