Commit graph

39879 commits

Author SHA1 Message Date
Johannes Anderwald 7615ef446e [MMIXER_TEST]
- Allocate the unicode version of LPMIXERCONTROL as mmixer api expects those
- Fix building of mmixer_test as mmixer now uses KsCreatePin

svn path=/trunk/; revision=44662
2009-12-20 00:55:50 +00:00
Johannes Anderwald 98485b0feb [SETUPAPI]
- Implement SetupDiOpenDeviceInterfaceRegKey

svn path=/trunk/; revision=44661
2009-12-20 00:53:21 +00:00
Johannes Anderwald cf7f39eaba [MMIXER]
- Fix buffer overflow

svn path=/trunk/; revision=44660
2009-12-19 21:44:39 +00:00
Johannes Anderwald cce0070699 [MMIXER]
- Fix broken check in MMixerAddMixerControl, which only copied the node name on failure
- Add initialization of LineControlsExtraDat LIST_ENTRY type, which resulted in a crash

svn path=/trunk/; revision=44659
2009-12-19 20:45:29 +00:00
Johannes Anderwald 5440b0612a [KS]
- Return correct status code

svn path=/trunk/; revision=44658
2009-12-19 20:42:48 +00:00
Gregor Schneider 28c158a870 [gdi32] Use predefined unimplemented macro for stubs, correct header paths
svn path=/trunk/; revision=44657
2009-12-19 19:07:36 +00:00
Gregor Schneider f9d540f20b [win32k] Add parameter checks for NtGdiSetVirtualResolution
svn path=/trunk/; revision=44656
2009-12-19 18:57:27 +00:00
Giannis Adamopoulos 5416a90f26 [win32k]
- Don't store SYSTEM_CURSORINFO inside WINSTATION_OBJECT. Use a global variable instead
- Remove IntGetCursorLocation. Use directly gpsi->ptCursor

svn path=/trunk/; revision=44655
2009-12-19 16:23:05 +00:00
Gregor Schneider 3fc3ac5c8c [win32k]
- Simplify GdiExtSelectClipRgn slightly
- Add missing line break

svn path=/trunk/; revision=44654
2009-12-19 13:08:53 +00:00
Gregor Schneider 077c75ad65 [paint]
Andrew Faulds <ajfweb AT googlemail DOT com>: Add support for deletion of rectangular selections
See issue #5043 for more details.

svn path=/trunk/; revision=44651
2009-12-18 20:33:22 +00:00
Gregor Schneider 6ceb354c5c [kernel32]
Viliam Lejcik (lejcik AT gmail DOT com>: Various locale fixes (missing checks, wrong or no errors set etc.)
See issue #4898 for more details.

svn path=/trunk/; revision=44650
2009-12-18 19:54:43 +00:00
Johannes Anderwald 98423a8531 [SETUPAPI]
- Don't store deleted pointers in a list 
- Found by Hervé Poussineau (hpoussin at reactos dot org)

svn path=/trunk/; revision=44649
2009-12-18 10:49:25 +00:00
Johannes Anderwald ebf5483364 [MMIXER_TEST
- Add support for Opening/Querying/Closing registry keys within the mmixer library

svn path=/trunk/; revision=44648
2009-12-18 10:42:57 +00:00
Johannes Anderwald af23bde581 [WDMAUD.DRV]
- Add support for Opening/Querying/Closing registry keys within the mmixer library

svn path=/trunk/; revision=44647
2009-12-18 10:42:29 +00:00
Johannes Anderwald 82dfe03d66 [MMIXER]
- Open all filters before starting enumeration. The advantage is that some filters are not opened twice
- Query the Mixer Name from Registry by opening the device interface registry key and querying for the value of FriendlyName. If it cannot be found, try to find the key under the sub key 'Device Parameters'

svn path=/trunk/; revision=44646
2009-12-18 10:25:41 +00:00
Johannes Anderwald f814e48ad5 [SETUPAPI]
- Implement SetupDiInstallDeviceInterfaces, SetupDiCreateDeviceInterfaceRegKeyW which are required to store device specific information

svn path=/trunk/; revision=44644
2009-12-18 04:37:15 +00:00
Timo Kreuzer 9eb97bd05d Add service table definitions. They are only used for arm atm, because we have them asm.h, too and include that file on x86. Patch by Alex, fixed by me.
svn path=/trunk/; revision=44643
2009-12-18 00:11:11 +00:00
Daniel Reimer 400e405bbc Fix a redefinition error on ARM Build. By teh omnipotent Alex
svn path=/trunk/; revision=44642
2009-12-17 23:07:19 +00:00
Timo Kreuzer dfd84b1ca4 Add the missing KeContextSwitches to the PRCB.
svn path=/trunk/; revision=44641
2009-12-17 22:38:54 +00:00
Timo Kreuzer 32014b63b8 [NTOSKRNL]
"Fix things": Add architecture specific macros KeGetTrapFrame, KeGetExceptionFrame and KeGetContextSwitches. Should fix kernel build on arm. Patch by Alex, modified by me.

svn path=/trunk/; revision=44640
2009-12-17 20:58:58 +00:00
Timo Kreuzer 26c9ccdb64 Hey Arch, next time you mess with code specific for an architecture you know nothing about, try to get at least the portable stuff right.
Fix _byteswap_ushort.

svn path=/trunk/; revision=44637
2009-12-17 13:41:06 +00:00
Timo Kreuzer f8e59069e2 Merge from amd64 branch
37868 Add CONTEXT flags for x64.
39347 Move rtl byteswap functions to wdm.h and add intrinsic definitions.
41030 fix definition of 64bit SLIST_HEADER. winnt.h: add 64bit SLIST_HEADER.
41071 Fix definition of NdisQueryPacketLength.
43447 Fix MmSizeOfMdl prototype.
43777 Fix definition of KdDebuggerNotPresent for gcc, the MS definition is broken, don't know if it's needed that way for msvc.
44178 Fix definition of _CONTEXT.
44491 Add LIST_ENTRY32/64, STRING32/64
44500 Add NT_TIB32/64.
44623 New definition of C_ASSERT and _STATIC_ASSERT using a function prototype. This way we avoid duplicate definition errors like with a typedef and unused function warning like with the extern.
44631 Fix C_ASSERT yet another time.

svn path=/trunk/; revision=44632
2009-12-16 23:39:20 +00:00
Timo Kreuzer dd8d39902e fix _byteswap_ushort for old gccs
svn path=/trunk/; revision=44630
2009-12-16 22:46:32 +00:00
Timo Kreuzer 8fbe2b1bf2 Use C_ASSERTS only for X86 and AMD64
svn path=/trunk/; revision=44629
2009-12-16 22:06:25 +00:00
Timo Kreuzer 440decaae9 implement _byteswap_ushort for arm
svn path=/trunk/; revision=44628
2009-12-16 21:58:31 +00:00
Timo Kreuzer 6ececd457f Make some ntdll exports architecture specific, as they are not exported by arm. Use pspec for ARM, too.
svn path=/trunk/; revision=44627
2009-12-16 21:41:18 +00:00
Timo Kreuzer ddb427f402 Fix prototype of MmSetAddressRangeModified
svn path=/trunk/; revision=44626
2009-12-16 21:12:54 +00:00
Daniel Reimer 702301aa40 Some build fixes for ReactOS ARM. Credits go to Alex Ionescu and Timo Kreuzer while I just tried to keep up. :-P
- Undefine Unicode which is defined by default in cegcc.
- Add a missing include in ke.h
- Implement _CountLeadingZeros, _CountTrailingZeros, _BitScanForward for ARM.

svn path=/trunk/; revision=44625
2009-12-16 20:59:06 +00:00
Gregor Schneider 1c23c0f872 [advapi32]
- Extend LsaLookupNames2 stub, fix file header
- Should prevent the advapi32 lsa test crash

svn path=/trunk/; revision=44622
2009-12-16 20:26:18 +00:00
Timo Kreuzer a95def3ad0 [NTDLL]
Convert to spec. Taken from wine with massive changes by me.

@ ros-arm-bringup: I couldn't verify it works for arm, so I kept the arm def file.

svn path=/trunk/; revision=44621
2009-12-16 17:32:30 +00:00
Timo Kreuzer 2df288b441 Fix built a bit more.
svn path=/trunk/; revision=44616
2009-12-15 23:49:10 +00:00
Johannes Anderwald 1d90d9e296 fix build
svn path=/trunk/; revision=44615
2009-12-15 23:28:54 +00:00
Timo Kreuzer e3fd4c3421 Merge from amd64 branch:
40122 mmsystem.h: 64bit build fixes. (Samuel Serapión)
40123 mmsystem.h: Even more 64bit fixes.  (Samuel Serapión)
40155 mmddk.h/mmsystem.h: Fix ACMDRVSTREAMINSTANCE, ACMDRVSTREAMHEADER, PORTALLOC, WAVEOPENDESC, MIDIOPENDESC, MIXEROPENDESC structures. Fix ACMFILTERENUMCBA/W, ACMFILTERTAGENUMCBA/W, ACMFORMATENUMCA/W, ACMFORMATTAGENUMCBA/W callbacks. Fix acmDriverEnum, acmFilterEnumA/W, acmFormatEnumA/W, acmFormatTagEnumA/W, acmStreamOpen, CloseDriver, OpenDriver, SendDriverMessage, mmTaskSignal, mmGetCurrentTask (Samuel Serapión)
40995 sqltypes.h: 64bit fixes for sqltype.h, also resort and cleanup (Timo Kreuzer)
40996 msacm.h: Fix tag of ACMFILTERCHOOSEA (Timo Kreuzer)
41029 sql.h: Fix SQLFetchScroll prototype. (Timo Kreuzer)
41045 commdlg.h: fix and update definition of OPENFILENAMEAW (Timo Kreuzer)
41449 basetsd.h: Disable wine hack for amd64 (Timo Kreuzer)
43506 wincrypt.h: Fix definition of CryptReleaseContext (Timo Kreuzer)
43840 wingdi.h: Fix LOGBRUSH definition. (Samuel Serapión)
43907 commctrl.h: Fix bad cast. (Timo Kreuzer)
44039 mmddk.h: Fix mmTaskCreate and mciGetDriverData prototypes per MSDN (Timo Kreuzer)
44040 windef.h/winsock.h/winsock2.h: Fix 32bit build. (Samuel Serapión)
44044 ws2spi.h: Fix ws2_32 64bit build (Samuel Serapión)
44294 winnt.h: Fix SLIST_ENTRY for WIN64 (Timo Kreuzer)
44338 winnt.h: fix build. (Samuel Serapión)
44460 winuser.h: Define PHDEVNOTIFY, PDLGITEMTEMPLATEA/W, LPDLGITEMTEMPLATEA/W, PPAINTSTRUCT, PMENUITEMTEMPLATE, PUSEROBJECTFLAGS, PMINIMIZEDMETRICS, PNONCLIENTMETRICSA/W, LPMOUSEINPUT, LPKEYBDINPUT, LPHARDWAREINPUT. Add HARDWAREHOOKSTRUCT structure. (Samuel Serapión)

svn path=/trunk/; revision=44614
2009-12-15 23:23:01 +00:00
Johannes Anderwald ddda0278b0 * Added wavebar
* Added format, duration, buffer, position labels
- Now wave_in/out objects are opened only when pressed rec/play buttons.
- The slider bar now real points to audio samples in the buffer
- Some other little Gui changes
- by Marco Pagliaricci (IRC: rendar)


svn path=/trunk/; revision=44613
2009-12-15 22:39:18 +00:00
Timo Kreuzer 50a510c96d [MAIN]
Use UlongToPtr instead of casting.

svn path=/trunk/; revision=44608
2009-12-15 19:06:23 +00:00
Gregor Schneider 068b10820f Jerome Gardou <jerome DOT gardou AT laposte DOT net>:
[kernel32] Set the SYNCHRONIZE access mask when using FILE_SYNCHRONOUS_IO options

svn path=/trunk/; revision=44607
2009-12-15 18:39:13 +00:00
Timo Kreuzer c5916ca7c4 [MSVCRT20]
Fix _getmainargs params in spec file

svn path=/trunk/; revision=44606
2009-12-15 17:51:31 +00:00
Timo Kreuzer 6bba9dc9a1 Merge from amd64 branch:
[SPIDER]
44002 Fix 64 bit build. (Samuel Serapión)

[PAINT]
43858 Fix 64 bit warnings. (Samuel Serapión)

[RAPPS]
43906 Fix 64 bit build. (Samuel Serapión)

[SNDREC32]
44389 Fix 64 bit build. (Samuel Serapión)

[TFTP]
41097 Fix pointer to DWORD cast. (Timo Kreuzer)

[COMCTL32]
36172 Build as unicode. (Samuel Serapión)

[USERMGR]
41098 Fix 2 POINTER<->DWORD casts. (Timo Kreuzer)

[d3d9]
38149 Fix pointer<->ULONG cast. (Timo Kreuzer)
43839 Fix 64 bit Build. (Samuel Serapión)

[DSOUND]
40753 Make DSDRIVERDESC.dnDevNode a DWORD_PTR and DSPROPERTY.InstanceId a ULONG_PTR. (Timo Kreuzer)

[LSASRV]
44037 Fix 64 bit Build. (Samuel Serapión)

[MMDRV]
40125 Fix 64bit build. (Samuel Serapión)

[MSGINA]
40993 fix 64bit build (Timo Kreuzer)

[NETSHELL]
41001 Don't cast the 1st parameter of InterlockedExchange to volatile void **, but to void ** (Timo Kreuzer)

[OPENGL32]
36502 No need to assert an offset thats only used in i386 specific code. (Samuel Serapión)

[POWRPROF]
41044 Don't cast NULL to DWORD. (Timo Kreuzer)
43860 Don't cast NULL to an integer type. (Samuel Serapión)

[PSAPI]
38150 Fix a cast (Timo Kreuzer)

[SHELL32]
38355 Use Get/SetWindowLongPtr (Samuel Serapión)
41047 Get rid of deprecated LargeInteger functions and use native int64 math instead. (Timo Kreuzer)
41048 DialogProc returns INT_PTR and not BOOL. Don't cast a pointer to LONG. Use INT_PTR instead of int for pointer math. (Timo Kreuzer)
41049 Change return type of OpenMRUListW and CreateMRUListW to HANDLE, add a comment that CREATEMRULISTW is already defined differently in explorer_new/undoc.h (Timo Kreuzer)
44601 Fix a prototype. Convert RtlLargeInteger to native int64. Fixes 64bit built. (Timo Kreuzer)

[WDMAUD.DRV]
41101 Don't cast DWORD to PVOID, use UlongToPtr instead. (Timo Kreuzer)

[WS2_32]
35777 fix ws2_32 spec file (Timo kreuzer)
44044 Fix ws2_32 64bit build (1 of 2) (Samuel Serapión)
44045 Fix ws2_32 64bit build (2 of 2) (Samuel Serapión)

[WS2_32_NEW]
44389 Fix 64 bit built. (Samuel Serapión)

svn path=/trunk/; revision=44602
2009-12-15 15:16:01 +00:00
James Tabor 64d1ab613b [Win32k]
- Remove LastChild.

svn path=/trunk/; revision=44597
2009-12-15 01:11:46 +00:00
Timo Kreuzer 2468cb96ed [IMAGEHLP]
Don't use explicit 32 bit version of IMAGE_OPTIONAL_HEADER

svn path=/trunk/; revision=44596
2009-12-14 23:35:40 +00:00
KJK::Hyperion 8e60110bef modified Makefile
New ${checkpoint} command to create an empty "checkpoint" file, to store the last modified date of a make target

modified   tools/rbuild/backend/mingw/rules.mak
   Rules that output more than one file at once don't mix well with parallel builds: serialize dependency checks through the use of checkpoint files. Fixes intermittent widl issues in highly parallel builds
   Bonus internal rbuild function that I had to commit one day or another

See issue #4994 for more details.

svn path=/trunk/; revision=44594
2009-12-14 23:02:28 +00:00
Timo Kreuzer 6dae590c90 revert last commit (sorry, wrong direction)
svn path=/trunk/; revision=44592
2009-12-14 22:58:51 +00:00
Giannis Adamopoulos 196021c276 [win32k]
- Don't store LastChild in WINDOW_OBJECT

svn path=/trunk/; revision=44591
2009-12-14 22:58:03 +00:00
Timo Kreuzer 7a9ae1c567 use tabs in rbuild file (copied from trunk)
svn path=/trunk/; revision=44590
2009-12-14 22:57:33 +00:00
Timo Kreuzer b1d866fc48 [KSUSER]
Remove broken HeapAlloc prototype

svn path=/trunk/; revision=44589
2009-12-14 22:52:08 +00:00
Timo Kreuzer 284d0cb033 remove unneccessary file entry for spec file
svn path=/trunk/; revision=44587
2009-12-14 22:29:15 +00:00
Timo Kreuzer f7cfe73eaf [LIBXSLT]
Add HAVE_STAT definition. fixes a warning.

svn path=/trunk/; revision=44583
2009-12-14 19:47:13 +00:00
Johannes Anderwald 9ada735e65 - Setup registry entries for the default user shell
- May fix bug 5020

svn path=/trunk/; revision=44582
2009-12-14 19:36:22 +00:00
Giannis Adamopoulos e88d19a769 [user32]
SetClipboardData: fix return value
Fixes one user32:clipbloard test

svn path=/trunk/; revision=44577
2009-12-14 15:41:58 +00:00
James Tabor f755214f06 [Win32k]
- Continuing the moving into WND structure with minor desktop structure changes.
- Tested: wine user32 tests, AbiWord 2.6.8, FF 3.5, OOo 2.4.3 and Seamonkey 2.0.

svn path=/trunk/; revision=44576
2009-12-14 06:48:40 +00:00