Commit graph

18066 commits

Author SHA1 Message Date
Alex Ionescu a6e23ab5cf - Unbreak build
- Fix CallNamedPipeW, the pipe mode should also be set to PIPE_WAIT.

svn path=/trunk/; revision=19086
2005-11-09 03:02:33 +00:00
Alex Ionescu 4cafc71bd8 - Optimize CallNamedPipeA too and remove accidental define.
svn path=/trunk/; revision=19085
2005-11-09 02:53:58 +00:00
Alex Ionescu b8fa73dc20 Ansi->Unicode conversions:
- Take advantage of TEB in CreateNamedPipeA
- Use helper function in WaitNamedPipeA

svn path=/trunk/; revision=19084
2005-11-09 02:50:54 +00:00
Alex Ionescu 965f1e365b - Fix bugs in RtlSplay
svn path=/trunk/; revision=19083
2005-11-09 02:17:18 +00:00
Alex Ionescu c986d35c0a - Implement most of RtlDelete.
svn path=/trunk/; revision=19082
2005-11-09 02:16:03 +00:00
Alex Ionescu aa2893a132 - Implement RtlRealPrecessdor and RtlRealSuccessor
svn path=/trunk/; revision=19081
2005-11-09 01:39:39 +00:00
Alex Ionescu 767d56a1d3 - Fix RtlSubtreePredecessor/Successor, someone had implemented them backwards.
svn path=/trunk/; revision=19080
2005-11-09 01:05:00 +00:00
Thomas Bluemel b3259fa7d8 fixed data size calculation in RtlSelfRelativeToAbsoluteSD2
svn path=/trunk/; revision=19079
2005-11-09 00:56:41 +00:00
Alex Ionescu d460662204 - Fix CreateNamedPipeW to convert some NT flags properly, timeouts, etc, and document/prettify the function.
- NT 5.2 NPFS now works great, the kernel32_wintest pipe runs without crashing, and reports "411 tests passed, 30 failures".

svn path=/trunk/; revision=19078
2005-11-09 00:44:37 +00:00
Alex Ionescu b11939ad43 - Finish implementing RtlSplayTree
svn path=/trunk/; revision=19077
2005-11-08 23:51:46 +00:00
Alex Ionescu ccc0e39909 - Implement cases 2 & 4 of RtlSplayTree
svn path=/trunk/; revision=19076
2005-11-08 23:47:25 +00:00
Alex Ionescu 91bbe0cc1f - Fix bug in case 2/4 denomination.
svn path=/trunk/; revision=19075
2005-11-08 23:42:40 +00:00
Alex Ionescu 98858edeba - Implement Case 3 of RtlSplay
svn path=/trunk/; revision=19074
2005-11-08 23:40:37 +00:00
Alex Ionescu 5c276df415 - Implement Case 1 of RtlSplay
svn path=/trunk/; revision=19073
2005-11-08 23:33:07 +00:00
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