[Bug 29903] Multiple games and applications fail to enumerate processes due to 'wtsapi32.WTSEnumerateProcessesW' stub (Visual Studio 2005, .NET 2.0 SDK DbgCLR, Akamai DL Manager, Dekaron)

WineHQ Bugzilla wine-bugs at winehq.org
Fri May 28 05:37:42 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=29903

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|STAGED                      |RESOLVED
      Fixed by SHA1|                            |5f8c7c25632ec520d42d3c1cb4a
                   |                            |deecbcaaa2f9f

--- Comment #21 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

this is indeed fixed by commit
https://source.winehq.org/git/wine.git/commitdiff/5f8c7c25632ec520d42d3c1cb4adeecbcaaa2f9f
("wtsapi32: Implement WTSEnumerateProcessesW().").

Thanks Sebastian and Zeb.

In Visual Studio IDE you need to check 'Show processes from all users' to get
the process list.

I've found the much smaller download from my comment #6

--- quote ---
this is also needed for "Akamai Download Manager" which uses "Akamai NetSession
Interface". 
--- quote ---

https://web.archive.org/web/20151121013111/https://client.akamai.com/install/bin/user_client_win_884d403/installer_upload.exe?name=installer.exe

Install and start the control app:

--- snip ---
$ pwd
/home/focht/.wine/drive_c/users/focht/AppData/Local/Akamai

$ WINEDEBUG=+wtsapi,+service,+process wine ./ControlPanel.exe
...
0024:trace:wtsapi:WTSEnumerateProcessesW server 00000000, reserved 0, version
1, info 00329B5C, count 00329B64
0024:trace:wtsapi:WTSEnumerateProcessesExW server 00000000, level 0, session_id
0xfffffffe, ret_info 00329B5C, ret_count 00329B64
...
0024:trace:process:CreateProcessInternalW app (null) cmdline
L"\"C:/users/focht/AppData/Local/Akamai/netsession_win.exe\""
---
0024:trace:process:CreateProcessInternalW started process pid 0104 tid 0108
0024:trace:process:GetEnvironmentVariableW (L"WINEUSERNAME" 0032C700 2048)
0024:trace:wtsapi:WTSEnumerateProcessesW server 00000000, reserved 0, version
1, info 00329C0C, count 00329C14
0024:trace:wtsapi:WTSEnumerateProcessesExW server 00000000, level 0, session_id
0xfffffffe, ret_info 00329C0C, ret_count 00329C14
...
--- snip ---

Under 'Preferences' observe the service status when pressing 'Start' or 'Stop'
button. It's now properly updated.

$ sha1sum installer.exe 
7d0c164b197cf90a8f03a4487fd3330fc7aeb04f  installer.exe

$ du -sh installer.exe 
10M    installer.exe

$ wine --version
wine-6.9-148-gce151dd681f

Regards

-- 
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.


More information about the wine-bugs mailing list