[PATCH v2 0/1] MR8745: wbemprox: Add Status property to Win32_Process
This is needed for 8BitDo Firmware Updater version 2.52 -- v2: wbemprox: Add Status property to Win32_Process https://gitlab.winehq.org/wine/wine/-/merge_requests/8745
From: Adam Słaboń <asaillen(a)protonmail.com> This is needed for 8BitDo Firmware Updater version 2.52 --- dlls/wbemprox/builtin.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/wbemprox/builtin.c b/dlls/wbemprox/builtin.c index e77203f7d1e..67cd4489127 100644 --- a/dlls/wbemprox/builtin.c +++ b/dlls/wbemprox/builtin.c @@ -351,6 +351,7 @@ static const struct column col_process[] = { L"Name", CIM_STRING|COL_FLAG_DYNAMIC }, { L"ParentProcessID", CIM_UINT32 }, { L"ProcessID", CIM_UINT32 }, + { L"Status", CIM_STRING }, { L"ThreadCount", CIM_UINT32 }, { L"WorkingSetSize", CIM_UINT64 }, /* methods */ @@ -869,6 +870,7 @@ struct record_process const WCHAR *name; UINT32 pprocess_id; UINT32 process_id; + const WCHAR *status; UINT32 thread_count; UINT64 workingsetsize; /* methods */ @@ -3635,6 +3637,7 @@ static enum fill_status fill_process( struct table *table, const struct expr *co rec->name = wcsdup( entry.szExeFile ); rec->process_id = entry.th32ProcessID; rec->pprocess_id = entry.th32ParentProcessID; + rec->status = NULL; rec->thread_count = entry.cntThreads; /* methods */ rec->create = process_create; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/8745
On Fri Aug 15 13:00:16 2025 +0000, Hans Leidekker wrote:
MSDN says "This property is not implemented and does not get populated for any instance of this class. It is always NULL." I get NULL in a test on Windows 10. Ah sorry, I did not see that before. The tool still works with the property set to NULL as well.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8745#note_112920
This merge request was closed by Hans Leidekker. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8745
participants (2)
-
Adam Słaboń -
Hans Leidekker (@hans)