I tested a program a user was asking about on the forum (https://forum.winehq.org/viewtopic.php?t=38192).
The program (or in fact a file called Unity.Licensing.Client.exe) looks for namespace "root\StandardCimv2"
After adding this patch following query is done:
0024:trace:wbemprox:wbem_services_ExecQuery 00007FFB582B6660, L"WQL", L"SELECT Name,InterfaceDescription,PermanentAddress,NetworkAddresses,PNPDeviceID FROM MSFT_NetAdapter", 0x20, 0000000000000000, 00007FFFFE27DCD8
I don't know exactly what the problem is that user is experiencing, I can only tell that I'm not able to login. I provided some dummy values for the requested properties from the MSFT_NetAdapter class but that didn't help. For now I think adding the MSFT_NetAdapter class is not yet worth the trouble, but with this patch it is at least visible for what class the program is looking for.
The program can be found at https://unity3d.atlassian.net/wiki/spaces/AR/pages/1571848193/New+in+ArtEngi...
From: Louis Lenders xerox.xerox2000x@gmail.com
I tested a program a user was asking about on the forum (https://forum.winehq.org/viewtopic.php?t=38192).
The program (or in fact a file called Unity.Licensing.Client.exe) looks for namespace "root\StandardCimv2"
After adding this patch following query is done:
0024:trace:wbemprox:wbem_services_ExecQuery 00007FFB582B6660, L"WQL", L"SELECT Name,InterfaceDescription,PermanentAddress,NetworkAddresses,PNPDeviceID FROM MSFT_NetAdapter", 0x20, 0000000000000000, 00007FFFFE27DCD8
I don't know exactly what the problem is that user is experiencing, I can only tell that I'm not able to login. I provided some dummy values for the requested properties from the MSFT_NetAdapter class but that didn't help. For now I think adding the MSFT_NetAdapter class is not yet worth the trouble, but with this patch it is at least visible for what class the program is looking for.
The program can be found at https://unity3d.atlassian.net/wiki/spaces/AR/pages/1571848193/New+in+ArtEngi... --- 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, };
This merge request was approved by Hans Leidekker.