[PATCH v2] programs/wmic: Add missing aliases.

Hans Leidekker hans at codeweavers.com
Mon Mar 8 02:25:42 CST 2021


From: Chao Long <longchao at uniontech.com>

v2: Improve patch subject.

Signed-off-by: Chao Long <longchao at uniontech.com>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
---
 programs/wmic/main.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/programs/wmic/main.c b/programs/wmic/main.c
index 1372c0986e9..f0b6ea0f05d 100644
--- a/programs/wmic/main.c
+++ b/programs/wmic/main.c
@@ -44,7 +44,10 @@ alias_map[] =
     { L"LogicalDisk", L"Win32_LogicalDisk" },
     { L"nic", L"Win32_NetworkAdapter" },
     { L"os", L"Win32_OperatingSystem" },
-    { L"process", L"Win32_Process" }
+    { L"process", L"Win32_Process" },
+    { L"baseboard", L"Win32_BaseBoard" },
+    { L"diskdrive", L"Win32_DiskDrive" },
+    { L"memorychip", L"Win32_PhysicalMemory" }
 };
 
 static const WCHAR *find_class( const WCHAR *alias )
-- 
2.30.1




More information about the wine-devel mailing list