diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-07-10 15:31:08 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-07-10 15:31:08 -0400 |
| commit | 55451956c45a1df75e6ba52367bcf3551c66d886 (patch) | |
| tree | 5321dcf232a015fff36aa6dd7692547e0ae08a19 /src/envsecurity.cpp | |
| parent | cf01fa955c72e0c159557e972d1f5a7005fc2121 (diff) | |
added VT_UI1 for productState
Diffstat (limited to 'src/envsecurity.cpp')
| -rw-r--r-- | src/envsecurity.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/envsecurity.cpp b/src/envsecurity.cpp index 8b1d25b2..fd65b483 100644 --- a/src/envsecurity.cpp +++ b/src/envsecurity.cpp @@ -298,6 +298,8 @@ std::optional<SecurityProduct> handleProduct(IWbemClassObject* o) state = prop.lVal; } else if (prop.vt == VT_UI4) { state = prop.ulVal; + } else if (prop.vt == VT_UI1) { + state = prop.bVal; } else if (prop.vt == VT_NULL) { log::warn("productState is null"); } else { |
