Pyrogenesis  trunk
Macros | Typedefs | Functions
wmi.h File Reference
#include <map>
#include "lib/sysdep/os/win/win.h"
#include <comdef.h>
Include dependency graph for wmi.h:
This graph shows which files directly or indirectly include this file:

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

Typedef Documentation

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

Function Documentation

Status wmi_GetClassInstances ( const wchar_t className,
WmiInstances instances 
)

get all instances of the requested class.

void wmi_Shutdown ( )