http://bugs.winehq.org/show_bug.cgi?id=29903
Bug #: 29903 Summary: Microsoft Visual Studio 2005: enumeration of processes fails due to wtsapi32.WTSEnumerateProcessesW() being a stub ( "attach to process" menu)) Product: Wine Version: 1.4-rc3 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net Classification: Unclassified
Hello,
clicking "attach to process" menu item with default "local transport" leads to an error message stating "Operation not supported. Unknown error: 0x8007000e".
The process list (listview) is empty due to WTSEnumerateProcessesW() API being a stub.
Prerequisite: 'winetricks -q dotnet20 mfc42'
--- snip --- ... 0024:Call wtsapi32.WTSEnumerateProcessesW(00000000,00000000,00000001,0032e828,0032e824) ret=54bc508e 0024:fixme:wtsapi:WTSEnumerateProcessesW Stub (nil) 0x00000000 0x00000001 0x32e828 0x32e824 0024:Ret wtsapi32.WTSEnumerateProcessesW() retval=00000001 ret=54bc508e 0024:Call KERNEL32.GetProcAddress(7d910000,54cb3b3c "WTSFreeMemory") ret=54bb97d2 0024:Ret KERNEL32.GetProcAddress() retval=7d914fc8 ret=54bb97d2 0024:Call wtsapi32.WTSFreeMemory(00000000) ret=54bc51b9 0024:fixme:wtsapi:WTSFreeMemory Stub (nil) 0024:Ret wtsapi32.WTSFreeMemory() retval=0000002b ret=54bc51b9 ... 0024:Call oleaut32.SysAllocString(011722a8 L"Unable to connect to the Microsoft Visual Studio Remote Debugging Monitor named 'nexus4'. Operation not supported. Unknown error: 0x8007000e.") ret=54ba4f0c ... --- snip ---
MSDN: http://msdn.microsoft.com/en-us/library/windows/desktop/aa383831.aspx
Stub source: http://source.winehq.org/git/wine.git/blob/fddbf3b99d6582c50ede10dfddd8d438b... --- snip ---
--- snip --- 105 BOOL WINAPI WTSEnumerateProcessesW(HANDLE hServer, DWORD Reserved, DWORD Version, 106 PWTS_PROCESS_INFOW* ppProcessInfo, DWORD* pCount) 107 { 108 FIXME("Stub %p 0x%08x 0x%08x %p %p\n", hServer, Reserved, Version, 109 ppProcessInfo, pCount); 110 111 if (!ppProcessInfo || !pCount) return FALSE; 112 113 *pCount = 0; 114 *ppProcessInfo = NULL; 115 116 return TRUE; 117 } --- snip ---
$ wine --version wine-1.4-rc3-65-g98f0be8
Regards