ML Reference
|
Interface to the Windows Management Instrumentation http://msdn.microsoft.com/en-us/library/aa394582.aspx. More...
#include <mlWMIInterface.h>
Public Member Functions | |
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 Public Member Functions | |
static WMIInterface * | self () |
get singleton (creates singleton if init() was not yet called) | |
static void | init () |
initializes the singleton | |
static void | cleanup () |
cleanup of the singleton |
Interface to the Windows Management Instrumentation http://msdn.microsoft.com/en-us/library/aa394582.aspx.
Definition at line 30 of file mlWMIInterface.h.
static void ml::WMIInterface::cleanup | ( | ) | [static] |
cleanup of the singleton
static void ml::WMIInterface::init | ( | ) | [static] |
initializes the singleton
std::string ml::WMIInterface::queryWMIString | ( | const char * | wmiClassName, |
const char * | wmiProperty | ||
) |
returns UTF-8 encoded WMI property given the wmiClassName and wmiPropery
MLuint32 ml::WMIInterface::queryWMIuint32 | ( | const char * | wmiClassName, |
const char * | wmiProperty | ||
) |
returns integer WMI property given the wmiClassName and wmiPropery
static WMIInterface* ml::WMIInterface::self | ( | ) | [static] |
get singleton (creates singleton if init() was not yet called)