reactos.git
13 years agoAssign the services Dhcp, EventLog, PlugPlay and RpcSs to the LocalSystem account.
Eric Kohl [Wed, 23 Dec 2009 14:59:47 +0000 (14:59 +0000)]
Assign the services Dhcp, EventLog, PlugPlay and RpcSs to the LocalSystem account.

svn path=/trunk/; revision=44734

13 years ago- RChangeServiceConfigA/W: Update the service group properly and fix the ANSI to...
Eric Kohl [Wed, 23 Dec 2009 14:32:15 +0000 (14:32 +0000)]
- RChangeServiceConfigA/W: Update the service group properly and fix the ANSI to Unicode string conversion.
This fixes one winetest.

svn path=/trunk/; revision=44733

13 years ago[kernel32]
Christoph von Wittich [Wed, 23 Dec 2009 12:10:58 +0000 (12:10 +0000)]
[kernel32]
fix typos in comments (as in wine 1.1.35)

svn path=/trunk/; revision=44732

13 years ago[netapi32]
Christoph von Wittich [Wed, 23 Dec 2009 11:36:17 +0000 (11:36 +0000)]
[netapi32]
sync netapi32 with wine 1.1.35

svn path=/trunk/; revision=44731

13 years ago[inetcomm]
Christoph von Wittich [Wed, 23 Dec 2009 11:32:32 +0000 (11:32 +0000)]
[inetcomm]
sync inetcomm with wine 1.1.35

svn path=/trunk/; revision=44730

13 years ago[shell32]
Christoph von Wittich [Wed, 23 Dec 2009 11:28:12 +0000 (11:28 +0000)]
[shell32]
partial shlview winesync to wine 1.1.35

svn path=/trunk/; revision=44729

13 years ago[shell32]
Christoph von Wittich [Wed, 23 Dec 2009 11:21:41 +0000 (11:21 +0000)]
[shell32]
partial SHGetFileInfoW winesync to wine 1.1.35 (fixes uninitialized memory access)

svn path=/trunk/; revision=44728

13 years ago[shell32]
Christoph von Wittich [Wed, 23 Dec 2009 11:17:00 +0000 (11:17 +0000)]
[shell32]
partial shelllink winesync to wine 1.1.35 (fixes a memory leak)

svn path=/trunk/; revision=44727

13 years ago[kernel32]
Christoph von Wittich [Wed, 23 Dec 2009 11:13:35 +0000 (11:13 +0000)]
[kernel32]
sync enumerate_mapped_resources and update_add_resource to wine 1.1.35

svn path=/trunk/; revision=44726

13 years ago[crt]
Christoph von Wittich [Wed, 23 Dec 2009 10:56:54 +0000 (10:56 +0000)]
[crt]
import _wcsupr_s from wine 1.1.35

svn path=/trunk/; revision=44725

13 years ago[crt]
Christoph von Wittich [Wed, 23 Dec 2009 10:44:24 +0000 (10:44 +0000)]
[crt]
sync wcscpy_s with wine 1.1.35

svn path=/trunk/; revision=44724

13 years ago[WDMAUD.DRV]
Johannes Anderwald [Wed, 23 Dec 2009 10:43:17 +0000 (10:43 +0000)]
[WDMAUD.DRV]
- Fix build

svn path=/trunk/; revision=44723

13 years ago[WDMAUD.DRV]
Johannes Anderwald [Wed, 23 Dec 2009 03:05:11 +0000 (03:05 +0000)]
[WDMAUD.DRV]
- Move the routines which interact wdmaud.sys to legacy.c
- Implement opening / closing of audio pins as well as writing / reading audio bytes from / to it
- By defining USE_MMIXER_LIB, wdmaud.drv bypasses wdmaud+sysaudio and directly writes/reads the audio bytes to portcls.

svn path=/trunk/; revision=44721

13 years ago[MMIXER]
Johannes Anderwald [Wed, 23 Dec 2009 02:49:18 +0000 (02:49 +0000)]
[MMIXER]
- Implement a function for controlling the wave pin state

svn path=/trunk/; revision=44720

13 years ago[MMIXER]
Johannes Anderwald [Tue, 22 Dec 2009 18:08:51 +0000 (18:08 +0000)]
[MMIXER]
- Fix a bug in the file header

svn path=/trunk/; revision=44717

13 years agoIf the user doubleclicked a treeview item, make sure the doubleclicked item has alrea...
Eric Kohl [Tue, 22 Dec 2009 17:00:45 +0000 (17:00 +0000)]
If the user doubleclicked a treeview item, make sure the doubleclicked item has already been selected. Otherwise the user can expand or collapse a treeview iten and a previously selected item get opened. That's not what we want.

svn path=/trunk/; revision=44716

13 years agoFix a typo. Use lpStartServiceName instead of lpServiceName.
Eric Kohl [Tue, 22 Dec 2009 16:57:27 +0000 (16:57 +0000)]
Fix a typo. Use lpStartServiceName instead of lpServiceName.
This fixes two winetests.

svn path=/trunk/; revision=44714

13 years ago- Remove unused variable
Eric Kohl [Tue, 22 Dec 2009 16:51:33 +0000 (16:51 +0000)]
- Remove unused variable
- Get rid of those ugly single line if-statements.
- No code changes

svn path=/trunk/; revision=44713

13 years ago[win32k]
Gregor Schneider [Tue, 22 Dec 2009 16:17:44 +0000 (16:17 +0000)]
[win32k]
- Add support for DIBINDEX, PALETTERGB, PALETTEINDEX macros in SetPixel(V)
- Before it did just take every COLORREF as a RGB color, while it could also mean (dib-)palette indices
- Fixes several gdi32 bitmap winetests (depending on bit depth between 2 and ~500), 2 palette tests and some palette drawing issues
- One problem with palette indices remains in true color bit modes (see bitmap test)

svn path=/trunk/; revision=44712

13 years ago[win32k] Remove palette flag validation for get/setPaletteEntries
Gregor Schneider [Tue, 22 Dec 2009 16:02:49 +0000 (16:02 +0000)]
[win32k] Remove palette flag validation for get/setPaletteEntries

svn path=/trunk/; revision=44711

13 years agosync netapi32_winetest with wine 1.1.35
Christoph von Wittich [Tue, 22 Dec 2009 11:51:26 +0000 (11:51 +0000)]
sync netapi32_winetest with wine 1.1.35

svn path=/trunk/; revision=44710

13 years agosync msvcrtd_winetest with wine 1.1.35
Christoph von Wittich [Tue, 22 Dec 2009 11:50:11 +0000 (11:50 +0000)]
sync msvcrtd_winetest with wine 1.1.35

svn path=/trunk/; revision=44709

13 years agosync msacm32_winetest with wine 1.1.35
Christoph von Wittich [Tue, 22 Dec 2009 11:48:05 +0000 (11:48 +0000)]
sync msacm32_winetest with wine 1.1.35

svn path=/trunk/; revision=44708

13 years agosync msvcrt_winetest with wine 1.1.35
Christoph von Wittich [Tue, 22 Dec 2009 11:46:36 +0000 (11:46 +0000)]
sync msvcrt_winetest with wine 1.1.35

svn path=/trunk/; revision=44707

13 years agosync lz32_winetest with wine 1.1.35
Christoph von Wittich [Tue, 22 Dec 2009 11:42:28 +0000 (11:42 +0000)]
sync lz32_winetest with wine 1.1.35

svn path=/trunk/; revision=44706

13 years agosync mstask_winetest with wine 1.1.35
Christoph von Wittich [Tue, 22 Dec 2009 11:41:32 +0000 (11:41 +0000)]
sync mstask_winetest with wine 1.1.35

svn path=/trunk/; revision=44705

13 years agosync hlink_winetest with wine 1.1.35
Christoph von Wittich [Tue, 22 Dec 2009 11:40:11 +0000 (11:40 +0000)]
sync hlink_winetest with wine 1.1.35

svn path=/trunk/; revision=44704

13 years agosync fusion_winetest with wine 1.1.35
Christoph von Wittich [Tue, 22 Dec 2009 11:38:45 +0000 (11:38 +0000)]
sync fusion_winetest with wine 1.1.35

svn path=/trunk/; revision=44703

13 years agoAdd diff file for r44691 (dll/win32/lpk needs LpkPresent), thanks Jim
Gregor Schneider [Tue, 22 Dec 2009 11:11:16 +0000 (11:11 +0000)]
Add diff file for r44691 (dll/win32/lpk needs LpkPresent), thanks Jim

svn path=/trunk/; revision=44702

13 years agoadd progman_dde to testlist
Christoph von Wittich [Tue, 22 Dec 2009 11:05:33 +0000 (11:05 +0000)]
add progman_dde to testlist

svn path=/trunk/; revision=44701

13 years agosync msxml3_winetest with wine 1.1.35
Christoph von Wittich [Tue, 22 Dec 2009 10:11:44 +0000 (10:11 +0000)]
sync msxml3_winetest with wine 1.1.35

svn path=/trunk/; revision=44700

13 years agosync setupapi_winetest with wine 1.1.35
Christoph von Wittich [Tue, 22 Dec 2009 10:08:01 +0000 (10:08 +0000)]
sync setupapi_winetest with wine 1.1.35

svn path=/trunk/; revision=44699

13 years agosync rsaenh_winetest with wine 1.1.35
Christoph von Wittich [Tue, 22 Dec 2009 10:04:58 +0000 (10:04 +0000)]
sync rsaenh_winetest with wine 1.1.35

svn path=/trunk/; revision=44698

13 years agopartial ntdll_winetest sync to wine 1.1.35
Christoph von Wittich [Tue, 22 Dec 2009 09:57:33 +0000 (09:57 +0000)]
partial ntdll_winetest sync to wine 1.1.35

svn path=/trunk/; revision=44697

13 years agoadd some missing structures and enumerations
Christoph von Wittich [Tue, 22 Dec 2009 09:54:13 +0000 (09:54 +0000)]
add some missing structures and enumerations

svn path=/trunk/; revision=44696

13 years agosync kernel32_winetest with wine 1.1.35
Christoph von Wittich [Tue, 22 Dec 2009 09:43:11 +0000 (09:43 +0000)]
sync kernel32_winetest with wine 1.1.35

svn path=/trunk/; revision=44695

13 years agosync shell32_winetest with wine 1.1.35
Christoph von Wittich [Tue, 22 Dec 2009 09:35:12 +0000 (09:35 +0000)]
sync shell32_winetest with wine 1.1.35

svn path=/trunk/; revision=44694

13 years agosync msi with wine 1.1.35
Christoph von Wittich [Tue, 22 Dec 2009 09:28:03 +0000 (09:28 +0000)]
sync msi with wine 1.1.35

svn path=/trunk/; revision=44693

13 years agosync msi_winetest with wine 1.1.35
Christoph von Wittich [Tue, 22 Dec 2009 09:14:17 +0000 (09:14 +0000)]
sync msi_winetest with wine 1.1.35

svn path=/trunk/; revision=44692

13 years ago- [usp10] Fix build. Wine is out of control...
James Tabor [Tue, 22 Dec 2009 05:53:11 +0000 (05:53 +0000)]
- [usp10] Fix build. Wine is out of control...

svn path=/trunk/; revision=44691

13 years agoSync usp10 test to Wine 1.1.35
Gregor Schneider [Tue, 22 Dec 2009 00:29:15 +0000 (00:29 +0000)]
Sync usp10 test to Wine 1.1.35

svn path=/trunk/; revision=44690

13 years agoSync usp10 with Wine 1.1.35, remove diff
Gregor Schneider [Tue, 22 Dec 2009 00:27:48 +0000 (00:27 +0000)]
Sync usp10 with Wine 1.1.35, remove diff

svn path=/trunk/; revision=44689

13 years ago- new icon for sndrec32
Matthias Kupfer [Mon, 21 Dec 2009 19:27:22 +0000 (19:27 +0000)]
- new icon for sndrec32
- remove empty and unused icons

svn path=/trunk/; revision=44685

13 years agoSync reg, xcopy, wordpad and winhlp32 to Wine 1.1.35.
Daniel Reimer [Mon, 21 Dec 2009 16:40:25 +0000 (16:40 +0000)]
Sync reg, xcopy, wordpad and winhlp32 to Wine 1.1.35.
Add recent rc file changes in servman to all languages.

svn path=/trunk/; revision=44684

13 years agofix paste error. ros-diffs yet again proves its worth
Ged Murphy [Mon, 21 Dec 2009 16:20:08 +0000 (16:20 +0000)]
fix paste error. ros-diffs yet again proves its worth

svn path=/trunk/; revision=44683

13 years agoDon't re-add the dependants
Ged Murphy [Mon, 21 Dec 2009 16:17:18 +0000 (16:17 +0000)]
Don't re-add the dependants

svn path=/trunk/; revision=44682

13 years agoRecurse the tree and clean up all the strings tagged to the items. Servman now has...
Ged Murphy [Mon, 21 Dec 2009 14:25:54 +0000 (14:25 +0000)]
Recurse the tree and clean up all the strings tagged to the items. Servman now has working dependency tracking

svn path=/trunk/; revision=44681

13 years agoAdd full depth of dependencies for the first tree view
Ged Murphy [Mon, 21 Dec 2009 13:42:29 +0000 (13:42 +0000)]
Add full depth of dependencies for the first tree view

svn path=/trunk/; revision=44680

13 years agoImplement the first level of service dependants
Ged Murphy [Mon, 21 Dec 2009 11:57:58 +0000 (11:57 +0000)]
Implement the first level of service dependants

svn path=/trunk/; revision=44679

13 years ago[win32k] Rename windowToViewPort to IntWindowToViewPort
Gregor Schneider [Sun, 20 Dec 2009 22:46:22 +0000 (22:46 +0000)]
[win32k] Rename windowToViewPort to IntWindowToViewPort

svn path=/trunk/; revision=44678

13 years ago[win32k]
Gregor Schneider [Sun, 20 Dec 2009 22:35:16 +0000 (22:35 +0000)]
[win32k]
- Make DC_UpdateXforms update DeviceToWorld conversion matrix as well
- Fixes four gdi32 mapping tests and drawing in applications that use DPtoLP (Yuan's coordinate space test for example)

svn path=/trunk/; revision=44677

13 years ago[win32k] Reuse existing code to support page to device space transformations, fixes...
Gregor Schneider [Sun, 20 Dec 2009 18:59:10 +0000 (18:59 +0000)]
[win32k] Reuse existing code to support page to device space transformations, fixes 4 gdi32 mapping tests

svn path=/trunk/; revision=44676

13 years ago- remove SmallDiam for check boxes and radio butttons
Matthias Kupfer [Sun, 20 Dec 2009 18:48:34 +0000 (18:48 +0000)]
- remove SmallDiam for check boxes and radio butttons
- TODO: needs some fixes to adjust the checkmark vertically

svn path=/trunk/; revision=44675

13 years ago- reenable KeyboardCues-value
Matthias Kupfer [Sun, 20 Dec 2009 18:45:49 +0000 (18:45 +0000)]
- reenable KeyboardCues-value

svn path=/trunk/; revision=44674

13 years ago- Add some German translations
Matthias Kupfer [Sun, 20 Dec 2009 18:44:29 +0000 (18:44 +0000)]
- Add some German translations
- Add About-Dialog-Proc

svn path=/trunk/; revision=44673

13 years ago[win32k] Initialize Information contexts too, fixes eight more mapping tests
Gregor Schneider [Sun, 20 Dec 2009 17:18:36 +0000 (17:18 +0000)]
[win32k] Initialize Information contexts too, fixes eight more mapping tests

svn path=/trunk/; revision=44672

13 years ago[win32k]
Gregor Schneider [Sun, 20 Dec 2009 13:55:45 +0000 (13:55 +0000)]
[win32k]
- Mapping mode works with the virtual device resolution
- Initialize virtual resolution when initializing the DC
- Fixes ~30 gdi32 mapping tests

svn path=/trunk/; revision=44671

13 years ago[userenv] Print the directory name when GetShortPathNameW fails
Gregor Schneider [Sun, 20 Dec 2009 13:47:20 +0000 (13:47 +0000)]
[userenv] Print the directory name when GetShortPathNameW fails

svn path=/trunk/; revision=44670

13 years agoMerge from amd64 branch:
Timo Kreuzer [Sun, 20 Dec 2009 13:30:35 +0000 (13:30 +0000)]
Merge from amd64 branch:

[NTOSKRNL]
44415 Move architecture specific inline functions in into the respective headers.

[FREELDR]
39639 Fix 2 small typos.
40247 Fix a number of ULONG / ULONG_PTR issues, remove LoadReactOSSetup2 for non-x86 builds.
40324 Fix switching from long mode to real mode, by jumping into a compatibility segment first.
43566 move wlmemory.c into arch specific folder. add wlmemory.c and ntsetup.c for amd64 (stubbed)
43574 Enable winldr style boot for amd64
43598 Split wlmemory into portable and arch specific code. Partly implement amd64 version.
43600 Fix a bug.
43601 Move definition of KIP0PCRADDRESS into arch specific header. Implement WinLdrSetupForNt for amd64. Fix mapping of PCR and KI_USER_SHARED_DATA. Don't enable paging again on amd64. Fix WinLdrSetProcessorContext to take a ULONG_PTR not ULONG for Pcr and Tss
43602 Round up to pages when updating LoaderPagesSpanned to avoid a bug when the last memory region is not mapped.
43604 Add MempIsPageMapped for debugging puposes. Map pages for kernel, too in amd64 version of MempSetupPaging.
43605 Include the intrinsics from the kernel. Set segement selectors
43757 Pass pointer to debugprint function to the kernel in LoaderBlock->u.I386.CommonDataArea. Comment out __lldt
43775 Fixed build with MinGW-w64 4.4.3
44065 Use LoaderMemoryData instead of LoaderSpecialMemory for page tables
44095 Use the kernel mode address for the gdt/idt
44123 Fix a typo
44144 Share some more inline functions between the kernel and freeldr. Use __ltr instead of Ke386SetTr. refactor KiInitializeTss. Update some Mm constants. Halfplement KeFlushEntireTb. Clean the mapping of page 0 in KiSystemStartup, as long as we don't clean mappings in freeldr. Fix a bug in KiPageFault, where ebp was used instead of rbp. Refactor MmArmInitSystem and related.
44205 Improve the code in wlmemory.c, no real functional change.
44426 remove unused variables.
44530 Don't include i386/ke.h from ntoskrnl.
44540 Detect if this is a amd64 CPU before attempting to boot. (Basil Gello)

svn path=/trunk/; revision=44669

13 years agoUpdate log2lines to the latest version. Jan Roeloffzen, bug #4342.
Dmitry Gorbachev [Sun, 20 Dec 2009 12:36:26 +0000 (12:36 +0000)]
Update log2lines to the latest version. Jan Roeloffzen, bug #4342.

svn path=/trunk/; revision=44668

13 years ago- Fix broken check for storing the number of transferred bytes.
Johannes Anderwald [Sun, 20 Dec 2009 11:57:21 +0000 (11:57 +0000)]
- Fix broken check for storing the number of transferred bytes.
- Fix broken logic in GetOverlappedResult
- Patch by Alex

svn path=/trunk/; revision=44667

13 years ago[SETUPAPI]
Johannes Anderwald [Sun, 20 Dec 2009 11:43:58 +0000 (11:43 +0000)]
[SETUPAPI]
- Add SetupSetNonInteractiveMode stub

svn path=/trunk/; revision=44666

13 years ago[KS]
Johannes Anderwald [Sun, 20 Dec 2009 11:17:02 +0000 (11:17 +0000)]
[KS]
- Return correct error code in KsPinPropertyHandler, when buffer is too small
- Refactor KsTopologyPropertyHandler to make use of KsHandleSizedListQuery function which makes the function a lot smaller
- Fix totally broken KsHandleSizedListQuery

svn path=/trunk/; revision=44665

13 years ago[MMIXER]
Johannes Anderwald [Sun, 20 Dec 2009 00:55:55 +0000 (00:55 +0000)]
[MMIXER]
- Add support for enumerating wave in/out devices. Based on the wdmaud driver code

svn path=/trunk/; revision=44664

13 years ago[WDMAUD.DRV]
Johannes Anderwald [Sun, 20 Dec 2009 00:55:52 +0000 (00:55 +0000)]
[WDMAUD.DRV]
- Implement support of using mmixer wave in/out library functions (not yet used)
- Not yet used
- Remove DIGCF_PRESENT flag from device list as setupapi cannot handle this yet properly

svn path=/trunk/; revision=44663

13 years ago[MMIXER_TEST]
Johannes Anderwald [Sun, 20 Dec 2009 00:55:50 +0000 (00:55 +0000)]
[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

13 years ago[SETUPAPI]
Johannes Anderwald [Sun, 20 Dec 2009 00:53:21 +0000 (00:53 +0000)]
[SETUPAPI]
- Implement SetupDiOpenDeviceInterfaceRegKey

svn path=/trunk/; revision=44661

13 years ago[MMIXER]
Johannes Anderwald [Sat, 19 Dec 2009 21:44:39 +0000 (21:44 +0000)]
[MMIXER]
- Fix buffer overflow

svn path=/trunk/; revision=44660

13 years ago[MMIXER]
Johannes Anderwald [Sat, 19 Dec 2009 20:45:29 +0000 (20:45 +0000)]
[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

13 years ago[KS]
Johannes Anderwald [Sat, 19 Dec 2009 20:42:48 +0000 (20:42 +0000)]
[KS]
- Return correct status code

svn path=/trunk/; revision=44658

13 years ago[gdi32] Use predefined unimplemented macro for stubs, correct header paths
Gregor Schneider [Sat, 19 Dec 2009 19:07:36 +0000 (19:07 +0000)]
[gdi32] Use predefined unimplemented macro for stubs, correct header paths

svn path=/trunk/; revision=44657

13 years ago[win32k] Add parameter checks for NtGdiSetVirtualResolution
Gregor Schneider [Sat, 19 Dec 2009 18:57:27 +0000 (18:57 +0000)]
[win32k] Add parameter checks for NtGdiSetVirtualResolution

svn path=/trunk/; revision=44656

13 years ago[win32k]
Giannis Adamopoulos [Sat, 19 Dec 2009 16:23:05 +0000 (16:23 +0000)]
[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

13 years ago[win32k]
Gregor Schneider [Sat, 19 Dec 2009 13:08:53 +0000 (13:08 +0000)]
[win32k]
- Simplify GdiExtSelectClipRgn slightly
- Add missing line break

svn path=/trunk/; revision=44654

13 years ago[paint]
Gregor Schneider [Fri, 18 Dec 2009 20:33:22 +0000 (20:33 +0000)]
[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

13 years ago[kernel32]
Gregor Schneider [Fri, 18 Dec 2009 19:54:43 +0000 (19:54 +0000)]
[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

13 years ago[SETUPAPI]
Johannes Anderwald [Fri, 18 Dec 2009 10:49:25 +0000 (10:49 +0000)]
[SETUPAPI]
- Don't store deleted pointers in a list
- Found by Hervé Poussineau (hpoussin at reactos dot org)

svn path=/trunk/; revision=44649

13 years ago[MMIXER_TEST
Johannes Anderwald [Fri, 18 Dec 2009 10:42:57 +0000 (10:42 +0000)]
[MMIXER_TEST
- Add support for Opening/Querying/Closing registry keys within the mmixer library

svn path=/trunk/; revision=44648

13 years ago[WDMAUD.DRV]
Johannes Anderwald [Fri, 18 Dec 2009 10:42:29 +0000 (10:42 +0000)]
[WDMAUD.DRV]
- Add support for Opening/Querying/Closing registry keys within the mmixer library

svn path=/trunk/; revision=44647

13 years ago[MMIXER]
Johannes Anderwald [Fri, 18 Dec 2009 10:25:41 +0000 (10:25 +0000)]
[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

13 years ago[SETUPAPI]
Johannes Anderwald [Fri, 18 Dec 2009 04:37:15 +0000 (04:37 +0000)]
[SETUPAPI]
- Implement SetupDiInstallDeviceInterfaces, SetupDiCreateDeviceInterfaceRegKeyW which are required to store device specific information

svn path=/trunk/; revision=44644

13 years agoAdd service table definitions. They are only used for arm atm, because we have them...
Timo Kreuzer [Fri, 18 Dec 2009 00:11:11 +0000 (00:11 +0000)]
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

13 years agoFix a redefinition error on ARM Build. By teh omnipotent Alex
Daniel Reimer [Thu, 17 Dec 2009 23:07:19 +0000 (23:07 +0000)]
Fix a redefinition error on ARM Build. By teh omnipotent Alex

svn path=/trunk/; revision=44642

13 years agoAdd the missing KeContextSwitches to the PRCB.
Timo Kreuzer [Thu, 17 Dec 2009 22:38:54 +0000 (22:38 +0000)]
Add the missing KeContextSwitches to the PRCB.

svn path=/trunk/; revision=44641

13 years ago[NTOSKRNL]
Timo Kreuzer [Thu, 17 Dec 2009 20:58:58 +0000 (20:58 +0000)]
[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

13 years agoHey Arch, next time you mess with code specific for an architecture you know nothing...
Timo Kreuzer [Thu, 17 Dec 2009 13:41:06 +0000 (13:41 +0000)]
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

13 years agoMerge from amd64 branch
Timo Kreuzer [Wed, 16 Dec 2009 23:39:20 +0000 (23:39 +0000)]
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

13 years agofix _byteswap_ushort for old gccs
Timo Kreuzer [Wed, 16 Dec 2009 22:46:32 +0000 (22:46 +0000)]
fix _byteswap_ushort for old gccs

svn path=/trunk/; revision=44630

13 years agoUse C_ASSERTS only for X86 and AMD64
Timo Kreuzer [Wed, 16 Dec 2009 22:06:25 +0000 (22:06 +0000)]
Use C_ASSERTS only for X86 and AMD64

svn path=/trunk/; revision=44629

13 years agoimplement _byteswap_ushort for arm
Timo Kreuzer [Wed, 16 Dec 2009 21:58:31 +0000 (21:58 +0000)]
implement _byteswap_ushort for arm

svn path=/trunk/; revision=44628

13 years agoMake some ntdll exports architecture specific, as they are not exported by arm. Use...
Timo Kreuzer [Wed, 16 Dec 2009 21:41:18 +0000 (21:41 +0000)]
Make some ntdll exports architecture specific, as they are not exported by arm. Use pspec for ARM, too.

svn path=/trunk/; revision=44627

13 years agoFix prototype of MmSetAddressRangeModified
Timo Kreuzer [Wed, 16 Dec 2009 21:12:54 +0000 (21:12 +0000)]
Fix prototype of MmSetAddressRangeModified

svn path=/trunk/; revision=44626

13 years agoSome build fixes for ReactOS ARM. Credits go to Alex Ionescu and Timo Kreuzer while...
Daniel Reimer [Wed, 16 Dec 2009 20:59:06 +0000 (20:59 +0000)]
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

13 years ago[advapi32]
Gregor Schneider [Wed, 16 Dec 2009 20:26:18 +0000 (20:26 +0000)]
[advapi32]
- Extend LsaLookupNames2 stub, fix file header
- Should prevent the advapi32 lsa test crash

svn path=/trunk/; revision=44622

13 years ago[NTDLL]
Timo Kreuzer [Wed, 16 Dec 2009 17:32:30 +0000 (17:32 +0000)]
[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

13 years agoFix built a bit more.
Timo Kreuzer [Tue, 15 Dec 2009 23:49:10 +0000 (23:49 +0000)]
Fix built a bit more.

svn path=/trunk/; revision=44616

13 years agofix build
Johannes Anderwald [Tue, 15 Dec 2009 23:28:54 +0000 (23:28 +0000)]
fix build

svn path=/trunk/; revision=44615

13 years agoMerge from amd64 branch:
Timo Kreuzer [Tue, 15 Dec 2009 23:23:01 +0000 (23:23 +0000)]
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

13 years ago* Added wavebar
Johannes Anderwald [Tue, 15 Dec 2009 22:39:18 +0000 (22:39 +0000)]
* 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

13 years ago[MAIN]
Timo Kreuzer [Tue, 15 Dec 2009 19:06:23 +0000 (19:06 +0000)]
[MAIN]
Use UlongToPtr instead of casting.

svn path=/trunk/; revision=44608