Commit graph

39268 commits

Author SHA1 Message Date
Cameron Gutman 1f7271bf91 - Fix some typos from my last commit
- Remove more hacks from iphlpapi

svn path=/trunk/; revision=43339
2009-10-09 05:18:35 +00:00
Cameron Gutman a3ab545150 - Rewrite IOCTL_TCP_QUERY_INFORMATION_EX/IOCTL_TCP_SET_INFORMATION_EX handling
- Remove duplicate defines for the same IOCTL
 - Remove unneeded code
 - Fix a completely wrong implementation of ENTITY_TYPE_ID
 - Perform parameter checking
 - Remove several hacks in iphlpapi that worked around bugs in the previous implementation
 - We now support retrieving interface-specific routing tables and ARP tables

svn path=/trunk/; revision=43338
2009-10-09 02:40:38 +00:00
Stefan Ginsberg 8a1b2b51be - Stub out ExpSystemErrorHandler more properly.
svn path=/trunk/; revision=43337
2009-10-08 20:06:37 +00:00
Dmitry Chapyshev 7ae4b30b8e - Partially revert r42993 for imagelist
See issue #4304 for more details.

svn path=/trunk/; revision=43336
2009-10-08 11:18:34 +00:00
Johannes Anderwald e7e971167b - When enumerating controls, cControls *tells* the number of controls not *cConnections*. Fix a crash in XP sndvol32
- Clear the entire struct, not just part of it
- WdmAudMixerCapabilities just provides the index of a device, not its handle. Fixes displaying of duplicate mixer name in sndvol32
- Verify that a mixer line exists

svn path=/trunk/; revision=43335
2009-10-08 07:25:26 +00:00
Stefan Ginsberg 60a2ad65bb MiReserveSystemPtes: Don't assert that allocation succeeded, just warn if we failed. All callers of the function handle allocation failure properly.
svn path=/trunk/; revision=43334
2009-10-07 20:14:01 +00:00
Dmitry Gorbachev c64b032e93 Fix GCC 4.1.3 warning.
svn path=/trunk/; revision=43333
2009-10-07 20:04:17 +00:00
Dmitry Gorbachev 9ac33d6fbe Happy testing.
svn path=/trunk/; revision=43332
2009-10-07 19:58:15 +00:00
Dmitry Gorbachev 07dc415f89 Fix logging to a file.
In spite of limitations, it remains the only way to obtain desired logs for some people.

svn path=/trunk/; revision=43331
2009-10-07 19:57:40 +00:00
Dmitry Gorbachev ffbb3fd184 Delete unused copy of GPL.
svn path=/trunk/; revision=43330
2009-10-07 19:56:35 +00:00
Dmitry Gorbachev 3da2eea23c Fix FreeLDR bug #4877. Patch by Gabriel.
svn path=/trunk/; revision=43329
2009-10-07 19:55:44 +00:00
Matthias Kupfer 85a206d9b2 - replace dropshadow from mouse settings by cursor shadow
- bind cursor shadow to registry via sysparams
- rename variable names and identifiers

svn path=/trunk/; revision=43328
2009-10-07 19:42:02 +00:00
Matthias Kupfer f894aea679 - revert SPI_SETCLICKLOCK
- small optimization in mgsqueue

svn path=/trunk/; revision=43327
2009-10-07 18:22:25 +00:00
Timo Kreuzer cfff690aae Add test for NtUserSystemParametersInfo case SPI_SETMOUSECLICKLOCK
svn path=/trunk/; revision=43326
2009-10-07 16:58:53 +00:00
Matthias Kupfer 4da1dafa69 - some preparation for ClickLock implementation
svn path=/trunk/; revision=43325
2009-10-07 14:25:52 +00:00
Aleksey Bragin f637e66227 [fastfat_new]
- Implement FatiQueryNameInformation. It doesn't work right now due to missing file names in the FCB record.
- Make a stub for FatSetFcbNames.

svn path=/trunk/; revision=43324
2009-10-07 12:21:13 +00:00
Matthias Kupfer 0b89e7b0eb - load UserPreferencesMask from registry
svn path=/trunk/; revision=43323
2009-10-07 11:17:11 +00:00
Aleksey Bragin c66ee08233 [fastfat_new]
- Lower importance of some debug messages.
- Add FCB locking routines.
- Lock VCB and FCB in QueryInformation.

svn path=/trunk/; revision=43322
2009-10-07 10:45:45 +00:00
Johannes Anderwald 5cb9dffd80 [WDMAUD]
- Use KsProbeStreamIrp in wdmaud to probe user buffers
- Remove a few hacks which were required to pass down irps to portcls
[PORTCLS]
- Check if there is an automation table
[SYSAUDIO]
- Release file object of pin to prevent reference leak
--
- Audio stack now reacts faster as it now longer copies audio buffers in kernel mode and instead locks down the user buffers. In addition it uses less memory to do the same work.


svn path=/trunk/; revision=43321
2009-10-07 10:41:34 +00:00
Johannes Anderwald c959b785e7 - Fix building of ReactOS
svn path=/trunk/; revision=43320
2009-10-07 09:43:30 +00:00
Aleksey Bragin abc450dbf0 [fastfat_new]
- Properly complete non-implemented volume open requests.

svn path=/trunk/; revision=43319
2009-10-07 09:27:03 +00:00
Johannes Anderwald 9da043a395 - Implement support for reading from waveIn devices
svn path=/trunk/; revision=43318
2009-10-07 09:10:00 +00:00
Dmitry Gorbachev f80452789c Fix my stupid mistake, made in r43169. Bug #4863. Thanks to Gabriel & Victor.
svn path=/trunk/; revision=43317
2009-10-07 01:41:53 +00:00
Matthias Kupfer 54dec94b16 - fix typo in registry key name
- fix wrong argument order in SystemParametersInfo call
- use static variables instead of multiple strings
- fix wrong pointer access in sysparams

svn path=/trunk/; revision=43316
2009-10-07 00:07:30 +00:00
Johannes Anderwald 88c42f36e6 - Implement MIXER_GETLINEINFOF_COMPONENTTYPE for WdmAudGetLineInfo
- Implement MIXER_GETLINECONTROLSF_ONEBYID for WdmAudGetLineControls
- Clear MIXER_OBJECTF_HMIXER from Flags
- Fix a bug SetGetVolumeControlDetails which fixes retrieving current volume level (verified by sndvol32.exe from XP / mmsys.cpl ReactOS)

svn path=/trunk/; revision=43315
2009-10-06 18:16:21 +00:00
Johannes Anderwald d4e6ed42ab - Fix creation of mixer pin
svn path=/trunk/; revision=43314
2009-10-06 09:55:19 +00:00
Johannes Anderwald 167a790409 - Partly implement WIDM_ADDBUFFER
svn path=/trunk/; revision=43313
2009-10-06 09:54:10 +00:00
Matthias Kupfer 91e81e3263 - bind (almost all) mouse settings to system and registry and fixup sysparams
svn path=/trunk/; revision=43312
2009-10-06 09:02:31 +00:00
Johannes Anderwald 89c0cc229a - Implement WIDM_OPEN, WIDM_CLOSE, WIDM_PREPARE, WIDM_UNPREPARE, WIDM_RESET for wave in devices
- Original code by Silverblade

svn path=/trunk/; revision=43311
2009-10-06 08:47:27 +00:00
James Tabor ac17b39707 - Remove Thread from event structure and substitute with thread info from head structure.
svn path=/trunk/; revision=43310
2009-10-06 04:22:11 +00:00
James Tabor 6d29703714 - Set Process, pass keyboard handle and enable check for user hooks.
svn path=/trunk/; revision=43309
2009-10-06 03:38:23 +00:00
Matthias Kupfer b63d2987f3 - use static variables instead of multiple strings
svn path=/trunk/; revision=43308
2009-10-05 21:00:44 +00:00
Matthias Kupfer fca0dabc2d - add new desktop and mouse property keys to registry
- disable global settings from _SYSTEM_CURSORINFO and change files accordingly
- bind and load added registry keys for SystemParametersInfo
- TODO: read and set via SystemParametersInfo still incomplete

svn path=/trunk/; revision=43307
2009-10-05 19:53:15 +00:00
Johannes Anderwald cf3f78eddf - Fix a critical bug in the counted worker implementation
svn path=/trunk/; revision=43306
2009-10-05 19:15:04 +00:00
Johannes Anderwald 9114169b5e - Implement setting / getting volume level
svn path=/trunk/; revision=43305
2009-10-05 17:00:59 +00:00
Matthias Kupfer fb725bd122 - partly revert 43298
- fix the mouse swap button issue
- cleanup loading mouse properties
- change reg key types for mouse values like windows

svn path=/trunk/; revision=43304
2009-10-05 14:13:29 +00:00
Dmitry Gorbachev 6c43b7b64f select: change it to be more readable, avoid a spurious compiler warning.
svn path=/trunk/; revision=43303
2009-10-05 14:13:15 +00:00
Dmitry Gorbachev 9c974bb786 Avoid GCC warnings: deprecated conversion from string constant to 'WCHAR*'.
svn path=/trunk/; revision=43302
2009-10-05 14:13:09 +00:00
Dmitry Gorbachev ea12565cf4 Document ROS_GENERATE_RSYM environment variable.
svn path=/trunk/; revision=43301
2009-10-05 14:13:01 +00:00
Dmitry Gorbachev c2448f19d9 Modify DPRINT / DRPINT1 macros, check if DbgPrint crashed. Bug #4420.
svn path=/trunk/; revision=43300
2009-10-05 14:12:49 +00:00
Dmitry Gorbachev 69d7cf729d Fix internal name of ntkrnlmp.exe. Alexander Yastrebov (menone7 ~at~ gmail com), bug #4821.
svn path=/trunk/; revision=43299
2009-10-05 14:12:33 +00:00
Matthias Kupfer 8c914a280c - fix the mouse swap button issue
- cleanup loading mouse properties
- add function to load and store DWORD for sysparams registry keys
- TODO: check and fix the get and set cases for sysparams for the right registry key type

svn path=/trunk/; revision=43298
2009-10-05 11:35:06 +00:00
Cameron Gutman 605efdf3f2 - Remove the STATUS_PENDING case in UnlockAndMaybeComplete so we can catch pending IRPs which didn't get queued in the PendingIrpList
svn path=/trunk/; revision=43297
2009-10-05 02:31:16 +00:00
Cameron Gutman 29eda3e5dc - Cancel pending user IRPs when we get a IRP_MJ_CLEANUP request
- Previously there was some confusion between IRPs in PendingIrpList and InFlightRequest, InFlightRequest IRPs go from AFD to a TDI transport driver (tcpip) which are sent on behalf of AFD and are cancelled upon socket destruction (IRP_MJ_CLOSE) vs. IRPs in the PendingIrpList which go from user-mode to AFD which are sent of behalf of the user and should be cancelled when handling IRP_MJ_CLEANUP

svn path=/trunk/; revision=43296
2009-10-05 01:44:17 +00:00
Dmitry Gorbachev 2f4399ff41 Add "#pragma code_page(...)" again to fix compilation.
svn path=/trunk/; revision=43295
2009-10-04 22:40:01 +00:00
Daniel Reimer 555b27970e Update German NLS Files in Kernel32
svn path=/trunk/; revision=43294
2009-10-04 22:32:07 +00:00
Dmitry Gorbachev 5ea6a97c68 Add Spanish translation of Kernel32, fix translation of ServMan. Javier Remacha, bug #4872.
svn path=/trunk/; revision=43293
2009-10-04 22:03:21 +00:00
Matthias Kupfer d358de8a0f temporarily workaround for swap mouse buttons feature
svn path=/trunk/; revision=43292
2009-10-04 20:45:51 +00:00
Stefan Ginsberg 1c3808ef76 - Add STATUS_ASSERTION_FAILURE status code required for NT_ASSERT.
- Check KdReceivePacket return for KdPacketReceived instead of 0 for correctness.
- Use KdpDprintf instead of setting CR2 for unhandled cases.
- Add more variables to KdDebuggerDataBlock.

svn path=/trunk/; revision=43291
2009-10-04 20:19:43 +00:00
Johannes Anderwald 8d668541e1 - Return correct status code
svn path=/trunk/; revision=43290
2009-10-04 20:14:09 +00:00