Commit graph

49646 commits

Author SHA1 Message Date
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
Giannis Adamopoulos 51a64982dd [kernel32]
- Fix IntReadConsoleOutputCharacter to copy the correct count of characters. Its 3rd parameter is a character count and not buffer size. 
- Should fix infinite loop when kernel32:console test runs

svn path=/trunk/; revision=55081
2012-01-22 22:27:08 +00:00
Timo Kreuzer 51772abf74 [PSDK}
Add missing BYTE GAMMA_TABLES declaration

svn path=/trunk/; revision=55078
2012-01-22 21:49:13 +00:00
Amine Khaldi 1cda28b92a [PSDK]
* Missed this one.

svn path=/trunk/; revision=55072
2012-01-22 15:17:55 +00:00
Amine Khaldi b8cd14e65a [DDK]
* Update wdm.h, ntifs.h and ntddk.h to reflect the recent XDK changes.

svn path=/trunk/; revision=55069
2012-01-22 14:51:10 +00:00
Amine Khaldi e313bf569b [PSDK]
* Add __out_data_source annotation.

svn path=/trunk/; revision=55068
2012-01-22 14:47:46 +00:00
Amine Khaldi 7a3aa20827 [XDK]
* Massive annotations commit. Dedicated to Timo.

svn path=/trunk/; revision=55067
2012-01-22 14:43:53 +00:00
Amine Khaldi d888562716 [MSI]
* Adopt a compatible syntax for the resource file.

svn path=/trunk/; revision=55066
2012-01-22 14:33:44 +00:00
Amine Khaldi eae2260976 [MSHTML]
* Adopt a compatible syntax for the resource files.

svn path=/trunk/; revision=55065
2012-01-22 14:32:11 +00:00
Amine Khaldi 585b0e0314 [GDI32]
* Fix a typo.

svn path=/trunk/; revision=55064
2012-01-22 14:24:23 +00:00
Amine Khaldi f317e5c438 [PSDK]
* Add some annotations.

svn path=/trunk/; revision=55063
2012-01-22 14:15:04 +00:00
Pierre Schweitzer 97b331fc37 [MSI]
Partly revert r55050.
It should work without now

svn path=/trunk/; revision=55062
2012-01-22 11:04:20 +00:00
Pierre Schweitzer 256d09b06b [MSI]
Delete useless file.
Spotted by Thomas Faber

svn path=/trunk/; revision=55061
2012-01-22 11:01:32 +00:00
James Tabor 73f8b2c4a9 - Remove 16 bit code.
svn path=/trunk/; revision=55060
2012-01-22 03:05:59 +00:00
James Tabor 1dd928f142 - Add surrogate pair macros.
svn path=/trunk/; revision=55059
2012-01-22 00:44:51 +00:00
Thomas Faber 5e5122e56d [NETSHELL]
- Fix MSVC build

svn path=/trunk/; revision=55058
2012-01-22 00:39:44 +00:00
Cameron Gutman a9d56f0a13 [CDFS]
- Prevent an infinite loop in CdfsDeviceIoControl if the the verify request is successful but IoCallDriver keeps returning STATUS_VERIFY_REQUIRED

svn path=/trunk/; revision=55057
2012-01-21 22:16:46 +00:00
Thomas Faber 1481da8a20 [KERNEL32]
- Fix MSVC build

svn path=/trunk/; revision=55055
2012-01-21 21:36:17 +00:00
Pierre Schweitzer 485c250872 [MSI]
Add forgotten dependency on CMake.
Should fix build (finally)

svn path=/trunk/; revision=55053
2012-01-21 18:00:41 +00:00
Pierre Schweitzer bfd5b961d5 [BOOTDATA]
Register CLSIDs for MSI

svn path=/trunk/; revision=55052
2012-01-21 17:57:39 +00:00
Pierre Schweitzer 64b31ed54c [PSDK]
Sync rpcproxy.h with Wine head

svn path=/trunk/; revision=55051
2012-01-21 17:46:22 +00:00
Pierre Schweitzer f377c4d885 [IMAGEHLP]
Fix CMake build (will be that way after sync)

[MSI]
Allow warnings for the moment

This should fix CMake build~

svn path=/trunk/; revision=55050
2012-01-21 17:41:53 +00:00
Pierre Schweitzer 71425e3fc4 [PSDK]
Fix CMake msi.dll build?

svn path=/trunk/; revision=55048
2012-01-21 17:29:25 +00:00
Pierre Schweitzer 14c14451f5 [MSI_WINETEST]
Sync msi_winetest.exe with Wine head

svn path=/trunk/; revision=55047
2012-01-21 17:21:57 +00:00
Pierre Schweitzer 0e8f6c0bf8 [MSI]
Sync msi.dll with Wine head

svn path=/trunk/; revision=55046
2012-01-21 17:19:12 +00:00
Rafal Harabien c52fdad546 [USER32]
- Fix loading of MENUEX resources

svn path=/trunk/; revision=55043
2012-01-21 13:55:09 +00:00