|
Last change
on this file since de0bdb0 was
117fcf5,
checked in by Michael Medin <michael@…>, 7 years ago
|
|
* empty log message *
|
-
Property mode set to
100644
|
|
File size:
357 bytes
|
| Line | |
|---|
| 1 | #pragma once |
|---|
| 2 | |
|---|
| 3 | #include <string> |
|---|
| 4 | #include <map> |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | class WMIException { |
|---|
| 8 | public: |
|---|
| 9 | WMIException(std::string str, HRESULT code) { |
|---|
| 10 | std::cout << str << std::endl; |
|---|
| 11 | |
|---|
| 12 | } |
|---|
| 13 | }; |
|---|
| 14 | class WMIQuery |
|---|
| 15 | { |
|---|
| 16 | private: |
|---|
| 17 | bool bInitialized; |
|---|
| 18 | |
|---|
| 19 | public: |
|---|
| 20 | WMIQuery(void); |
|---|
| 21 | ~WMIQuery(void); |
|---|
| 22 | |
|---|
| 23 | std::map<std::string,int> execute(std::string query); |
|---|
| 24 | |
|---|
| 25 | bool initialize(); |
|---|
| 26 | void unInitialize(); |
|---|
| 27 | }; |
|---|
Note: See
TracBrowser
for help on using the repository browser.