Commit graph

17784 commits

Author SHA1 Message Date
Alex Ionescu
1608efe156 - Update KTHREAD and KUSER_SHARED_DATA to latest versions. This should make 2K3 drivers (eg: npfs.sys) work with their inlined KeEnterCriticalRegion/KeLeaveCriticalRegion and ASSERTS.
- Update KAPC and DISPATCHER_HEADER to latest DDK definitions.

svn path=/trunk/; revision=19053
2005-11-08 08:56:41 +00:00
Alex Ionescu
ac2e8c3bcd - Fix a bug spotted in RtlInsertUnicodePrefix's loop.
svn path=/trunk/; revision=19052
2005-11-08 00:21:29 +00:00
Alex Ionescu
d2a199261e - Finish implementing RtlFindUnicodePrefix. The Windows NPFS driver should load now (unless it needs other APIs..)
svn path=/trunk/; revision=19051
2005-11-08 00:19:01 +00:00
Alex Ionescu
e2fb011447 - Start implementing RtlFindUnicodePrefix
- Add case-insensitive compare to CompareUnicodeStrings

svn path=/trunk/; revision=19050
2005-11-07 23:52:26 +00:00
Thomas Bluemel
c7e90a00b9 Fixed some of the splay tree macros. Actually some are even wrong in the DDK, but it's necessary to make compilers happy that stick to the standards more closely
svn path=/trunk/; revision=19049
2005-11-07 23:09:53 +00:00
Alex Ionescu
e57c6af315 - Oops.. fix a bug in RtlRemoveUnicodePrefix: edit the parent, not the entry itself.
svn path=/trunk/; revision=19047
2005-11-07 22:07:08 +00:00
Alex Ionescu
9810da1c6a - Finished implementing RtlInsertUnicodePrefix: handle greater and less than insertions.
svn path=/trunk/; revision=19046
2005-11-07 22:05:46 +00:00
Alex Ionescu
de2ccc1c51 - Implement more of RtlInsertUnicodePrefix: handle case where tree was found, and a match in the tree was found (handle case-sensitive and case-insensitve match).
- Partially umplement CompareUnicodeStrings to scan the two strings (Can't use RtlCompareUnicodeString because we want control over how many chars to case-compare.

svn path=/trunk/; revision=19045
2005-11-07 21:57:50 +00:00
Alex Ionescu
214e15e351 - Correct which entry was being modified.
svn path=/trunk/; revision=19044
2005-11-07 21:17:49 +00:00
Ged Murphy
9009aaf27c Should have checked it built OK with mingw first.
svn path=/trunk/; revision=19043
2005-11-07 21:16:30 +00:00
Ged Murphy
dedb760816 Add information letting us know creation deletion of services has worked.
comment out testing debug info.

svn path=/trunk/; revision=19042
2005-11-07 21:14:03 +00:00
Magnus Olsen
9508072c73 Fixed bug 954 rbuild devcpp generates mixed slashes and backslashes in some pathnames in the file makefile.auto
svn path=/trunk/; revision=19041
2005-11-07 20:32:17 +00:00
Alex Ionescu
03ff526652 - Implement simple case of RtlInsertUnicodePrefix where a new node entry needs to be created.
svn path=/trunk/; revision=19040
2005-11-07 19:31:15 +00:00
Alex Ionescu
be502089da - Finish implementation of RtlRemoveUnicodePrefix
svn path=/trunk/; revision=19039
2005-11-07 19:14:38 +00:00
Magnus Olsen
7d704a96c0 change En.rc to defualt take care of code page error at lest for swedish
svn path=/trunk/; revision=19038
2005-11-07 17:35:10 +00:00
Hervé Poussineau
aa57b3e940 Lots of DPRINT1 -> DPRINT changes
Adjust the image path in ScmrCreateServiceW (just enough for my needs)

svn path=/trunk/; revision=19037
2005-11-07 10:53:52 +00:00
Hervé Poussineau
301aa7523d Better stub for QueryServiceConfigW
svn path=/trunk/; revision=19036
2005-11-07 10:04:41 +00:00
Alex Ionescu
e42173c8fd - Implement PFX_NTC_ROOT/PFX_NTC_CHILD deletions in RtlRemoveUnicodePrefix, if the entry isn't a case match.
svn path=/trunk/; revision=19035
2005-11-07 04:42:28 +00:00
Alex Ionescu
d42436c44a - Implement PFX_NTC_CASE_MATCH deletions in RtlRemoveUnicodePrefix
svn path=/trunk/; revision=19034
2005-11-07 04:23:28 +00:00
Alex Ionescu
ac26f7ca11 - Implement RtlInitializeUnicodePrefix and RtlNextUnicodePrefix. The UnicodePrefix package is needed by MUP and NPFS drivers.
- Add some of the splay tree functions/macros to the NDK.

svn path=/trunk/; revision=19033
2005-11-07 01:01:29 +00:00
Hervé Poussineau
b4fc288d14 Add missing files to revision 19031
svn path=/trunk/; revision=19032
2005-11-06 23:32:41 +00:00
Hervé Poussineau
0eb25cf769 - Fix header mess by using a common header setupapi_private.h
- Move some structure definitions from devinst.c to setupapi_private.h

svn path=/trunk/; revision=19031
2005-11-06 23:23:45 +00:00
Eric Kohl
a7bb0605ae - Read a services optional display name from the registry.
- Fix return size bugs in GetServiceDisplayNameW and GetServiceKeyNameW.

svn path=/trunk/; revision=19030
2005-11-06 18:21:00 +00:00
Brandon Turner
316bd9523e make the output visually pleasing.
svn path=/trunk/; revision=19029
2005-11-06 17:58:08 +00:00
Brandon Turner
d6e1554b68 %foo% where foo is not a envir var should be returned as %foo% not as "".
svn path=/trunk/; revision=19028
2005-11-06 16:11:01 +00:00
Ged Murphy
23a4529556 couple of fixes to get it building under mingw
svn path=/trunk/; revision=19027
2005-11-06 13:30:42 +00:00
Eric Kohl
96d7886067 - Rewrote the code that reads the service configuration from the registry because it was not flexible enough with respect to the handling of default values.
- Read delete flag from the registry.

svn path=/trunk/; revision=19026
2005-11-06 11:56:56 +00:00
Alex Ionescu
8b69dfff76 This one is for Steven... 18 months later, I kept my promise ;)
- BindImage & friends refactoring of my original code. Fixed two or three dozen bugs, stopped making assumptions about everything, actually checked for failure, used dynamic allocation instead of 32 static structures, fixed a lot of broken code, fixed some helper functions, made the code as 64-bit compatible as I could (checked with msvc WP64 + prefast).
- Remove internal.c and use NDK instead
- Remove debug.c and symbol.c like WINE have done
- Rewrite the entire exports file to update it for XP. Forward almost all the functions to dbghelp, like WINE have done (note: windows DLL used delayed imports instead).
- Cleanup source to add implemented/unimplemented tags, source header, and precompiled header.
- Sync with latest code from WINE.

Tested with Quicken 2004 & its patches (which make extensive use of BindImage) as well as random bindings of some applications on my disk. Worked perfectly in Windows.

svn path=/trunk/; revision=19025
2005-11-06 10:48:14 +00:00
Brandon Turner
dee7dbd301 Add some ctrl breaker checks into copy, del, and dir.
svn path=/trunk/; revision=19024
2005-11-06 01:24:21 +00:00
Magnus Olsen
4c532d38d2 Filling in two more member, and they should be using when u create a new dc with CreateDCA
svn path=/trunk/; revision=19023
2005-11-05 23:10:43 +00:00
Brandon Turner
616d5f3ade Send Ctrl signals to child process correctly. We can now use CTRL+C to close programs in cmd!
svn path=/trunk/; revision=19022
2005-11-05 22:13:59 +00:00
Hartmut Birr
e087024bb5 Use the share disposition to detect the direction of a pipe.
svn path=/trunk/; revision=19021
2005-11-05 22:03:47 +00:00
Hartmut Birr
4af01faa3c Creat the symbolic links case-insensitive.
svn path=/trunk/; revision=19020
2005-11-05 21:28:27 +00:00
Eric Kohl
cb31a202c1 Reapply a modified r18883 patch (by Thomas Weidenmueller) that doesn't break named pipes.
svn path=/trunk/; revision=19019
2005-11-05 16:11:31 +00:00
Eric Kohl
2de23bb008 Reapply a modified r18883 patch (by Thomas Weidenmueller) that doesn't break named pipes.
svn path=/trunk/; revision=19018
2005-11-05 16:11:02 +00:00
Eric Kohl
3753cf3e49 Open pipe in 'passive' mode if the desired access right is FILE_READ_ATTRIBUTES.
svn path=/trunk/; revision=19017
2005-11-05 16:08:41 +00:00
Magnus Olsen
7b9a187c56 Small hack for Getting monitor freq right.
svn path=/trunk/; revision=19016
2005-11-05 15:32:23 +00:00
Magnus Olsen
0102313dcb Remove hwnd and hdc, so it being store to right struct.
svn path=/trunk/; revision=19015
2005-11-05 15:05:31 +00:00
Hervé Poussineau
0e95797fc0 Add some debug messages, and disable them (#define NDEBUG)
svn path=/trunk/; revision=19014
2005-11-05 14:21:39 +00:00
Hervé Poussineau
10981b14f0 Replace a void* by PDEVICE_OBJECT and fix its usage
svn path=/trunk/; revision=19013
2005-11-05 11:51:30 +00:00
Maarten Bosma
37edd96e90 Fill some structs more correctly.
svn path=/trunk/; revision=19012
2005-11-05 10:27:50 +00:00
Hervé Poussineau
175467288d - Remove Mou and Mouse strings in names to share more code with kbdclass
- Handle IRP_MJ_CLEANUP and IRP_MJ_DEVICE_CONTROL
- Read parameters in the right registry key
- Force exclusive opening on device object
- Reference pointer port DOs when they are linked to pointer class DO
- Fix PORT_DEVICE_EXTENSION and CLASS_DEVICE_EXTENSION structures and use them correctly (PORT_DEVICE_EXTENSION was not used...)

svn path=/trunk/; revision=19011
2005-11-05 08:37:01 +00:00
Hervé Poussineau
cfd5a15157 Revert Kdb and Keyboard strings in name to share more code with mouclass
Fix PORT_DEVICE_EXTENSION and CLASS_DEVICE_EXTENSION structures and use them correctly (PORT_DEVICE_EXTENSION was not used...)
ObDereference DOs when an error occurs, instead of ObReferencing them

svn path=/trunk/; revision=19010
2005-11-05 08:21:59 +00:00
Alex Ionescu
e595cd5c9d - Move some NDK definitions (Cm Callbacks) to the DDK since they are actually public.
- Fix strange/incorrect hack which disabled DPRINT in msvc
- Move UNIMPLEMENTED to the proper DBG block
- Fix rtltypes.h compatibility with the PSDK/DDK
I hope this doesn't break anything, my tree is quite off-sync.

svn path=/trunk/; revision=19009
2005-11-05 06:44:03 +00:00
Gregor Anich
fc8ca65085 Implement (Int)EngAlphaBlend and 8, 16, 24 and 32 bpp DIB AlphaBlend functions. AlphaBlend() should work now.
svn path=/trunk/; revision=19008
2005-11-04 23:37:06 +00:00
Gregor Anich
e21bca531d Add very primitive AlphaBlend test.
svn path=/trunk/; revision=19007
2005-11-04 23:25:03 +00:00
Gregor Anich
be46b8647d Remove unused driver sources.
svn path=/trunk/; revision=19005
2005-11-04 20:35:21 +00:00
Gregor Anich
598d0237f0 Merge changes from Mesa-6.4 vendor drop and apply fixes needed to get it compiling/working.
svn path=/trunk/; revision=19004
2005-11-04 20:28:07 +00:00
Hervé Poussineau
aefb7a1354 Allow more than one USB controller (was a XBOX hack no more needed)
Implement IRP_MJ_PNP/IRP_MN_QUERY_DEVICE_TEXT for Root USB hub/USB devices
Add missing initialization which lead to BSOD when connecting a device to a UHCI controller

svn path=/trunk/; revision=19003
2005-11-04 20:24:44 +00:00
Hervé Poussineau
76c3fa7451 Revert 18883 and 18912, as they break named pipes
(These changes were correct per se, but another problem surfaced: see http://www.reactos.org/archives/public/ros-dev/2005-November/005958.html)

svn path=/trunk/; revision=19002
2005-11-04 19:31:47 +00:00