Re: [4/4] ntdll: Properly set flag which indicates buffer empty state.

2013-08-28 Thread Dmitry Timoshkov
Dmitry Timoshkov wrote: > Wolfgang Walter wrote: > > > I think that happens: > > > > * application writes data to com port. > > * all is written, serial buffer is empty > > * application calls WaitCommEvent() > > * wait_on() is called > > * wait_on() calls get_irq_info() > > * get_irq_info()

Re: [4/4] ntdll: Properly set flag which indicates buffer empty state.

2013-08-28 Thread Dmitry Timoshkov
Wolfgang Walter wrote: > I think that happens: > > * application writes data to com port. > * all is written, serial buffer is empty > * application calls WaitCommEvent() > * wait_on() is called > * wait_on() calls get_irq_info() > * get_irq_info() sets commio->irq_info->temt = 1 > * wait_on()

Re: ntdll: Store all 'comClass' attributes (try3)

2013-08-28 Thread Michael Stefaniuc
Hello Nikolay, On 08/27/2013 12:16 PM, Nikolay Sivov wrote: > +static OLEMISC get_olemisc_value(const WCHAR *str, int len) > +{ > +int min, max; > + > +min = 0; > +max = sizeof(olemisc_values)/sizeof(struct olemisc_entry) - 1; > + > +while (min <= max) > +{ > +int n, c;

Re: [PATCH] iphlpapi: Add AllocateAndGetTcpExTableFromStack().

2013-08-28 Thread Hans Leidekker
On Wed, 2013-08-28 at 14:49 +0200, Ralf Habacker wrote: > >> diff --git a/dlls/iphlpapi/ipstats.h b/dlls/iphlpapi/ipstats.h > >> index bf5bb92..efdb1cc 100644 > >> --- a/dlls/iphlpapi/ipstats.h > >> +++ b/dlls/iphlpapi/ipstats.h > >> @@ -33,6 +33,7 @@ > >> DWORD getInterfaceStatsByName(const char

Re: [AppDB] How to deal with hardware/driver dependent test result?

2013-08-28 Thread Rosanne DiMesio
On Wed, 28 Aug 2013 11:57:26 +0800 Felix Yan wrote: > I'm maintaining Spore 1.0, and it works correctly in wine for over a year on > Nvidia video card with closed-source nvidia driver - but I do noticed with > Intel cards with open source drivers, the game is nearly not playable - > missing t

Re: [4/4] ntdll: Properly set flag which indicates buffer empty state.

2013-08-28 Thread Wolfgang Walter
Hello Dimitry, I think I now found the difference between my patches and yours and what makes that one application fail (with or without [4/4] ntdll: Properly set flag which indicates buffer empty state.) My patch removes the attempt to flag EV_TXEMPTY only once. In check_events() EV_TXEMPTY

Re: [PATCH] iphlpapi: Add AllocateAndGetTcpExTableFromStack().

2013-08-28 Thread Hans Leidekker
On Wed, 2013-08-28 at 12:21 +0200, Ralf Habacker wrote: > diff --git a/dlls/iphlpapi/iphlpapi.spec b/dlls/iphlpapi/iphlpapi.spec > index 36ba13f..1eed5ae 100644 > --- a/dlls/iphlpapi/iphlpapi.spec > +++ b/dlls/iphlpapi/iphlpapi.spec > @@ -6,6 +6,7 @@ > @ stdcall AllocateAndGetIpForwardTableFromSta

Re: [PATCH] iphlpapi: Add AllocateAndGetTcpExTableFromStack().

2013-08-28 Thread Hans Leidekker
On Wed, 2013-08-28 at 11:41 +0200, Ralf Habacker wrote: > diff --git a/dlls/iphlpapi/iphlpapi.spec b/dlls/iphlpapi/iphlpapi.spec > index 36ba13f..cad2ca9 100644 > --- a/dlls/iphlpapi/iphlpapi.spec > +++ b/dlls/iphlpapi/iphlpapi.spec > @@ -6,6 +6,7 @@ > @ stdcall AllocateAndGetIpForwardTableFromSta

Re: [PATCH] iphlpapi: Add AllocateAndGetTcpExTableFromStack().

2013-08-28 Thread Nikolay Sivov
On 8/28/2013 13:41, Ralf Habacker wrote: Signed-off-by: Ralf Habacker --- dlls/iphlpapi/iphlpapi.spec |1 + dlls/iphlpapi/ipstats.c | 26 ++ dlls/iphlpapi/ipstats.h |1 + include/tcpmib.h|3 +++ 4 Dateien geändert, 31 Zeilen hinzugefügt

Re: [4/4] ntdll: Properly set flag which indicates buffer empty state.

2013-08-28 Thread Wolfgang Walter
On Wednesday 28 August 2013 12:41:00 Dmitry Timoshkov wrote: > Dmitry Timoshkov wrote: > > Alexandre Julliard wrote: > > > It doesn't work here: > > > > > > ../../../tools/runtest -q -P wine -M kernel32.dll -T ../../.. -p > > > kernel32_test.exe.so comm.c && touch comm.ok comm.c:835: Test failed

Re: [4/4] ntdll: Properly set flag which indicates buffer empty state.

2013-08-28 Thread Dmitry Timoshkov
Alexandre Julliard wrote: > >> I assume it's a real hardware and not a VM? Is this with a real COM port, > >> or USB-serial cable? If the latter one what driver is it using? > > > > Looking at the failure messages above once again, I can say that WriteFile > > failure is definitely not caused by

Re: [4/4] ntdll: Properly set flag which indicates buffer empty state.

2013-08-28 Thread Alexandre Julliard
Dmitry Timoshkov writes: > Dmitry Timoshkov wrote: > >> Alexandre Julliard wrote: >> >> > It doesn't work here: >> > >> > ../../../tools/runtest -q -P wine -M kernel32.dll -T ../../.. -p >> > kernel32_test.exe.so comm.c && touch comm.ok >> > comm.c:835: Test failed: WriteFile took 1 ms to wr