[PATCH v2] wbemprox: Add WMI namespace
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Sat Oct 16 03:01:25 CDT 2021
v2:
Add test.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
dlls/wbemprox/builtin.c | 1 +
dlls/wbemprox/tests/services.c | 1 +
dlls/wbemprox/wbemprox_private.h | 1 +
3 files changed, 3 insertions(+)
diff --git a/dlls/wbemprox/builtin.c b/dlls/wbemprox/builtin.c
index d76602f4930..90bc5ae644f 100644
--- a/dlls/wbemprox/builtin.c
+++ b/dlls/wbemprox/builtin.c
@@ -4135,6 +4135,7 @@ builtin_namespaces[WBEMPROX_NAMESPACE_LAST] =
{
{L"cimv2", cimv2_builtin_classes, ARRAY_SIZE(cimv2_builtin_classes)},
{L"Microsoft\\Windows\\Storage", NULL, 0},
+ {L"wmi", NULL, 0},
};
void init_table_list( void )
diff --git a/dlls/wbemprox/tests/services.c b/dlls/wbemprox/tests/services.c
index 86ee99c335c..f72d43c0b0b 100644
--- a/dlls/wbemprox/tests/services.c
+++ b/dlls/wbemprox/tests/services.c
@@ -258,6 +258,7 @@ static void test_namespaces(void)
{
{L"ROOT\\CIMV2"},
{L"ROOT\\Microsoft\\Windows\\Storage", TRUE /* Before Win8. */},
+ {L"ROOT\\WMI"},
};
IWbemLocator *locator;
IWbemServices *services;
diff --git a/dlls/wbemprox/wbemprox_private.h b/dlls/wbemprox/wbemprox_private.h
index 6b94bbb9ef6..a2bf5071612 100644
--- a/dlls/wbemprox/wbemprox_private.h
+++ b/dlls/wbemprox/wbemprox_private.h
@@ -24,6 +24,7 @@ enum wbm_namespace
{
WBEMPROX_NAMESPACE_CIMV2,
WBEMPROX_NAMESPACE_MS_WINDOWS_STORAGE,
+ WBEMPROX_NAMESPACE_WMI,
WBEMPROX_NAMESPACE_LAST,
};
--
2.33.0
More information about the wine-devel
mailing list