13#ifndef ML_WMIINTERFACE_H
14#define ML_WMIINTERFACE_H
26#include <ThirdPartyWarningsDisable.h>
29#include <ThirdPartyWarningsRestore.h>
63 bool _needsUninitialize;
Interface to the Windows Management Instrumentation https://msdn.microsoft.com/en-us/library/aa394582...
static WMIInterface * self()
Returns singleton. It creates singleton if init() was not yet called.
static void cleanup()
Cleans up of the singleton.
static void init()
Initializes the singleton.
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.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.