Commit Graph

26 Commits

Author SHA1 Message Date
Andreas Mohr
5b1fbcf778 Read/write completion functions get Windows error codes, not NT status
codes.
2005-01-11 15:12:28 +00:00
Mike McCormack
4a0f999859 Use CreateEventW in preference to CreateEventA for unnamed events. 2005-01-07 15:40:09 +00:00
Jon Griffiths
32454a81a5 Remove unneeded headers to reduce unneeded rebuilds. 2004-12-20 19:00:11 +00:00
Alexandre Julliard
6a78c16aac Moved private USER definitions to a new user_private.h header, and
removed the global user.h.
2004-12-08 18:06:14 +00:00
Hans Leidekker
719a789792 Fix signed/unsigned comparison warnings. 2004-09-22 02:46:38 +00:00
Mike McCormack
9386cb2228 Use Heap functions instead of malloc/free. 2004-08-30 18:40:47 +00:00
Alexandre Julliard
bb133bd596 Fixed a couple of header files ordering issues. 2004-04-07 03:59:41 +00:00
Alexandre Julliard
9e1bafd0df Get rid of the registry lookups, rely entirely on the kernel devices
instead.
2004-03-19 01:18:48 +00:00
Alexandre Julliard
e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard
7535424254 Lookup COM/LPT devices in the registry when they are used, instead of
loading everything at startup.
2003-07-08 21:14:07 +00:00
Alexandre Julliard
2b72be546c Replace calls to WaitForMultipleObjects with a 0 count by calls to
SleepEx.
2003-06-30 02:10:19 +00:00
Francois Gouget
9591836ffb 'sizeof type' is best avoided as it won't always compile (e.g. 'int
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Alexandre Julliard
aff7ddaeeb Made user compile with -DSTRICT. 2002-11-22 21:22:14 +00:00
Vincent Béron
9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard
0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Mike McCormack
0964495bc4 - Don't use event flags with ReadFileEx and WriteFileEx.
- Use overlapped structure with WriteFile, since FILE_FLAG_OVERLAPPED
  is specified.
- Cancel overlapped operations in CloseComm.
2002-01-07 18:04:50 +00:00
Mike McCormack
096524c5bf Use alertable waits in PeekMessage16 and GetMessage16 so we can
process APCs for 16bit comms.
2001-12-26 19:46:40 +00:00
Alexandre Julliard
851297919b Use MapLS/UnMapLS instead of SEGPTR_* macros. 2001-12-24 20:30:24 +00:00
Mike McCormack
5355a7870b Only RTS_CONTROL_HANDSHAKE should set CRTSCTS. 2001-12-13 00:57:58 +00:00
Mike McCormack
cce46e5760 Check for completed overlappeds in ReadComm16 to solve problems with
programs that loop on it but don't get data.
2001-11-23 18:26:30 +00:00
Mike McCormack
daf347ac8b Find out how much data is available when calling ReadFileEx. 2001-11-08 17:06:08 +00:00
Mike McCormack
c5ea29f99b Return TRUE on success in COMM_BuildOldCommDCB.
DCB16.BaudRate > 57600 means 115200.
OpenComm16 should use overlapped I/O.
2001-10-21 15:01:20 +00:00
Francois Gouget
b60c4ce0f0 Don't print NULL strings (crashes on Solaris).
Small code maintainability tweak in ShellExecuteExA.
Two typo fixes in winmm.
2001-10-14 16:15:05 +00:00
Alexandre Julliard
f44bbb8d10 Make sure that HWND comparisons are always done with full 32-bit
handles.
2001-09-14 00:24:39 +00:00
Dmitry Timoshkov
2b81ece365 Replaced PROFILE_ functions by RegQueryValueExA. 2001-08-22 18:02:59 +00:00
Mike McCormack
e4ca13ea82 Move 16-bit COMM code to USER dll. 2001-07-24 20:49:41 +00:00