Soda Music version 2.4.2 will crash due to obtaining the Status property of Win32_DesktopMonitor and The DeviceID property of the Win32_VideoController failed.
The Soda music app download link: https://www.douyin.com/qishui/
From: yaoyongjie yaoyongjie@uniontech.com
Soda Music version 2.4.2 will crash due to obtaining the Status property of Win32_DesktopMonitor and The DeviceID property of the Win32_VideoController failed.
The Soda music app download link: https://www.douyin.com/qishui/ --- dlls/wbemprox/builtin.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/dlls/wbemprox/builtin.c b/dlls/wbemprox/builtin.c index fb309d1e25e..e77203f7d1e 100644 --- a/dlls/wbemprox/builtin.c +++ b/dlls/wbemprox/builtin.c @@ -135,6 +135,7 @@ static const struct column col_desktopmonitor[] = { { L"Name", CIM_STRING }, { L"PixelsPerXLogicalInch", CIM_UINT32 }, + { L"Status", CIM_STRING }, }; static const struct column col_directory[] = { @@ -505,7 +506,7 @@ static const struct column col_videocontroller[] = { L"CurrentScanMode", CIM_UINT16 }, { L"CurrentVerticalResolution", CIM_UINT32 }, { L"Description", CIM_STRING|COL_FLAG_DYNAMIC }, - { L"DeviceId", CIM_STRING|COL_FLAG_DYNAMIC|COL_FLAG_KEY }, + { L"DeviceID", CIM_STRING|COL_FLAG_DYNAMIC|COL_FLAG_KEY }, { L"DeviceSpecificPens", CIM_UINT32 }, { L"DitherType", CIM_UINT32 }, { L"DriverDate", CIM_DATETIME|COL_FLAG_DYNAMIC }, @@ -652,6 +653,7 @@ struct record_desktopmonitor { const WCHAR *name; UINT32 pixelsperxlogicalinch; + const WCHAR *status; }; struct record_directory { @@ -2352,6 +2354,7 @@ static enum fill_status fill_desktopmonitor( struct table *table, const struct e rec = (struct record_desktopmonitor *)table->data; rec->name = L"Generic Non-PnP Monitor"; rec->pixelsperxlogicalinch = get_pixelsperxlogicalinch(); + rec->status = L"OK";
if (match_row( table, row, cond, &status )) row++;
This merge request was approved by Hans Leidekker.