Return STATUS_INFO_LENGTH_MISMATCH where appropriate, and return the needed length in any case.
"ntdll_winetest info" now has 5 failures.
svn path=/trunk/; revision=28570
Do not blindly zero the buffer with the size sent in by the caller. This fixes the stack smash "ntdll_winetest info" was seeing. Thanks to arty for catching it.
Remove the nested SEH.
"ntdll_winetest info" now has 16 failures.
svn path=/trunk/; revision=28569
I know that this is another change in a Wine-shared component, but as long as we don't come to a better solution for these problems, I'll continue doing such small changes for fixing the build.
svn path=/trunk/; revision=28566
move EngMultiByteToWideChar, EngQueryLocalTime, EngReleaseSemaphore from stub.c to eng.c
start implement of EngQueryEMFInfo need bit more figout how it is done
svn path=/trunk/; revision=28552
remove EngAcquireSemaphore, EngCreateSemaphore, EngDeleteSemaphore, EngFindResource implement from stub.c to eng.c
rewrite smaller part of EngFindResource so it works likes windows xp.
svn path=/trunk/; revision=28542
- Enhance the FreeLDR 2 NTLDR Compatibility Layer:
* Use a special routine for grabbing static memory descriptors, so that if we ever run out, we will bugcheck.
* The descriptors need to contain physical addresses, not virtual. Do proper fixups to handle this.
* Add a "Free" memory descriptor for all memory on the system. This needs to be fragmented later.
* Add memory descriptors for each reserved entry in the BIOS memory map.
* Add memory descriptors for the PDE and KPCR pages that FreeLDR allocates.
* Add a memory descriptor for page 0, which is reserved.
* Add a memory descriptor for the Video frame buffer at 0xA0000. This is the location on most systems, and also the location that ReactOS hard-codes in other Mm code.
- Bug found and NTLDR memory descriptor analysis by Alex.
svn path=/trunk/; revision=28537
Copy the right dll into the same folder as w32knapi.exe (name must be w32kdll.dll) to make it work of different windows versions and ros of cause.
Tested on win xp.
svn path=/trunk/; revision=28531
- Provided an unifed way to resolve path macros ($Output) , ($Intermediate) , ($CDOUTPUT) and ($INSTALL)
- Removed some redundant code and place it in a global function
- Modify media/inf/inf.rbuild to point to the correct location of the autogenerated syssetup.inf in ($Ouput) folder
- Other minor enhancements and modifications
See issue #2567 for more details.
svn path=/trunk/; revision=28526
Fix CreatePolyPolygonRgn : use NtGdiPolyPolyDraw, old way was using NtGdiCreatePolyPolygonRgn, NtGdiCreatePolyPolygonRgn does not exists in windows NT 2000/XP/2003/VISTA
Redirect : EnableEUDC@4 to NtGdiEnableEudc@4, EngAssociateSurface@12 to NtGdiEngAssociateSurface@12, EngCheckAbort@4 to NtGdiEngCheckAbort@4, EngDeleteClip@4 to NtGdiEngDeleteClip@4
Redirect : EngCreateClip@0 to NtGdiEngCreateClip@0, EngCreateDeviceSurface@16 to NtGdiEngCreateDeviceSurface@16, EngCreateDeviceBitmap@16 to NtGdiEngCreateDeviceBitmap@16
svn path=/trunk/; revision=28518