Re: [2/3] ntdll: Use PAGE_READWRITE access when resolving DLL imports.

2011-11-02 Thread Dmitry Timoshkov
Alexandre Julliard wrote: > > NtProtectVirtualMemory( NtCurrentProcess(), &protect_base, > > -&protect_size, PAGE_WRITECOPY, &protect_old ); > > +&protect_size, PAGE_READWRITE, &protect_old ); > > Restoring the permissions is not going

Re: [2/3] ntdll: Use PAGE_READWRITE access when resolving DLL imports.

2011-11-02 Thread Alexandre Julliard
Dmitry Timoshkov writes: > diff --git a/dlls/ntdll/loader.c b/dlls/ntdll/loader.c > index 5ee7d0a..314813f 100644 > --- a/dlls/ntdll/loader.c > +++ b/dlls/ntdll/loader.c > @@ -563,7 +563,7 @@ static WINE_MODREF *import_dll( HMODULE module, const > IMAGE_IMPORT_DESCRIPTOR *d > protect_base =

Re: RFC: wined3d: Implementing depth/stencil buffer locking

2011-11-02 Thread Henri Verbeet
On 2 November 2011 11:59, Octavian Voicu wrote: > 1) make dsurface.ok in ddraw/tests crashes in context_acquire > (wined3d/context.c:2456) called from surface_load_location > (wined3d/surface.c:6323), I'm guessing  in because there is no > swapchain. How can I prevent this crash and still get a co

Re: mshtml: call FindMimeFromData with a NULL buffer in ResProtocol_Start

2011-11-02 Thread Paul Chitescu
On Wednesday 02 November 2011 07:19:02 am Austin English wrote: > Fixes http://bugs.winehq.org/show_bug.cgi?id=27115, a regression > introduced by 0825f4b3ff3718752b5f6addd95bc30c10f75d24. Instead of not passing actual read data please fix FindMimeFromData. Reverting the patch will break many pro

RFC: wined3d: Implementing depth/stencil buffer locking

2011-11-02 Thread Octavian Voicu
Hi, Here is a first shot at implementing depth/stencil buffer locking in wined3d. Currently depth/stencil buffer locations are onscreen and offscreen, with transitions between the two states done in load_ds_location. I added another location, sysmem, and implemented transitions from offscreen to

Re: MS XInput*.dll implementation

2011-11-02 Thread Alexey Loukianov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 02.11.2011 06:05, Vitaliy Margolen wrote: > If you really want it to get in just do it via DI. Use old patches and > projects like x360ce for ideas, code, and documentation. Too bad x360ce is > in c#. > x360ce XInput1_3.dll implementation is written