Hervé Poussineau
6ed3a7acd9
I forgot to add SetupDiDeleteDeviceInfo to .spec file in rev 17212
...
svn path=/trunk/; revision=17214
2005-08-08 16:21:35 +00:00
Maarten Bosma
d83ab72e69
Fix another bug thanks to GreatLord.
...
svn path=/trunk/; revision=17213
2005-08-08 16:18:44 +00:00
Hervé Poussineau
c4a2110e0f
Implement SetupDiBuildDriverInfoList, SetupDiOpenDeviceInfoA/W, SetupDiEnumDriverInfoA/W, SetupDiCreateDeviceInfoW
...
Add stubs for SetupDiDeleteDeviceInfo, SetupDiDestroyDriverInfoList
svn path=/trunk/; revision=17212
2005-08-08 16:09:48 +00:00
Hervé Poussineau
6d963834ca
Change structures used to keep information about devices/interfaces/drivers. This one is more logical and should be more extensible
...
Sorry, i've disabled code to enumerate devices implementing some interface (not ported)
Do related changes in the file
svn path=/trunk/; revision=17210
2005-08-08 16:06:52 +00:00
Maarten Bosma
f97732afbd
Fix a bug, thanks to Salamander again.
...
svn path=/trunk/; revision=17209
2005-08-08 15:56:27 +00:00
Thomas Bluemel
273d211c94
don't dereference a NULL pointer
...
svn path=/trunk/; revision=17208
2005-08-08 15:49:37 +00:00
Thomas Bluemel
e779b15f24
remove a bugcheck that was only used for debug purpose
...
svn path=/trunk/; revision=17207
2005-08-08 15:46:41 +00:00
Magnus Olsen
079265d1a7
Fix some error checking for DireactDrawCreate and DireactDrawCreateEx, we checking if the param is right or not.
...
svn path=/trunk/; revision=17206
2005-08-08 15:41:02 +00:00
Thomas Bluemel
a3abeb83af
- reverted ObpCaptureObjectAttributes back to my old implementation (slightly modified and extended) because that one at least does what it's supposed to correctly
...
svn path=/trunk/; revision=17205
2005-08-08 15:39:35 +00:00
Thomas Bluemel
910c9075f0
pass the correct access mode to ObOpenObjectByName
...
svn path=/trunk/; revision=17204
2005-08-08 15:33:04 +00:00
Steven Edwards
74a0c04f23
add setupapi test for stringtable functions. At this time they only pass on Ros and Windows 2000. I will fix the test to pass on later versions of Windows soon.
...
svn path=/trunk/; revision=17203
2005-08-08 15:01:03 +00:00
Maarten Bosma
b1b37ffc00
Remove exclamation mark that does not belong there. Thanks to Salamander again.
...
svn path=/trunk/; revision=17202
2005-08-08 14:54:24 +00:00
Maarten Bosma
ae51cca93f
Forgot it again. :)
...
svn path=/trunk/; revision=17201
2005-08-08 14:20:05 +00:00
Maarten Bosma
f276da4448
Fix wrong syntax, missing file and non existing module in makefile. Thanks to Salamander and Usurp.
...
svn path=/trunk/; revision=17200
2005-08-08 14:19:20 +00:00
Maarten Bosma
2cacd67bcc
The beginning of a ddraw implementation. Does not work yet for unknown reason.
...
svn path=/trunk/; revision=17199
2005-08-08 13:29:50 +00:00
Thomas Bluemel
1a2a435f9c
enter a critical region before looking up a CID handle
...
svn path=/trunk/; revision=17198
2005-08-08 10:54:32 +00:00
Thomas Bluemel
da23cad0de
delete no longer used file
...
svn path=/trunk/; revision=17197
2005-08-08 10:41:34 +00:00
Thomas Bluemel
e138304bf5
unlock the CID in PsLookupProcessByProcessId, PsLookupProcessThreadByCid and PsLookupThreadByThreadId when the lookup succeeded, not failed
...
svn path=/trunk/; revision=17196
2005-08-08 10:08:34 +00:00
Filip Navara
f61e4f1230
Revert part of #17156 and #17157 changes.
...
svn path=/trunk/; revision=17195
2005-08-08 09:24:20 +00:00
Art Yerkes
20732be74c
Fixes for various 64-bit hosting problems.
...
svn path=/trunk/; revision=17194
2005-08-08 04:26:23 +00:00
Hartmut Birr
a3bc4d9c07
Fixed the load count in LdrpDetachProcess. That made it again possible to call the dll entry with DLL_PROCESS_DETACH.
...
svn path=/trunk/; revision=17193
2005-08-08 01:47:52 +00:00
Thomas Bluemel
e41e25c1e1
use loops instead of gotos
...
svn path=/trunk/; revision=17192
2005-08-08 00:45:04 +00:00
Thomas Bluemel
afcb29cc7c
directly translate handles to indexes in ex/handle.c
...
svn path=/trunk/; revision=17191
2005-08-07 23:43:58 +00:00
Thomas Bluemel
ebe277b796
use the correct pointer to free the string. Thx to Hartmut for spotting this bug
...
svn path=/trunk/; revision=17190
2005-08-07 23:37:59 +00:00
Alex Ionescu
12de4ac145
Retry waiting if STATUS_ALERTED is returned
...
svn path=/trunk/; revision=17189
2005-08-07 23:22:18 +00:00
Thomas Bluemel
ae86070caa
RtlFreeHandle only should call RtlIsValidHandle in debug builds.
...
svn path=/trunk/; revision=17188
2005-08-07 23:19:15 +00:00
Alex Ionescu
7905e74e59
Fix horridly wrong SignalObjectAndWait return values, should make more wine tests pass
...
svn path=/trunk/; revision=17187
2005-08-07 23:18:40 +00:00
Hartmut Birr
bad46dca35
Allocate the map registers according to the dma controllers properties (boundary and highest possible address).
...
svn path=/trunk/; revision=17186
2005-08-07 23:08:07 +00:00
Hartmut Birr
6faab780d4
- Changed MmGetContinuousPages from using an alignment to using a boundary.
...
- Removed MmAllocateContiguousAlignedMemory.
svn path=/trunk/; revision=17185
2005-08-07 23:07:17 +00:00
Thomas Bluemel
73a4ae89a5
fixed differences in signedness warnings
...
svn path=/trunk/; revision=17184
2005-08-07 23:05:57 +00:00
Alex Ionescu
5905ef7a1e
- Fix return value.
...
svn path=/trunk/; revision=17183
2005-08-07 23:00:51 +00:00
Alex Ionescu
3dac092c29
- Remove cid.c
...
- Do direct handle creation/deletion where needed.
svn path=/trunk/; revision=17182
2005-08-07 22:48:07 +00:00
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