Commit graph

17852 commits

Author SHA1 Message Date
Alex Ionescu
3d244e2b37 - Implement RtlSplay skeleton cases.
svn path=/trunk/; revision=19072
2005-11-08 22:54:39 +00:00
Alex Ionescu
bc90bf5915 - Add implementation notes for RtlSplayTree
svn path=/trunk/; revision=19071
2005-11-08 22:45:45 +00:00
Christoph von Wittich
775e2dbd07 started implementation of device driver installation wizard
svn path=/trunk/; revision=19070
2005-11-08 22:25:29 +00:00
Gé van Geldorp
4a0e4dc0f4 Allocate mem for the structure, not only for a pointer.
svn path=/trunk/; revision=19068
2005-11-08 21:49:27 +00:00
Alex Ionescu
7bccddff96 - Implement proper version of WaitNamedPipeW to be used when NPFS will be modified to work as documented. Define USING_PROPER_NPFS_WAIT_SEMANTICS if you want to use Windows NPFS
svn path=/trunk/; revision=19067
2005-11-08 21:07:11 +00:00
Eric Kohl
eb9906dcc2 Add Tonga timezone (GMT+13:00).
svn path=/trunk/; revision=19066
2005-11-08 20:57:31 +00:00
Alex Ionescu
4e84f04716 - Add some definitions to NDK
- Prettify/document CreatePipe and correct some mistakes, use 120 second timeout like on NT and send FILE_PIPE flags instead of weird BOOLEAN values from hell.

svn path=/trunk/; revision=19065
2005-11-08 20:53:53 +00:00
Alex Ionescu
7f3dd627ae - Remove silly debug print
svn path=/trunk/; revision=19064
2005-11-08 20:50:04 +00:00
Brandon Turner
ce2e54856f Change KEBUGCHECK -> KEBUGCHECKEX
svn path=/trunk/; revision=19063
2005-11-08 20:07:41 +00:00
Gé van Geldorp
61adf0cbb8 Add Language entries for all Locale entries. Fixes bug 955.
svn path=/trunk/; revision=19062
2005-11-08 19:43:54 +00:00
Alex Ionescu
99e460ecbb - Fix hackplementation of ObLogSecurityDescriptor. Callers are supposed to free their input, so we can't re-use it; instead, allocate a new copy like we should.
svn path=/trunk/; revision=19061
2005-11-08 18:54:18 +00:00
Alex Ionescu
402f8f2ea5 - Remove unimplemented macro in SeOpenObjectAuditAlarm and replace it with a DPRINT1; that way callers won't freeze while calling it.
svn path=/trunk/; revision=19060
2005-11-08 17:22:26 +00:00
Hervé Poussineau
1974f400e3 When a driver is a legacy driver, call its AddDevice function with a NULL Pdo
svn path=/trunk/; revision=19059
2005-11-08 17:20:58 +00:00
Alex Ionescu
f2ff67ecde - Don't loop indefintely in RtlFindUnicodePrefix if the splaylinks have changed inside the loop.
svn path=/trunk/; revision=19058
2005-11-08 17:14:19 +00:00
Alex Ionescu
d68f0cbd56 - Hackplement ObLogSecurityDescriptor for W2K3 drivers to be happy.
svn path=/trunk/; revision=19057
2005-11-08 17:07:57 +00:00
Alex Ionescu
db3f6ecb75 - Send a hacked access state to FS Drivers, they can depend on one. For now use one with full FILE_ALL_ACCESS privileges.
svn path=/trunk/; revision=19056
2005-11-08 16:59:41 +00:00
Alex Ionescu
824fc6410b - Fix function signature of CompareUnicodeStrings
- Add special case where we get a prefix itself and a name starting with a prefix character.
- Implement RtlInitializeGenericTable
This fixes the windows npfs.sys hang.

svn path=/trunk/; revision=19055
2005-11-08 16:41:58 +00:00
Hervé Poussineau
a485607cfc Patch by Filip Navara/Hervé Poussineau:
- Simplify device number allocation
- Check the case of a NULL Pdo if we're called by a legacy driver

svn path=/trunk/; revision=19054
2005-11-08 16:24:58 +00:00
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