[Bug 33618] New: wmi query should support querying Process Name (inside wbemprox)
http://bugs.winehq.org/show_bug.cgi?id=33618 Bug #: 33618 Summary: wmi query should support querying Process Name (inside wbemprox) Product: Wine Version: 1.5.30 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: wmi&wbemprox AssignedTo: wine-bugs(a)winehq.org ReportedBy: rosen.diankov(a)gmail.com Classification: Unclassified Many people use the following construct to get the command line parameters a process was instantiated with: "SELECT CommandLine FROM Win32_Process WHERE Name='someprocess'" http://stackoverflow.com/questions/6264453/how-to-construct-wmi-query The problem is that the current wmi querying does not support getting process name. In fact very few of the Win32_Process parameters are supported. In order to support at least Name, I'm guessing the following is necessary: 1. in dlls/wbemprox/builtin.c col_process array, add an entry for prop_nameW 2. in dlls/wbemprox/builtin.c record_process structure, add "const WCHAR *name;" 3. in dlls/wbemprox/builtin.c fill_process function, add a line that initializes rec->name from the current process name. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=33618 Hans Leidekker <hans(a)meelstraat.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |d030b819c1f2971d45e9b110cf6 | |7b2ad89194f8b Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #1 from Hans Leidekker <hans(a)meelstraat.net> 2013-05-22 14:11:32 CDT --- Fixed by d030b819c1f2971d45e9b110cf67b2ad89194f8b. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=33618 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Alexandre Julliard <julliard(a)winehq.org> 2013-05-24 13:32:15 CDT --- Closing bugs fixed in 1.5.31. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org