Commit graph

16175 commits

Author SHA1 Message Date
Alex Ionescu
bac942f34d - Return correct error. Spotted by Thomas.
svn path=/trunk/; revision=17181
2005-08-07 21:48:14 +00:00
Alex Ionescu
c5ed8ceb14 - Send proper ClientID structure
svn path=/trunk/; revision=17180
2005-08-07 21:45:12 +00:00
Alex Ionescu
4c1eb86320 - Completely reimplement NtWaitForMultipleObjects:
- Check for invalid Objectcount and wait type
    - Don't use 2.6KB of stack space (kernel threads only get 4...)
    - Don't call ObReferenceObjectByHandle since it does a lot of superflous checks, continous locking/unlocking and makes us extremly slow for a large wait and also doesn't give us the full flexibility we need.
    - Detect if a Waitall is being done with the same object duplicated.
    - Protect wait with SEH.
- General fixes for all NtWaitXXX:
    - Use DefaultObject from Object Header and remove all previous associated hacks, including the IO_TYPE hack. The DefaultObject will either be NULL, an offset to an internal Object Event, or a pointer to a default event. We handle all three.
    - Guard the KeWaitXXX call with SEH since it can raise exceptions.
- Fix all object type intiailizers regarding DefaultObject.

svn path=/trunk/; revision=17179
2005-08-07 21:29:51 +00:00
Eric Kohl
a6b3bd07b6 Replace Win32 types by native ones.
svn path=/trunk/; revision=17178
2005-08-07 20:33:11 +00:00
Thomas Bluemel
562a0fb61f also actually rename the files...
svn path=/trunk/; revision=17177
2005-08-07 18:47:26 +00:00
Alex Ionescu
b1b87307bb - Initialize more fields when creating an Object Type
- Correct the Pool Charge for Object Types, select a Default Object, always use a security procedure, read global flag for maintaing type lists, set the pool type
- Initialize a Default Wait Object.
- Fix security callback for objects.
- Implement SeDefaultObjectMethod for security callbacks of objects which don't have a custom one.

svn path=/trunk/; revision=17176
2005-08-07 18:38:37 +00:00
Steven Edwards
c8e0c7ed3e no need for long xml filenames
svn path=/trunk/; revision=17174
2005-08-07 17:12:11 +00:00
Eric Kohl
12fea44aca Remove trailing whitespace and fix the indentation.
svn path=/trunk/; revision=17173
2005-08-07 17:11:13 +00:00
Steven Edwards
5aebfabb91 change rostest name back to dllname_test.exe
svn path=/trunk/; revision=17172
2005-08-07 17:07:35 +00:00
Steven Edwards
905738c542 rename tests to dllname_winetest to make it less trouble on exception to change build system rules for ros tests
svn path=/trunk/; revision=17171
2005-08-07 17:07:00 +00:00
Magnus Olsen
848867e6b1 GdiEntry11 (not tested, we can not test it yet in ros, until we got ddraw.dll and some api in win32k/ntdraw been implement)
svn path=/trunk/; revision=17170
2005-08-07 16:22:37 +00:00
Filip Navara
3de2a9013a Change the module type to win32gui. We really don't want to attempt to create consoles at this stage.
svn path=/trunk/; revision=17169
2005-08-07 15:55:01 +00:00
Hartmut Birr
fa7dd8c0ff Fixed the comment from my last commit.
svn path=/trunk/; revision=17167
2005-08-07 14:01:17 +00:00
Hartmut Birr
02fe41efa5 - Removed the exclusive deletion because '-' is a valid file name character.
- Optimized the recursive deletion in directories.
- Preload some nice strings.


svn path=/trunk/; revision=17166
2005-08-07 13:59:05 +00:00
Filip Navara
000e3044d8 Fix setupapi build and prototypes.
svn path=/trunk/; revision=17165
2005-08-07 13:06:30 +00:00
Magnus Olsen
b14f99cc46 Implement Gdintry4 (not tested, we can not test it yet in ros, until we got ddraw.dll and some api in win32k/ntdraw been implement)
svn path=/trunk/; revision=17164
2005-08-07 12:54:41 +00:00
Hervé Poussineau
231828406a Implement SetupGetInfFileListW and SetupGetInfInformationW
Inf file parser now accept UNICODE files with FF FE header
Return required buffer size when buffer is too small in SetupGetLineTextA/W, SetupGetStringFieldA/W

svn path=/trunk/; revision=17162
2005-08-07 11:59:43 +00:00
Filip Navara
ebd400d82c Fix a race condition in input packet processing.
svn path=/trunk/; revision=17160
2005-08-07 11:47:50 +00:00
Thomas Bluemel
b6bbf4cd23 fixed the order of the parameters of RtlIsValidIndexHandle
svn path=/trunk/; revision=17159
2005-08-07 11:47:45 +00:00
Eric Kohl
6ab29bbd4b Support size_is(*Length) attributes for strings.
svn path=/trunk/; revision=17158
2005-08-07 11:44:41 +00:00
Filip Navara
9a462169de Readd check that I accidently removed.
svn path=/trunk/; revision=17157
2005-08-07 11:25:36 +00:00
Filip Navara
aef1fdc048 Correctly set internal state in NpfsDisconnectPipe and fix some return values in NpfsRead.
svn path=/trunk/; revision=17156
2005-08-07 10:56:57 +00:00
Maarten Bosma
135eaf6958 A simple test app for DirectDraw.
svn path=/trunk/; revision=17155
2005-08-07 10:13:46 +00:00
Filip Navara
208dc4dcab Fix mutex unlocking in NpfsWaiterThread and add ASSERT.
svn path=/trunk/; revision=17154
2005-08-07 10:08:25 +00:00
Thomas Bluemel
47d6deb829 SVN maintainance
svn path=/trunk/; revision=17153
2005-08-07 09:55:54 +00:00
Thomas Bluemel
fb0db4efa6 fixed uninitialized variable warning
svn path=/trunk/; revision=17152
2005-08-07 09:55:08 +00:00
Thomas Bluemel
a32178f6d9 fixed uninitialized variables warnings
svn path=/trunk/; revision=17151
2005-08-07 09:48:38 +00:00
Alex Ionescu
1479011f30 Fix NtSignalAndwaitForSingleObject: Use SEH when appropriate, use direct Mutant release call, query handle info and write fixmes when permission checking needed, optimize failure cases, fix horrid tab/space formatting mismatches
svn path=/trunk/; revision=17150
2005-08-07 09:40:00 +00:00
Thomas Bluemel
09e2e1a5cb added a newline at the end of the file to fix a warning
svn path=/trunk/; revision=17149
2005-08-07 09:24:10 +00:00
Filip Navara
26d1cb6272 - Fix size check in SystemBasicInformation and SystemTimeOfDayInformation.
- Add SEH protection to SystemProcessInformation.
- Implement SystemKernelDebuggerInformation.
- Fix returning of ResultLength in NtQuerySystemInformation.

svn path=/trunk/; revision=17148
2005-08-07 09:12:10 +00:00
Eric Kohl
6e9638b203 Fix CM_Get_Registry_Property_ExW.
Implement CM_Set_Registry_Property_ExA.

svn path=/trunk/; revision=17147
2005-08-07 09:03:35 +00:00
Hartmut Birr
a48242f711 Allocated a converting buffer for WideCharToMultiByte. This does fix bug #702.
svn path=/trunk/; revision=17146
2005-08-07 08:06:56 +00:00
Martin Fuchs
9a5a82cd3c update SVN properties
svn path=/trunk/; revision=17145
2005-08-07 07:49:07 +00:00
Martin Fuchs
fc506850c2 update SVN properties
svn path=/trunk/; revision=17144
2005-08-07 07:42:36 +00:00
Martin Fuchs
4f8cc9596c update SVN properties
svn path=/trunk/; revision=17143
2005-08-07 07:33:14 +00:00
Martin Fuchs
100b8232d0 update SVN properties
svn path=/trunk/; revision=17142
2005-08-07 07:32:36 +00:00
Alex Ionescu
c3a96b7538 And here goes another test for two unsupported flags.
svn path=/trunk/; revision=17141
2005-08-07 07:30:46 +00:00
Alex Ionescu
17f39f0290 One more test can't hurt.
svn path=/trunk/; revision=17140
2005-08-07 07:14:52 +00:00
Alex Ionescu
0077f21d71 Add failure cases for more things then a WINE test could shake a stick at (hopefully)
svn path=/trunk/; revision=17139
2005-08-07 07:11:03 +00:00
Steven Edwards
e9677a896a enable the ntdll and kernel32 wine tests and watch them fail
svn path=/trunk/; revision=17138
2005-08-07 03:15:15 +00:00
Steven Edwards
17d51a62ab added kernel32 wine tests
svn path=/trunk/; revision=17137
2005-08-07 03:14:17 +00:00
Steven Edwards
eae91ed932 make the ros test name dllname_rostest.exe, suggested by Usurp
svn path=/trunk/; revision=17136
2005-08-07 03:00:44 +00:00
Steven Edwards
65e46acedc Named reactos regression tests dllname_tests.exe and wine test name dllname_test.exe to prevent conflicts
svn path=/trunk/; revision=17135
2005-08-07 02:54:10 +00:00
Steven Edwards
c510ad93ae add some missing values from Wine
svn path=/trunk/; revision=17134
2005-08-07 02:22:29 +00:00
Steven Edwards
57f56eab33 ntdll pending some winerror.h fixes
svn path=/trunk/; revision=17133
2005-08-07 02:16:34 +00:00
Steven Edwards
447a3da0ea updated winternl.h, PSDK fixes, etc...
svn path=/trunk/; revision=17132
2005-08-07 01:23:40 +00:00
Steven Edwards
7357490064 DCX_USESTYLE is a wineism. Dont use it in a header
svn path=/trunk/; revision=17131
2005-08-07 00:26:13 +00:00
Steven Edwards
d4893a7fa5 added local define for DCX_USESTYLE
svn path=/trunk/; revision=17130
2005-08-07 00:25:26 +00:00
Steven Edwards
d2984aea5c added DCX_USESTYLE
svn path=/trunk/; revision=17129
2005-08-07 00:21:24 +00:00
Steven Edwards
55b967315b turn on more the winetests
svn path=/trunk/; revision=17128
2005-08-07 00:06:29 +00:00