Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Typedefs | Functions
wmi.h File Reference
#include <map>
#include "lib/sysdep/os/win/win.h"
#include <comdef.h>

Go to the source code of this file.

Macros

#define _WIN32_DCOM
 

Typedefs

typedef std::map< std::wstring,
VARIANT > 
WmiInstance
 
typedef std::vector< WmiInstanceWmiInstances
 

Functions

Status wmi_GetClassInstances (const wchar_t *className, WmiInstances &instances)
 get all instances of the requested class. More...
 
void wmi_Shutdown ()
 

Macro Definition Documentation

#define _WIN32_DCOM

Definition at line 36 of file wmi.h.

Typedef Documentation

typedef std::map<std::wstring, VARIANT> WmiInstance

Definition at line 40 of file wmi.h.

typedef std::vector<WmiInstance> WmiInstances

Definition at line 42 of file wmi.h.

Function Documentation

Status wmi_GetClassInstances ( const wchar_t className,
WmiInstances instances 
)

get all instances of the requested class.

Definition at line 106 of file wmi.cpp.

void wmi_Shutdown ( )

Definition at line 100 of file wmi.cpp.