Commit Graph

1530 Commits

Author SHA1 Message Date
Eric Pouech
2d3504c309 ntdll/kernel32: Moved GetThreadSelectorEntry to ntdll.
- implemented NtQueryInformationThread's ThreadDescriptorTableEntry
  information class
- used it to implement the kernel32's equivalent (GetThreadSelectorEntry)
2006-05-27 13:00:19 +02:00
Eric Pouech
1d6e2590e0 ntdll/kernel32: Pipe information.
- implemented ntdll.NtQueryInformationFile's FilePipeLocalInformation control code 
- reimplemented kernel32.GetNamedPipeInfo on top of it
- enhance current features to make this work both on client and server handles
- now also returning the number of instances
2006-05-27 12:31:01 +02:00
Alexandre Julliard
ab2349daf0 kernel32: Partial implementation of GetModuleHandleExA/W. 2006-05-27 10:57:17 +02:00
Mike McCormack
d5a998b38f kernel32: Fix some pointer to integer casts. 2006-05-25 10:43:59 +02:00
Alexandre Julliard
f01d9879c6 libwine_unicode: Renamed is_dbcs_leadbyte to wine_is_dbcs_leadbyte. 2006-05-24 14:14:09 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Andrew Ziem
8bed7bb61a kernel: Fix path test to pass on 95 and 98. 2006-05-17 21:46:27 +02:00
Andrew Ziem
ac73b30f95 kernel: Properly delete a test file. 2006-05-16 20:19:54 +02:00
Francois Gouget
f7c24f37ad Various trace fixes.
Add trailing '\n's to trace calls.
Remove spaces before '\n'.
2006-05-15 15:05:09 +02:00
Stefan Leichter
72a6d97679 kernel: Fix CreateToolhelp32Snapshot tests on win2k. 2006-05-11 12:21:24 +02:00
Uwe Bonnes
5b4c15c5d3 kernel: Comm_CheckEvents: Only warn for non-empty transmitter with EV_TXEMPTY flag set.
Noticed by Dan Armbrust.
2006-05-10 11:19:38 +02:00
Eric Pouech
5f9e9836cf ntdll/kernel32: EscapeCommFunction & associated IOCTLs
- implemented ntdll's serial IOCTL: CLR_DTR, CLR_RTS, SET_DTR,
  SET_RTS, SET_XOFF, SET_XON, RESET_DEVICE
- implemented kernel32.EscapeCommFunction on top of them
2006-05-09 21:08:14 +02:00
Eric Pouech
fcdc293bb0 ntdll/kernel32: SetupComm & SET_QUEUE_SIZE
- stubbed out ntdll's serial IOCTL SET_QUEUE_SIZE
- implemented kernel32.SetupComm on top of it
2006-05-09 21:07:35 +02:00
Eric Pouech
b53e016925 ntdll/kernel32: [SG]etCommTimeout, SERIAL_[GS]ET_TIMEOUT
- implemented ntdll's COMM IOCTL GET_TIMEOUTS, SET_TIMEOUTS
- implemented kernel32.GetCommTimeout and SetCommTimeout on top of them
2006-05-09 21:07:18 +02:00
Eric Pouech
28cd4fae3b ntdll/kernel32: GetCommState & IOCTL_GET_CHARS
- implemented SERIAL_GET_CHARS ioctl
- made use of it in kernel32.GetCommState
2006-05-09 21:06:24 +02:00
Eric Pouech
48646ea82b ntdll/kernel32: GetCommState & IOCTL_SERIAL_GET_HANDFLOW
- implemented SERIAL_GET_HANDFLOW ioctl
- made use of it in kernel.GetCommState
2006-05-09 21:06:02 +02:00
Eric Pouech
efb3244b0a ntdll/kernel32: GetCommState & SERIAL_GET_LINE_CONTROL
- implemented SERIAL_GET_LINE_CONTROL ioctl
- made use of it in kernel.GetCommState
2006-05-09 21:05:46 +02:00
Eric Pouech
c7016d9325 ntdll/kernel32: GetCommState & IOCTL_GET_BAUD_RATE
- implemented SERIAL_GET_BAUD_RATE ioctl
- made use of it in kernel.GetCommState
2006-05-09 21:05:30 +02:00
Eric Pouech
a05a3435fd ntdll/kernel32: SetCommState & IOCTL_SET_CHARS
- implemented ntdll's serial IOCTL SET_CHARS
- used this IOCTL in kernel32.SetCommState
2006-05-09 21:05:09 +02:00
Eric Pouech
b68203ea90 ntdll/kernel32: SetCommState & IOCTL_SET_HANDFLOW
- implemented ntdll's serial IOCTL SET_HANDFLOW
- used this IOCTL in kernel32.SetCommState
2006-05-09 21:04:38 +02:00
Eric Pouech
65f137c56c ntdll/kernel32: SetCommState & IOCTL_SET_LINE_CONTROL
- implemented ntdll's serial IOCTL SET_LINE_CONTROL
- used this IOCTL in kernel32.SetCommState
2006-05-09 21:04:22 +02:00
Eric Pouech
631ec30f78 ntdll/kernel32: SetCommState & IOCTL_SET_BAUD_RATE
- created dump_dcb to print out DCB information
- implemented ntdll's serial IOCTL SET_BAUD_RATE
- used this IOCTL in kernel32.SetCommState
2006-05-09 21:03:27 +02:00
Alexandre Julliard
feb7276c73 kernel: Added work-around in UnhandledExceptionFilter for no exec protections. 2006-05-09 12:58:46 +02:00
Michael Stefaniuc
7a8818e717 Don't check pointers for NULL before RtlFreeHeap. It is redundant. 2006-05-05 20:59:50 +02:00
Jacek Caban
9e61d70a00 kernel: Remove no longer needed includes. 2006-05-05 17:42:37 +02:00
Alexandre Julliard
b0c63af124 kernel: Make GetTickCount call NtGetTickCount. 2006-04-20 20:13:12 +02:00
Detlef Riekenberg
d78a3eec41 kernel: Add some tests for Lock/Unlock memory handles. 2006-04-14 19:43:05 +02:00
Detlef Riekenberg
f64f9ef5fa kernel: Update WARN/ERR and documentation for GlobalLock/GlobalUnlock. 2006-04-14 19:42:53 +02:00
Detlef Riekenberg
513c35a363 kernel: Load tests again on NT 3.51 (toolhelp API not present). 2006-04-14 10:53:11 +02:00
Eric Pouech
69804258ca kernel32: Added some tests for toolhelp functions. 2006-04-12 12:43:44 +02:00
Eric Pouech
4f3682f428 kernel32: Rewrote toolhelp implementation only on top of ntdll functions. 2006-04-12 12:42:36 +02:00
Mike Hearn
ddd0e03e91 kernel: Don't crash on NULL arg in GetShortPathNameW. 2006-04-07 20:05:33 +02:00
Mike Hearn
679df54b6c kernel: Correct SearchPathA argument validation. 2006-04-07 20:01:48 +02:00
Alexandre Julliard
fcb771d9c0 kernel: Fixed set_process_name for the winevdm case. 2006-04-07 11:45:22 +02:00
Alexandre Julliard
9603ee0756 kernel: Show the exe name instead of wine-[kp]thread in ps and top. 2006-04-06 11:57:37 +02:00
Mike Hearn
ef7fce8490 kernel: Don't enforce process handle access rights in Win98 mode. 2006-04-04 12:08:50 +02:00
Robert Shearman
62c25c5a51 kernel: Remove some stubs that aren't present in NT. 2006-04-03 21:36:00 +02:00
Robert Shearman
277dfb8771 kernel: Document some file functions. 2006-04-03 21:35:52 +02:00
Mike McCormack
7bffb5e42d kernel32: [Read/Write]PrivateProfile functions accept a NULL filename. 2006-04-03 12:15:29 +02:00
Alexandre Julliard
f5d3adaf59 ntdll: Process --help and --version args earlier on during startup. 2006-04-03 12:07:20 +02:00
Detlef Riekenberg
839f00a967 kernel: Fix handling of invalid parameter in GlobalSize(). 2006-03-31 17:38:49 +02:00
Robert Shearman
1fd711c192 kernel: Add some documentation for simple process functions. 2006-03-31 17:38:12 +02:00
Eric Pouech
038e604fe4 kernel: Resource browsing.
Try to be a bit more strict when checking for resource mapping in
exception handler (and prevent some exceptions while in exception
handler).
2006-03-30 12:46:13 +02:00
Detlef Riekenberg
464b35522b kernel32: Display the parameter that caused a page fault in GlobalFree(). 2006-03-30 12:45:22 +02:00
Detlef Riekenberg
1a81f4ff8a kernel: Fix handling of invalid parameter in GlobalFlags(). 2006-03-30 12:45:00 +02:00
James Hawkins
61c3bb03a0 kernel: Error out of CreateProcess if the specified current directory
doesn't exist.
2006-03-27 11:54:32 +02:00
Paul Vriens
418b839980 kernel: Add processor specific environment variables. 2006-03-23 20:34:16 +01:00
Alexandre Julliard
dc8e564f9e kernel: Remove a couple of incorrect asserts. 2006-03-23 17:07:27 +01:00
Detlef Riekenberg
213cee62b5 kernel: Load QueueUserWorkItem function dynamically. 2006-03-23 17:06:55 +01:00
Bryan Mayland
98fd541de8 kernel: WaitForMultipleObjectsEx should accept up to MAXIMUM_WAIT_OBJECTS. 2006-03-22 11:19:09 +01:00