Re: [PATCH] MSI: Shedule rename operation also for ERROR_USER_MAPPED_FILE.

2009-10-31 Thread Hans Leidekker
On Saturday 31 October 2009 05:22:31 you wrote: I haven't came across an installer yet that fails on WINE because of this. I have jumped ahead a bit here. Regardless, if a file has been mapped by using CreateFileMapping/MapViewOfFile and the CopyFile api (having the last parameter as FALSE)

Re: [PATCH] MSI: Shedule rename operation also for ERROR_USER_MAPPED_FILE.

2009-10-31 Thread Hans Leidekker
On Saturday 31 October 2009 11:10:35 Michael Martin wrote: Understand, I guess ill write some wine test to check different return values for differences on mapped files. Can you give me a pointer on where this would best fit in? kernel32/tests/file.c: test_CopyFileW, or should i make my

Re: [PATCH] MSI: Shedule rename operation also for ERROR_USER_MAPPED_FILE.

2009-10-30 Thread Hans Leidekker
On Friday 30 October 2009 14:10:27 Michael Martin wrote: Add check for ERROR_USER_MAPPED_FILE in addition to ERROR_SHARING_VIOLATION when scheduling a rename operation. ERROR_USER_MAPPED_FILE can be set when trying to overwrite true type fonts in windows. For more info see