Interface to the Windows Management Instrumentation https://msdn.microsoft.com/en-us/library/aa394582.aspx.
More...
#include <mlWMIInterface.h>
|
| std::string | queryWMIString (const char *wmiClassName, const char *wmiProperty) |
| | Returns UTF-8 encoded WMI property given the wmiClassName and wmiPropery.
|
| |
| MLuint32 | queryWMIuint32 (const char *wmiClassName, const char *wmiProperty) |
| | Returns integer WMI property given the wmiClassName and wmiPropery.
|
| |
|
| static WMIInterface * | self () |
| | Returns singleton. It creates singleton if init() was not yet called.
|
| |
| static void | init () |
| | Initializes the singleton.
|
| |
| static void | cleanup () |
| | Cleans up of the singleton.
|
| |
Interface to the Windows Management Instrumentation https://msdn.microsoft.com/en-us/library/aa394582.aspx.
Definition at line 35 of file mlWMIInterface.h.
◆ cleanup()
| static void ml::WMIInterface::cleanup |
( |
| ) |
|
|
static |
Cleans up of the singleton.
◆ init()
| static void ml::WMIInterface::init |
( |
| ) |
|
|
static |
Initializes the singleton.
◆ queryWMIString()
| std::string ml::WMIInterface::queryWMIString |
( |
const char * |
wmiClassName, |
|
|
const char * |
wmiProperty |
|
) |
| |
Returns UTF-8 encoded WMI property given the wmiClassName and wmiPropery.
◆ queryWMIuint32()
| MLuint32 ml::WMIInterface::queryWMIuint32 |
( |
const char * |
wmiClassName, |
|
|
const char * |
wmiProperty |
|
) |
| |
Returns integer WMI property given the wmiClassName and wmiPropery.
◆ self()
Returns singleton. It creates singleton if init() was not yet called.
The documentation for this class was generated from the following file: