From 55451956c45a1df75e6ba52367bcf3551c66d886 Mon Sep 17 00:00:00 2001 From: isanae <14251494+isanae@users.noreply.github.com> Date: Fri, 10 Jul 2020 15:31:08 -0400 Subject: added VT_UI1 for productState --- src/envsecurity.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/envsecurity.cpp') 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 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 { -- cgit v1.3.1