Module: wine Branch: master Commit: 1e1d18a44484a595b7a519f26d9189ef1866ea37 URL: https://gitlab.winehq.org/wine/wine/-/commit/1e1d18a44484a595b7a519f26d9189e...
Author: Louis Lenders xerox.xerox2000x@gmail.com Date: Tue Nov 21 09:19:34 2023 +0100
wbemprox: Add StandardCimv2 namespace.
---
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 fe496bdde41..e751299e4e6 100644 --- a/dlls/wbemprox/builtin.c +++ b/dlls/wbemprox/builtin.c @@ -4369,6 +4369,7 @@ builtin_namespaces[WBEMPROX_NAMESPACE_LAST] = { {L"cimv2", cimv2_builtin_classes, ARRAY_SIZE(cimv2_builtin_classes)}, {L"Microsoft\Windows\Storage", NULL, 0}, + {L"StandardCimv2", NULL, 0}, {L"wmi", wmi_builtin_classes, ARRAY_SIZE(wmi_builtin_classes)}, };
diff --git a/dlls/wbemprox/tests/services.c b/dlls/wbemprox/tests/services.c index e7fbc90cf61..4881cee745d 100644 --- a/dlls/wbemprox/tests/services.c +++ b/dlls/wbemprox/tests/services.c @@ -256,6 +256,7 @@ static void test_namespaces(void) { {L"ROOT\CIMV2"}, {L"ROOT\Microsoft\Windows\Storage", TRUE /* Before Win8. */}, + {L"ROOT\StandardCimv2", TRUE /* Before Win8. */}, {L"ROOT\WMI"}, }; IWbemLocator *locator; diff --git a/dlls/wbemprox/wbemprox_private.h b/dlls/wbemprox/wbemprox_private.h index 2701c725c89..3c8fa403c57 100644 --- a/dlls/wbemprox/wbemprox_private.h +++ b/dlls/wbemprox/wbemprox_private.h @@ -23,6 +23,7 @@ enum wbm_namespace { WBEMPROX_NAMESPACE_CIMV2, WBEMPROX_NAMESPACE_MS_WINDOWS_STORAGE, + WBEMPROX_NAMESPACE_STANDARDCIMV2, WBEMPROX_NAMESPACE_WMI, WBEMPROX_NAMESPACE_LAST, };