Commit graph

35325 commits

Author SHA1 Message Date
Aleksey Bragin d8b00f839d - Scan three PCI buses in the legacy USB driver instead of 2. Fixes UHCI/EHCI detection issues in VMWare Workstation 6.5 and higher (Emulated UHCI is located on bus 2).
svn path=/trunk/; revision=39755
2009-02-25 20:37:50 +00:00
Aleksey Bragin 419e45a723 - Fix a horrible bug, when DriverEntry was not having __stdcall calling convention.
svn path=/trunk/; revision=39754
2009-02-25 16:00:38 +00:00
Johannes Anderwald 866d5ef497 - Fix a bug in the audio_test programm which initialized the deviceinfo before another syscall
- Complete also an unhandeled irp
- Implement IOCTL_CLOSE_WDMAUD
- Account the number of times pin can be instantiated in sysaudio and apply changes to SYSAUDIO_CLIENT structure
- There is still a bug which prevents closing the audio adapter at the 2nd time

svn path=/trunk/; revision=39753
2009-02-25 15:55:21 +00:00
Dmitry Chapyshev a15e6fe4ad - Fix build. Sorry
svn path=/trunk/; revision=39752
2009-02-25 15:54:37 +00:00
Dmitry Chapyshev eaa65d2024 - Add inseng, localspl, wuapi from Wine
svn path=/trunk/; revision=39751
2009-02-25 15:26:49 +00:00
Dmitry Chapyshev c7826cae81 - Sync spoolss with Wine head
svn path=/trunk/; revision=39750
2009-02-25 14:10:21 +00:00
Andrew Greenwood ef5347287b Set svn:eol-style native on ntstrsafe.h
svn path=/trunk/; revision=39749
2009-02-25 13:07:00 +00:00
Stefan Ginsberg 3268f920af - Minor optimization to ExFreePoolWithTag -- also reformat slightly.
svn path=/trunk/; revision=39748
2009-02-25 13:05:05 +00:00
Aleksey Bragin 337400aaa8 - Don't match tags if Tag is 0.
svn path=/trunk/; revision=39747
2009-02-25 12:50:41 +00:00
Aleksey Bragin 228454149b Alex Vlasov
- blockdev.c: Implement misc helper functions.
- direntry.c: Some changes to query dirents info for IRP_MJ_DIRECTORY_CONTROL, and the routine that locates a single dirent for IRP_MJ_CREATE.
- fastfat.c: Implement queuing support (FatQueueRequest / FatDequeueRequest).
- fat.c: Cleanup, use helper functions FatPin*Page.
- fcb.c: Add FCB helper routines.
- Header files: Change structures for future usage.
- Add PSEH2 library usage.

svn path=/trunk/; revision=39746
2009-02-25 12:25:06 +00:00
Johannes Anderwald bc97ce2e19 - Remove sb16 driver entry
svn path=/trunk/; revision=39745
2009-02-25 09:29:13 +00:00
Andrew Greenwood 7736e500c5 Move sb16_nt4 and sndblst out of the way in preparation of a decent rewrite.
I made both of these, they are both incomplete. Neither are included in the
build at present. They'll be removed eventually, once I've finished on the
new version.


svn path=/trunk/; revision=39744
2009-02-25 09:10:46 +00:00
Jeffrey Morlan b18a547c1b Implement complete support for FOR command (including /D, /F, /L, and /R switches). cmd is now close to being able to run RosBE 1.3's initialization without errors.
svn path=/trunk/; revision=39742
2009-02-24 20:29:18 +00:00
Johannes Anderwald 93ce0dce1f - Fix enumerating of KSDATARANGES
- Increment pin instance count when a new pin is created
- Complete IRP on close request for filter 
- Make sure IRP Status block is set when completing played stream IRP 
- Silence debug prints
- Enumerating number of channels and data formats should now work

svn path=/trunk/; revision=39740
2009-02-24 18:38:39 +00:00
Johannes Anderwald 8f47f51547 - Explictly use unicode structures
svn path=/trunk/; revision=39739
2009-02-24 18:05:07 +00:00
Aleksey Bragin 8e3ad1d1df - Make SystemProcessInformation return required size if buffer is too small. Matches Windows XP behavior.
See issue #4087 for more details.

svn path=/trunk/; revision=39738
2009-02-24 14:02:39 +00:00
Aleksey Bragin 98d1576628 - If looking up a long name for a process failed, use short one. This fixes the issue with "System" not being displayed correctly.
- Round up process name length more correctly, as suggested by Evgeniy Boltik.
See issue #4087 for more details.

svn path=/trunk/; revision=39737
2009-02-24 11:34:08 +00:00
Aleksey Bragin d06192c7c9 - Fix freed memory usage in SeLocateProcessImageName, spotted by Jan Roeloffzen.
- Use a correct structure member in SeAuditProcessCreationInfo (but it's still the same pointer).
- Rewrite bottom part of the function to better match ReactOS coding style.
See issue #4087 for more details.

svn path=/trunk/; revision=39736
2009-02-24 11:06:13 +00:00
Dmitry Chapyshev 3eb45a8114 - Sync Tahoma fonts with Wine head
svn path=/trunk/; revision=39735
2009-02-24 11:04:53 +00:00
Dmitry Chapyshev cc3e2f3f75 - Add mscms, msftedit, msrle32 from Wine
svn path=/trunk/; revision=39734
2009-02-24 09:59:50 +00:00
Stefan Ginsberg 8294273359 - Fix an assembler warning on release build
svn path=/trunk/; revision=39733
2009-02-24 00:48:11 +00:00
Timo Kreuzer 8fd740df04 Add DbgPrint stub. Fixes release build of setupldr.
svn path=/trunk/; revision=39732
2009-02-24 00:21:08 +00:00
Johannes Anderwald cfbea3776e - Fix release build
- Complete irps which were forgotten

svn path=/trunk/; revision=39731
2009-02-23 23:24:58 +00:00
Stefan Ginsberg 49d00ffaaa - Fix another issue with Portcls release build -- move an assignment outside ASSERT, and ASSERTify the return value by using a local variable
svn path=/trunk/; revision=39730
2009-02-23 22:40:53 +00:00
Stefan Ginsberg dcc1744ad9 - Fix Portcls release build by putting a variable inside a DBG #define as it is only used in an ASSERT()
svn path=/trunk/; revision=39729
2009-02-23 22:19:58 +00:00
Johannes Anderwald 4c08a87ceb - Set a completion routine for irps send to lower devices by KsSynchronousIoControlDevice
- Fix a bug in PcPropertyHandler
- Implement more aspects of IOCTL_GETCAPABILITIES

svn path=/trunk/; revision=39728
2009-02-23 21:51:41 +00:00
Dmitry Gorbachev dfb4c51505 Fix compilation of wdmaud.sys
svn path=/trunk/; revision=39726
2009-02-23 14:42:13 +00:00
Dmitry Gorbachev 39deec0a24 Fix mmsystem.h
svn path=/trunk/; revision=39725
2009-02-23 13:54:05 +00:00
Dmitry Gorbachev 4a4536189b Trying to fix r39718, r39719...
svn path=/trunk/; revision=39724
2009-02-23 13:40:50 +00:00
Dmitry Gorbachev f8a9311089 Remove a hack from KiTrap14. Put a hack in other place.
svn path=/trunk/; revision=39723
2009-02-23 13:18:28 +00:00
Dmitry Gorbachev 4bd719527f - Reenable ACPI, it works now. Patch by Cameron Gutman. Bug #3363.
- But disable ACPIEnumerateDevices().

svn path=/trunk/; revision=39722
2009-02-23 13:17:48 +00:00
Dmitry Gorbachev 9b42ebfbcc Call IopEnumerateDevice() later, after IopCreateArcNames().
svn path=/trunk/; revision=39721
2009-02-23 13:17:07 +00:00
Dmitry Gorbachev 50ee6815d3 Allow shared interrupts.
svn path=/trunk/; revision=39720
2009-02-23 13:16:43 +00:00
Johannes Anderwald cb2ab2abe6 - Extend test prog for quering capabilities
- Store PCFILTER in subdevice filter
- Call driver provided property request handlers
- partly implement waveout get capabilties (WIP)
- remove definitions for waveoutcaps, auxcaps, waveincaps, they are defined in mmsystem.h

svn path=/trunk/; revision=39719
2009-02-23 11:13:35 +00:00
Johannes Anderwald 2bf896ebe5 - Add KSDATARANGE_AUDIO
- Fix prototype for waveOutOpen, waveInOpen

svn path=/trunk/; revision=39718
2009-02-23 11:09:32 +00:00
Andrew Greenwood 63a2507150 Added GETDEVCAPS support for MIDI, mixer and aux devices, within MME Buddy
and sndblst.dll - this just lets you see the device names etc. but adds
no extra functionality apart from this.


svn path=/trunk/; revision=39717
2009-02-22 22:31:26 +00:00
Andrew Greenwood 141ec3a682 Closing of wave output devices is functional and terminates the sound thread
cleanly. Started writing code to support pause/restart (nonfunctional yet.)
Stubbed mixer messages, added a readme.txt to give an overview of functions
supported. Also includes partial rewrite of wdmaud.drv. Currently I am
listening to DI.FM in ReactOS using an NT4 sndblst.sys along with ReactOS'
sndblst.dll


svn path=/trunk/; revision=39716
2009-02-22 21:14:54 +00:00
Johannes Anderwald 0fb477e07a - Implement a common property handler for filter property requests
- Always queue a work item for pin creation requests
- Handle KSPROPERTY_PIN_DATAFLOW, KSPROPERTY_PIN_DATARANGES, KSPROPERTY_PIN_INTERFACES, KSPROPERTY_PIN_MEDIUMS, KSPROPERTY_PIN_COMMUNICATION, KSPROPERTY_PIN_CATEGORY,  qKSPROPERTY_PIN_NAME, KSPROPERTY_PIN_GLOBALCINSTANCES, KSPROPERTY_PIN_CINSTANCES, KSPROPERTY_PIN_NECESSARYINSTANCES
- Fix several bugs in property copying code
- Change the pin creation path in sysaudio in order to have client information as this was previously not available (see DPRINT using hack)
- Close file handels in wdmaud / sysaudio
- set Iostatus before queing an irp as the irp might complete before accessing status io 

svn path=/trunk/; revision=39715
2009-02-22 18:58:51 +00:00
Dmitry Chapyshev 2e5444f855 - Add snmpapi from Wine
svn path=/trunk/; revision=39714
2009-02-22 14:21:45 +00:00
Sylvain Petreolle 3163354a38 add missing \n in traces
svn path=/trunk/; revision=39713
2009-02-22 14:07:18 +00:00
James Tabor e528cdb9d0 - Patch by Evgeniy Boltik: Fixes HatchBrushes, see bug 4107.
svn path=/trunk/; revision=39712
2009-02-22 14:04:31 +00:00
Dmitry Chapyshev 860749b5f3 - pSetupGetFileTitle calling MyGetFileTitle
svn path=/trunk/; revision=39711
2009-02-22 13:54:51 +00:00
Dmitry Chapyshev fe13378775 - Add CheckTokenMembership to winbase.h
- Use CheckTokenMembership in IsUserAdmin

svn path=/trunk/; revision=39710
2009-02-22 13:39:21 +00:00
Dmitry Chapyshev 485eae5524 - Don't direct call IsUserAnAdmin (setupapi in Windows not linked with shell32)
- Implement IsUserAdmin in setupapi (based on shell32 implementation)
- Implement pSetupIsUserAdmin

svn path=/trunk/; revision=39709
2009-02-22 12:49:18 +00:00
Dmitry Chapyshev 9660c296f2 - List of exported functions like Win2003 SP1
svn path=/trunk/; revision=39708
2009-02-22 12:20:43 +00:00
James Tabor 8c751eddbf - Add back removed call commented out. First problem I see with this patch, where is the check for child window? Second, this should be fixed in kernel space not in user32 and separate the kernel function from NtUserCallHwndLock and make a standalone one for win32k. With in this year ROSMENUINFO is going away and is deprecated. New structures will be made available soon.
svn path=/trunk/; revision=39707
2009-02-22 00:32:59 +00:00
Daniel Reimer 728f7321fe Our mshtml uses Wine Gecko 0.9.1
svn path=/trunk/; revision=39706
2009-02-21 23:50:13 +00:00
Matthias Kupfer c5dfe0ed6f revert hackfix (revision 39704)
svn path=/trunk/; revision=39705
2009-02-21 22:50:49 +00:00
Matthias Kupfer 0ef3ed3fb1 Evgeniy Boltik <bstsoft AT narod DOT ru>
Jan Roeloffzen <jroeloffzen AT hotmail DOT com>
- Fixes task manager process list names and kernel sysinfo.
- See issue #4087 for details.

svn path=/trunk/; revision=39704
2009-02-21 22:41:14 +00:00
Matthias Kupfer 166f97fa19 - implements an initial DrawMenuBar function (fixes the taskbar menu redraw bug)
- sorry, may contain a potentially hackfix (SendMessage WM_NCPAINT)

svn path=/trunk/; revision=39703
2009-02-21 22:35:11 +00:00