Re: [ntdll] NtCreateFile update

2005-03-20 Thread Jonathan Wilson
Does anyone have any links to these "documented only because Microsoft have to" type functions (like NtCreateFile etc)?

Re: Four questions to dll/iphlpapi/* wrt lstrcpyA.

2005-03-20 Thread Francois Gouget
On Sun, 20 Mar 2005, Juan Lang wrote: Hi Peter, there's nothing magical in here, your understanding is correct. I'll answer each question individually though. 1) I am wondering, why sizeof(ptr->Adaptername) is used instead of MAX_ADAPTER_NAME_LENGTH+1? That's just a style thing. I prefer sizeof(th

Preview-window works in Virtualdub,Paltalk etc.

2005-03-20 Thread luis lenders
Hi, don't know if it's of much use for anyone, but i can now view the images from my webcam in the preview window in programs like Virtualdub, Paltalk and WebCamnow. Basically the attached "patch" reads a RGB-image from my video4linux device and "turns" this into a bitmap, which is then displayed

Re: DDRAW: Surface locking patch, take 2

2005-03-20 Thread Matthew Mastracci
Christian Costa wrote: Hi Matthew, This seems fine. There are some comments though, see below. ... +if (src == iface) { +int pitch; + +UnionRect(&lock_union, &lock_src, &lock_dst); + +/* Lock the union of the two rectangles */ +IDirectDrawSurface7_Lock(iface, &lo

Re: DDRAW: Surface locking patch, take 2

2005-03-20 Thread Christian Costa
Matthew Mastracci wrote: Christian Costa wrote: Hi Matthew, This seems fine. There are some comments though, see below. ... +if (src == iface) { +int pitch; + +UnionRect(&lock_union, &lock_src, &lock_dst); + +/* Lock the union of the two rectangles */ +IDirectDra

Re: [WINEALSA] fix direct sound capabilities to match HW

2005-03-20 Thread Robert Reif
Robert Reif wrote: Fix direct sound capabilities to match hardware. Should fix problems related to trying to do 8 bit and mono on 16 bit stereo only hardware when using ALSA hw device and direct sound hardware acceleration. This one should work. Index: dlls/winmm/winealsa/audio.c ===

Re: DDRAW: Surface locking patch, take 2

2005-03-20 Thread Christian Costa
Hi Matthew, This seems fine. There are some comments though, see below. Index: dlls/ddraw/dsurface/dib.c === RCS file: /home/wine/wine/dlls/ddraw/dsurface/dib.c,v retrieving revision 1.46 diff -u -r1.46 dib.c --- dlls/ddraw/dsurface/di

Re: ddraw correctness fixes patch

2005-03-20 Thread Matthew Mastracci
Christian Costa wrote: I think the problem Matthew was talking is how to remap surface pointers. I sent something to Mattew but I forgot to cc wine-devel, sorry. Basically it was : depth = surface_desc.u4.ddpfPixelFormat.u1.dwRGBBitCount; ddesc.lpSurface -= (lock_dst.left - lock_union.left)*(depth+

Re: Four questions to dll/iphlpapi/* wrt lstrcpyA.

2005-03-20 Thread Juan Lang
Hi Peter, there's nothing magical in here, your understanding is correct. I'll answer each question individually though. > 1) I am wondering, why sizeof(ptr->Adaptername) is used instead of > MAX_ADAPTER_NAME_LENGTH+1? That's just a style thing. I prefer sizeof(thing being copied) to MAGIC_CONS

ntdll / kernel32: #53

2005-03-20 Thread Eric Pouech
This patch starts looking at providing full overlapped I/O support to named pipes. We're not here yet. It basically starts making the wineserver side of the named pipe code: - use NT values instead of kernel32 - make use of asynchronous I/O The rest of the patch is mainly cleanup. It should be a n

Re: winmm patch

2005-03-20 Thread Dimitrie O. Paun
On Sat, Mar 19, 2005 at 07:46:01PM -0600, Royce Mitchell III wrote: > Royce Mitchell III <[EMAIL PROTECTED]> > - fix warning that is really a bug - from looking at the code, wDevID > should be a UINT, not a UINT_16 ( perhaps these should be renamed? ) Please: 1. Send a diff -u (http://winehq.or

Re: Correct calling conventions

2005-03-20 Thread Vincent Béron
Le dim 20/03/2005 à 04:39, Marcus Meissner a écrit : > On Sat, Mar 19, 2005 at 08:30:44PM -0500, Vincent Béron wrote: > > Changelog: > > Use the correct calling convention in various places. > > The problem here is too, that these functions do not have prototypes in > the correct headers, otherwis

winmm problems

2005-03-20 Thread Robert Lunnon
I am having some problems with the latest wine under Solaris and a small test game I use, (Little Fighter 2) , if I enable audio support the application seems to deadlock but without audio it runs OK. It doesn't matter what audio driver I select (libaudioio or arts). Since February, what changes

Four questions to dll/iphlpapi/* wrt lstrcpyA.

2005-03-20 Thread Peter Berg Larsen
Hi, I was looking at the Janitorial project of replacing strncpy with lstrcpyn{A,W}. I found the following code in iphlpapi a little strange. (Well, only question number 2, but then could as well ask about the 2 others.) I have marked where in the code the question belongs to with the question num

Re: Correct calling conventions

2005-03-20 Thread Marcus Meissner
On Sat, Mar 19, 2005 at 08:30:44PM -0500, Vincent Béron wrote: > Changelog: > Use the correct calling convention in various places. The problem here is too, that these functions do not have prototypes in the correct headers, otherwise gcc would have already warned about them. Ciao, Marcus

Re: kde plugin

2005-03-20 Thread Scott Ritchie
On Sun, 2005-03-20 at 01:39 +, Oliver Stieber wrote: > --- Scott Ritchie <[EMAIL PROTECTED]> wrote: > > On Sat, 2005-03-19 at 22:05 +, Oliver Stieber > > wrote: > > > Hi, > > > I've got a plugin for KDE that displays icons and > > > thumbnails for windows applications and dlls in > > > K