[Bug 29903] Some Microsoft debuggers fail to enumerate processes due to wtsapi32.WTSEnumerateProcessesW() being a stub (Microsoft Visual Studio 2005, DbgCLR from .NET 2.0 SDK)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Dec 13 15:22:43 CST 2013


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

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

this is also needed for "Akamai Download Manager" which uses "Akamai NetSession
Interface".
The control panel/installer engine uses "WTSEnumerateProcessesW" API to check
for running processes/services and this obviously fails.

--- snip ---
$ pwd
/home/focht/.wine/drive_c/users/focht/Local Settings/Application Data/Akamai

$ WINEDEBUG=+tid,+seh,+relay wine ./ControlPanel.exe >>log.txt 2>&1
...
0009:Call KERNEL32.CreateProcessW(00000000,0033cab0 L"\"C:/users/focht/Local
Settings/Application
Data/Akamai/netsession_win.exe\"",00000000,00000000,00000000,00000008,00000000,0033ccb8
L"C:/users/focht/Local Settings/Application Data/Akamai",0033ca50,0033ca98)
ret=0043a8c1
...
0024:Call KERNEL32.__wine_kernel_init() ret=7bc599ec
0009:Ret  KERNEL32.CreateProcessW() retval=00000001 ret=0043a8c1 
...
0009:Call user32.SetWindowTextW(0001007c,00a3d160 L"Start") ret=00468b92 
...
0009:Call
wtsapi32.WTSEnumerateProcessesW(00000000,00000000,00000001,003398c8,003398d4)
ret=0043e2b1
0009:fixme:wtsapi:WTSEnumerateProcessesW Stub (nil) 0x00000000 0x00000001
0x3398c8 0x3398d4
0009:Ret  wtsapi32.WTSEnumerateProcessesW() retval=00000001 ret=0043e2b1 
...
0009:Call user32.SetWindowTextW(0001007a,00a3e978 L"Not Running") ret=00468b92 
...
0024:Call KERNEL32.CreateProcessW(00000000,00944b40 L"\"C:/users/focht/Local
Settings/Application Data/Akamai/netsession_win.exe\"
--client",00000000,00000000,00000000,00000008,00000000,00944bf0
L"C:/users/focht/Local Settings/Application Data/Akamai",0033f830,0033f880)
ret=004332e6
...
0026:Call KERNEL32.__wine_kernel_init() ret=7bc599ec
0024:Ret  KERNEL32.CreateProcessW() retval=00000001 ret=004332e6 
...
0009:Call
wtsapi32.WTSEnumerateProcessesW(00000000,00000000,00000001,003398c8,003398d4)
ret=0043e2b1
0009:fixme:wtsapi:WTSEnumerateProcessesW Stub (nil) 0x00000000 0x00000001
0x3398c8 0x3398d4
0009:Ret  wtsapi32.WTSEnumerateProcessesW() retval=00000001 ret=0043e2b1 
...
0009:Call user32.SetWindowTextW(0001007a,00a3e978 L"Not Running") ret=00468b92 
--- snip ---

@Stefan: Can you send your partial implementation to wine-patches for review?
It's enough to help the apps.

$ wine --version
wine-1.7.8-220-g0bef543

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