https://bugs.winehq.org/show_bug.cgi?id=42103
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |ntdll
--- Comment #4 from Louis Lenders xerox.xerox2000x@gmail.com --- Still present in current wine/staging (Note: I used ninite installer to install: https://ninite.com/ , just tick the checkbox for Visual Studio Code)
Bug is probably related to following, as with a stupid hack*** I was able to start the application
0009:Call KERNEL32.MultiByteToWideChar(0000fde9,00000000,0032e964 "\\.\pipe\551bc4942757be3176709ec51b50e9ef-1.18.1-main-sock",ffffffff,10f01418,0000003b ) ret=10912015 0009:Ret KERNEL32.MultiByteToWideChar() retval=0000003b ret=10912015 0009:Call KERNEL32.CreateNamedPipeW(10f01418 L"\\.\pipe\551bc4942757be3176709ec51b50e9ef-1.18.1-main-sock",40080003,00000000,000000ff,00010000,00010000,0 0000000,00000000) ret=10912039 0009:Ret KERNEL32.CreateNamedPipeW() retval=000002bc ret=10912039 0009:Call KERNEL32.SetNamedPipeHandleState(000002bc,0032e904,00000000,00000000) ret=10913af5 0009:Ret KERNEL32.SetNamedPipeHandleState() retval=00000001 ret=10913af5 0009:Call ntdll.NtQueryInformationFile(000002bc,0032e8fc,0032e918,00000004,00000010) ret=10913b47 0009:Ret ntdll.NtQueryInformationFile() retval=c00000b3 ret=10913b47
***stupid hack: diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c index ca2afa0..465044e 100644 --- a/dlls/ntdll/file.c +++ b/dlls/ntdll/file.c @@ -2221,7 +2221,7 @@ static NTSTATUS fill_name_info( const ANSI_STRING *unix_name, FILE_NAME_INFORMAT */ NTSTATUS WINAPI NtQueryInformationFile( HANDLE hFile, PIO_STATUS_BLOCK io, PVOID ptr, LONG len, FILE_INFORMATION_CLASS class ) -{ +{ if(class == 0x10) return 0; static const size_t info_sizes[] = { 0,