Commit graph

49671 commits

Author SHA1 Message Date
Timo Kreuzer c707066acb [FREELDR]
Fix wrong buffer size calculation that could lead to memory corruption
Kudos go to Jardar for debugging the issue.

svn path=/trunk/; revision=55173
2012-01-25 16:45:42 +00:00
Sylvain Petreolle 1ef28d6071 [WININET]
Add zlib include path / link.

svn path=/trunk/; revision=55172
2012-01-25 11:33:05 +00:00
Amine Khaldi a802e528e2 [MCICDA]
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55163
2012-01-25 00:15:18 +00:00
Thomas Faber bd7ee66285 [WS2_32]
- Fix invalid AQ_WIN16 comparisons. Spotted by you-know-what. Fix taken from Wine.

svn path=/trunk/; revision=55162
2012-01-25 00:12:18 +00:00
Thomas Faber e724bc4582 [NTOSKRNL]
- Fix some DPRINTs. Spotted by VS11.

svn path=/trunk/; revision=55161
2012-01-25 00:09:43 +00:00
Amine Khaldi e4c4891711 [PSDK]
* Update winbase.h annotations.

svn path=/trunk/; revision=55158
2012-01-24 23:11:46 +00:00
Timo Kreuzer 456a8b2857 Fix build
svn path=/trunk/; revision=55153
2012-01-24 21:56:02 +00:00
Timo Kreuzer 97efb41b10 [NDK/DDK]
- Improve/fix/update/add several function declarations and structures
Patch by Samuel Serapion

svn path=/trunk/; revision=55151
2012-01-24 21:15:55 +00:00
Thomas Faber 50b16668d7 [FREELDR]
- Do not declare functions without prototypes
- DPRINT fix
- Powered by VS11

svn path=/trunk/; revision=55150
2012-01-24 20:57:03 +00:00
Thomas Faber cd46fe19a9 [CRYPT32]
- Fix MSVC build. Sent and applied upstream.

svn path=/trunk/; revision=55148
2012-01-24 20:34:31 +00:00
Amine Khaldi 90350df69a [DDK]
* Update classpnp.h annotations.

svn path=/trunk/; revision=55146
2012-01-24 14:10:25 +00:00
Amine Khaldi b167579013 [MCIAVI32]
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55145
2012-01-24 14:07:33 +00:00
Amine Khaldi d1c328619d [IMAADP32.ACM]
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55144
2012-01-24 14:02:18 +00:00
Amine Khaldi db5937bfd8 [PSDK]
* Update mmddk.h from Wine.

svn path=/trunk/; revision=55143
2012-01-24 13:55:54 +00:00
Amine Khaldi 6528ad11a0 [HTTPAPI]
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55142
2012-01-24 13:54:58 +00:00
Amine Khaldi 12d4780a2a [DWMAPI]
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55141
2012-01-24 13:52:57 +00:00
Amine Khaldi 5df9522396 [CRYPTNET_WINETEST]
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55140
2012-01-24 13:50:35 +00:00
Amine Khaldi 3c65192b65 [CRYPTNET]
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55139
2012-01-24 13:50:22 +00:00
Amine Khaldi d32ee1f611 [PSDK]
* Update dwmapi.h from Wine.

svn path=/trunk/; revision=55133
2012-01-23 22:30:15 +00:00
Amine Khaldi fc30d8ec5b [MSI]
* Add some registration that was missing from the sync.

svn path=/trunk/; revision=55132
2012-01-23 21:40:37 +00:00
Amine Khaldi fbabfef54d [MSI/BOOTDATA]
* Improve and correct registering the CLISDs for MSI (they match Wine and Windows now). This reverts r55052.

svn path=/trunk/; revision=55131
2012-01-23 20:59:35 +00:00
Rafal Harabien 2d3c112a48 [NTOSKRNL]
- Fix returning uninitialized status (CID 15086)

svn path=/trunk/; revision=55130
2012-01-23 20:49:08 +00:00
Thomas Faber 52654ceb2e [DDK/XDK]
- Disable VS11 warning about cast between different function classes (IO_DPC_ROUTINE to KDEFERRED_ROUTINE) where needed

svn path=/trunk/; revision=55129
2012-01-23 19:58:06 +00:00
Thomas Faber 2ea0f55590 [NTOSKRNL/IO]
- Always use interlocked operations on DeviceObject->ReferenceCount

svn path=/trunk/; revision=55128
2012-01-23 19:48:18 +00:00
Thomas Faber d68b29a234 [FASTFAT]
- Fix an if condition in VfatCreateFile causing opening a volume to always return access denied
- Fix some DPRINT issues
- Powered by VS11

svn path=/trunk/; revision=55127
2012-01-23 19:36:59 +00:00
Amine Khaldi 312f5bfd31 [PSDK]
* Update winsock2.h annotations.

svn path=/trunk/; revision=55126
2012-01-23 19:12:00 +00:00
Amine Khaldi a474329019 [DDK]
* Update hidclass.h and hubbusif.h annotations.

svn path=/trunk/; revision=55125
2012-01-23 19:07:50 +00:00
Amine Khaldi d870b715ea [SMSS2]
* Fix build.

svn path=/trunk/; revision=55124
2012-01-23 17:02:51 +00:00
Alex Ionescu cbc1c975e0 [SMSS]: Add a new SMSS2 with the goal of having a Windows-compatible LPC API that will work with the new CSRSS that's already in the tree. So far, it launches the old SMSS and quits.
svn path=/trunk/; revision=55123
2012-01-23 16:49:52 +00:00
Amine Khaldi 5c2fb9efb7 [DDK]
* Update usbbusif.h, usbdlib.h and usbscan.h annotations.

svn path=/trunk/; revision=55116
2012-01-23 16:07:08 +00:00
Amine Khaldi 95ceec858b [COMCAT_WINETEST]
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55114
2012-01-23 16:04:06 +00:00
Amine Khaldi 8231f5eadb * Update the sync notes for clusapi, comcat, compstui and cryptdll.
svn path=/trunk/; revision=55113
2012-01-23 16:03:34 +00:00
Amine Khaldi ad68c5f813 [CRYPTDLG]
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55111
2012-01-23 15:51:05 +00:00
Amine Khaldi 2b23e89568 [CRYPT32_WINETEST]
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55109
2012-01-23 15:45:22 +00:00
Amine Khaldi 7f7460e8c4 [CRYPT32]
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55108
2012-01-23 15:45:15 +00:00
Amine Khaldi 9c46bd0ddd [CREDUI_WINETEST]
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55107
2012-01-23 15:43:10 +00:00
Amine Khaldi 533493eb7f [CREDUI]
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55106
2012-01-23 15:42:58 +00:00
Amine Khaldi 3cfc88d970 [PSDK]
* Update winuser.h annotations.

svn path=/trunk/; revision=55105
2012-01-23 15:19:38 +00:00
Amine Khaldi 50c33aa429 [CABINET_WINETEST]
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55104
2012-01-23 15:12:57 +00:00
Amine Khaldi 5cf9ee2b66 [CABINET]
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55103
2012-01-23 15:12:50 +00:00
Amine Khaldi e4bb3d1eb0 [PSDK]
* Update wincrypt.h from Wine.

svn path=/trunk/; revision=55102
2012-01-23 14:07:25 +00:00
Amine Khaldi 37799a6aef [ADVAPI32]
* Missed this change in my previous commit.

svn path=/trunk/; revision=55101
2012-01-23 13:58:34 +00:00
Amine Khaldi a8739a7969 [PSDK]
* Fix some annotations in winddi.h.

svn path=/trunk/; revision=55100
2012-01-23 13:32:25 +00:00
Amine Khaldi f9f32b715e [BCRYPT]
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55099
2012-01-23 13:30:23 +00:00
Amine Khaldi 0a0e949048 [ADVPACK_WINETEST]
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55098
2012-01-23 12:26:48 +00:00
Amine Khaldi 7b65a2d418 [ADVPACK]
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55097
2012-01-23 12:26:32 +00:00
Amine Khaldi d15876f775 [TOOLS/UNICODE]
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55096
2012-01-23 12:03:23 +00:00
Amine Khaldi 9fe3f47e12 [DDK]
* Update ndis.h annotations.

svn path=/trunk/; revision=55095
2012-01-23 12:01:07 +00:00
Alex Ionescu 9d0af37bb8 [KERNEL32]: Fix a copy-pasta (and a regression). Thanks vicmarcal/testbot.
svn path=/trunk/; revision=55093
2012-01-23 05:32:11 +00:00
Alex Ionescu 08b2762e84 [KERNEL32]: Changes to proc.c:
- ReadProcessMemory/WriteProcessMemory only write to *lpNumberOfBytesRead/Written if user-mode passed in the parameter, as its an optional argument in Win32, but not in NT. Instead, use a local variable. This means that anyone calling ReadProcessMemory/WriteProcessMemory in ReactOS before with a NULL output argument (totally valid) was getting an error before!
- WriteProcessMemory actually returns STATUS_ACCESS_VIOLATION in a few cases, even if it's defined as a BOOL function. Code on Google shows major applications depending on this, which we weren't doing.
- Rewrite InitCommandLines to be much simpler. No normalization or copying or ANSi/OEM logic is needed.
- GetProcessAffinityMask should use the BaseStaticServerData from CSRSS instead of querying system information each time.
- GetProcessShutdownParameters and SetProcessShutdownParameters should use the LPC status code from CSRSS, not the LPC API status code.
- GetProcessWorkingSetSize now calls GetProcessWorkingSetSizeEx.
- Implement GetProcessWorkingSetSizeEx.
- SetProcessWorkingSetSize now calls SetProcessWorkingSetSizeEx.
- Implement SetProcessWorkingSetSizeEx.
- Acquire the required privilege in SetProcessWorkingSetSize(Ex).
- Fail with correct status code in SetProcessWorkingSetSize(Ex).
- GetExitCodeProcess should check if this is a VDM process and get the exit code that way.
- GetStartupInfoW should not fail if the input is NULL. It should crash.
- GetStartupInfoW was not filling out the lpReserved field, which should contain the ShellInfo buffer.
- GetStartupInfoW was always setting standard handles -- it should not do so if those are console handles.
- GetStartupInfoA was not thread-safe.
- GetStartupInfoA was assuming all Unicode->ANSI conversions will be successful.
- GetStartupInfoA was not filling out lpReserved either.
- ExitProcess was not using SEH and was not using the PEB lock.
- TerminateProcess was not setting ERROR_INVALID_HANDLE last error code.
- FatalAppExitA was not using static TEB buffer, and was always assuming success.
- FatalAppExitW was doing some sort of bizarre hack. It now raises as a hard error as it should.
- FatalExit now displays a debugger input interface on checked builds, just like Windows.
- SetPriorityClass now tries to acquire the real time privilege when needed, and handles failure to do so.
- GetProcessVersion rewritten to be cleaner and simpler.
- Annotate and reformat functions where needed.
- Rename lpfnGlobalRegisterWaitForInputIdle to UserWaitForInputIdleRoutine
- GetProcessPriorityBoost is now BOOL-safe.
- IsWow64Process now sets NT error code using only one API.
- CommandLineStringA/W -> BaseAnsiCommandLine/BaseUnicodeCommandLine.


svn path=/trunk/; revision=55092
2012-01-23 04:57:12 +00:00