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
Eric Pouech
8e5d2bdba6
kernel32: Implemented ClearCommError on top of GET_COMM_STATUS ioctl.
2006-02-28 15:36:56 +01:00
Eric Pouech
6b95c0e4b4
kernel32: ClearCommError.
...
ClearCommError should only deal with *communication* errors (are being
seen on the serial interface) rather than API errors (which can be
reported to the caller by the API itself). I then removed all the
stuff related to storing the error status in the server object.
2006-02-27 13:54:43 +01:00
Eric Pouech
3c2abaf45e
ntdll: Implemented IOCTL for char transmission: IMMEDIATE_CHAR.
2006-02-06 11:38:53 +01:00
Eric Pouech
5973955e4e
ntdll: Implemented COMM IOCTL for modem status: GET_MODEMSTATUS.
2006-02-06 11:37:39 +01:00
Eric Pouech
58e719ce93
ntdll: Implemented IOCTL for serial: SET_WAIT_MASK, GET_WAIT_MASK.
2006-02-06 11:37:06 +01:00
Eric Pouech
b83c5ead16
ntdll: Implemented IOCTL purge for serial objects.
2006-02-06 11:36:19 +01:00
Dmitry Timoshkov
57a579ffcd
Make more arrays const.
2006-01-24 14:00:32 +01:00
Eric Pouech
2cdace2760
ntdll: Created infrastructure to support IOCTL for serial devices.
...
- created infrastructure in ntdll to support IOCTL for serial devices
- implemented IOCTLs in ntdll for serial break support
- implemented the kernel32 equivalent on top of those IOCTLs
2006-01-12 13:32:51 +01:00
Alexandre Julliard
59797f292e
Pass specific access rights to wine_server_handle_to_fd.
2005-12-12 17:15:26 +01:00
Ge van Geldorp
1a1583a364
Match PSDK STATUS_* definitions.
2005-11-28 17:32:54 +01:00
Cihan Altinay
3167958b3b
Disable PARMRK input flag of serial ports.
2005-11-15 16:51:28 +00:00
Francois Gouget
0edbaf7e80
Remove spaces before '\n' in traces.
2005-11-10 12:14:56 +00:00
Markus Amsler
b8d9b6192d
Improve c2man Documented-Total count. Changes:
...
- add missing description
- add missing returns section
- complete missing A/W pairs
- reformate comments, to match c2man requirements
2005-11-08 11:01:03 +00:00
Alexandre Julliard
6ed28ada49
Fixed fd leaks (spotted by Cihan Altinay).
2005-11-03 11:38:48 +00:00
Alex Villacís Lasso
f89c69c4cf
Tolerate ioctl failure in GetCommState() in order to be capable to use
...
softmodems.
2005-09-27 09:32:17 +00:00
Gerald Pfeifer
7eb982a48d
Fix autoconf-related #ifdefs in Comm_CheckEvents().
2005-08-08 18:01:42 +00:00
Uwe Bonnes
867f66ffe8
Implement WaitCommEvent by polling the appropriate data sources.
2005-08-03 15:43:17 +00:00
Alexandre Julliard
e4412a618c
Removed the special casing of kernel32 and ntdll for the TEB
...
definition in winternl.h.
2005-05-16 17:52:10 +00:00
Andreas Mohr
51198f8eb6
Fix for CommConfigDialog*() hwnd argument.
2005-05-09 19:32:33 +00:00
Francois Gouget
821d4c4645
Fix nativeapi.pm so it knows about AC_HEADER_STAT().
...
Make the error message about unexpected '#ifdef HAVE_XXX' clearer.
Protect sys/stat.h #includes with the corresponding '#ifdef HAVE_XXX'
check.
2005-05-06 16:22:54 +00:00
Francois Gouget
6b10c324c5
Assorted spelling fixes.
2005-03-30 17:08:31 +00:00
Jakob Eriksson
9ed61de9a2
Get rid of HeapAlloc casts.
2005-03-24 21:01:35 +00:00
Dmitry Timoshkov
75b93ff1aa
Match OVERLAPPED structure to the SDK definition.
2005-03-17 19:00:08 +00:00
Jon Griffiths
eb5bf7dd38
Documentation spelling fixes.
2005-02-25 14:07:56 +00:00
Eric Pouech
4634447d6b
- got rid of include/async.h
...
- fixed some overlapped issues in socket handling
- moved kernel32.CancelIo implementation to ntdll
2005-01-14 19:54:38 +00:00
Mike McCormack
4a0f999859
Use CreateEventW in preference to CreateEventA for unnamed events.
2005-01-07 15:40:09 +00:00
Michael Stefaniuc
5ad7d858e0
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2004-12-23 17:06:43 +00:00
Eric Pouech
bcfa5b0900
ReadFile and WriteFile must be passed a parameter for the number of
...
handled bytes when no overlapped operation is done.
2004-12-22 18:38:31 +00:00
Alexandre Julliard
bf88644cee
Convert CommConfigDialog to Unicode.
2004-10-26 00:25:58 +00:00
Mike McCormack
568a91dfd1
SERIALUI: convert to Unicode.
2004-10-26 00:16:39 +00:00
Alexandre Julliard
6a27b48895
Fd type is no longer used, get rid of it.
2004-08-18 00:04:58 +00:00
Francois Gouget
6a6c85c6d8
Make Unicode const strings static so they are not copied to the stack
...
each time we enter the function.
2004-04-19 20:12:14 +00:00
Rein Klazes
0d34501876
Add missing POSIX baud rates to GetCommState and SetCommState.
2004-04-14 19:33:27 +00:00
Rein Klazes
cef3983703
Fix GetCommState and SetCommState, so that these functions can be used
...
to set/clear/read the DTR and RTS lines.
2004-04-12 22:06:52 +00:00
Vincent Béron
14263ab0c4
Move the implementation of GetDefaultCommConfig from A to W.
...
Get rid of a W->A cross call at the same time.
2004-01-16 02:21:01 +00:00
Vincent Béron
b370abab45
Unicodify some comm functions.
...
Get rid of some W->A cross calls along the way.
2004-01-16 02:14:50 +00:00
Frank
39a16e8297
Fixed size check in GetCommConfig().
2003-12-11 04:25:00 +00:00
Alexandre Julliard
04ecca54a1
Use wine_server_release_fd() instead of close() everywhere we use
...
wine_server_handle_to_fd().
A few minor winsock cleanups.
2003-12-02 04:19:56 +00:00
Kevin Groeneveld
4981619784
- Fix small bug with parsing of numbers in BuildCommDCB functions.
...
- Add conformance test for BuildCommDCB functions.
2003-09-15 20:00:54 +00:00
Kevin Groeneveld
8be51c92e4
Add missing wReserved1 member to DCB structure definition.
...
Fix several bugs in BuildCommDCBAndTimeouts:
- make sure LPCSTR parameter is really treated as constant
- fix possible buffer overflow if passed in string is too long
- if the device control string is invalid, do not modify DCB
- do not clear entire DCB, only modify appropriate members
- fix parsing of stop bits parameter so it works for 1 and 1.5
- populate COMMTIMEOUTS when to=xxx parameter is specified
- added support for xon, odsr, octs, dtr, rts, and idsr parameters
- fix several other parsing errors
2003-09-12 00:26:15 +00:00