Commit Graph

62 Commits

Author SHA1 Message Date
Vincent Béron 6c644d68cf Fix various function prototypes. 2004-10-19 23:55:15 +00:00
Mike McCormack 53daa59740 Implement CallNamedPipeA using CallNamedPipeW. 2004-10-19 21:08:58 +00:00
Alexandre Julliard de91a8dd0f Implemented NtYieldExecution. 2004-10-11 20:11:01 +00:00
Alexandre Julliard 6a27b48895 Fd type is no longer used, get rid of it. 2004-08-18 00:04:58 +00:00
Hans Leidekker 9baafec900 Fix signed/unsigned comparison warnings. 2004-08-10 23:43:21 +00:00
Alexandre Julliard cc461324da Store the number of processors in the PEB structure.
More correct support for setting critical section spin counts (based
on a patch by Robert Shearman).
2004-06-15 00:52:03 +00:00
Robert Shearman 6c91e9bff6 Use the same path transformation for WaitNamedPipe and
CreateNamedPipe.
2004-06-14 17:00:21 +00:00
Eric Pouech bde649c356 Added some missing prototypes. 2004-05-18 20:43:29 +00:00
Alexandre Julliard d4874d6406 Added a few more info classes in NtQueryInformationFile.
Use NT file names in CreateNamedPipeW.
Reimplemented GetFileInformationByHandle, GetFileSize and GetFileTime
using ntdll functions.
2004-04-30 21:03:09 +00:00
Mike McCormack 7b8d745a4f Use CreateEventW in preference to CreateEventA. 2004-03-29 20:26:39 +00:00
Raphael Junqueira 401853557a Remove duplicate code by using Nt* functions for PulseEvent,
ResetEvent and SetEvent.
2004-03-18 01:36:09 +00:00
Raphael Junqueira 919605c8be Added stub for SignalObjectAndWait. 2004-03-17 01:43:47 +00:00
Alexandre Julliard 8045ad5c0e Removed some unnecessary definitions from file.h.
Got rid of drive.h.
2004-03-09 23:51:02 +00:00
Dimitrie O. Paun 475cdcba8c Remove the win32 debug channel, misc cleanup of debugging code. 2004-02-26 05:30:54 +00:00
Uwe Bonnes 9ffce00940 Pass inherit handle flag properly for CreateNamedPipe. 2004-02-24 01:06:30 +00:00
Alexandre Julliard 850ee4ba4e Authors: David Hammerton <david@transgaming.com>, Mike McCormack <mike@codeweavers.com>
Completed PeekNamedPipe implementation.
2004-02-12 20:03:53 +00:00
Dimitrie O. Paun 2eaefbd1a4 Move content of global.h into the appropriate private headers. 2003-12-08 21:58:55 +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
Mike McCormack 7e1f38034c Stubs for job control. 2003-11-03 22:12:15 +00:00
Mike McCormack c854f9eba8 Return more sane mailslot error values. 2003-10-30 23:08:23 +00:00
Mike McCormack c06bcc110f Stub implementations for some functions related to RegisterWait. 2003-10-09 19:46:43 +00:00
Alexandre Julliard 687ecfa312 Moved a few more functions to the dlls/kernel directory. 2003-10-08 04:24:49 +00:00
Alexandre Julliard bff860c4b1 Moved synchronization and syslevel routines to dlls/kernel. 2003-09-18 04:39:13 +00:00
Jon Griffiths 69d157b2b7 Documentation updates. 2003-09-17 20:05:03 +00:00
Mike McCormack b2b2c4794b Move the mailslot stubs into the dlls/kernel directory. 2003-09-15 22:07:50 +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 1bfade140f Free the debug info when making a critical section global. 2003-08-18 20:03:00 +00:00
Alexandre Julliard dc4b0c7655 Moved tape.c to dlls/kernel.
Moved critical section and resource update functions to dlls/kernel.
Started moving some of the thread functions too.
2003-06-24 03:34:15 +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
Mike McCormack e67c058bb9 Always return FALSE when doing an overlapped ConnectNamedPipe. 2003-06-06 18:10:36 +00:00
Eric Pouech c00a4473bd Implement anonymous pipes on top of named pipes. 2003-05-20 04:32:53 +00:00
Alexandre Julliard 9bf3ac619e Moved timer functions to dlls/kernel. 2003-05-20 04:14:45 +00:00
Mike McCormack ef8b94622a - rewrite of the named pipe code
- allow NtFileFlushBuffers to wait
- allow DisconnectNamedPipe to invalidate client cached fd
- fix the pipe test now that one extra test passes
2003-05-15 04:22:45 +00:00
Aric Stewart fa65a24817 Ignore requested access rights when emulated version is not NT. 2003-05-12 03:28:26 +00:00
Alexandre Julliard ab61506401 Fixed return value of CreateNamedPipe (spotted by Mike McCormack). 2003-05-06 00:19:59 +00:00
Dan Kegel 88eba44645 Added check for illegal pipe names.
Added regression test.
2003-02-19 22:06:36 +00:00
Michael Stefaniuc 308e04fc61 Compile the kernel dll with -DSTRICT. 2002-10-25 21:02:30 +00:00
Alexandre Julliard 3dc3f403df PeekNamedPipe: Check if the pipe was closed when there are 0 available
bytes (based on a patch by Uwe Bonnes).
2002-09-04 23:34:03 +00:00
Patrik Stridvall 9aab47ed24 MSVC compatibility fixes. 2002-08-28 23:42:34 +00:00
Patrik Stridvall d016f819f1 Added include protection for unistd.h and sys/time.h. 2002-08-17 00:43:16 +00:00
Rafael Kitover ac81d02a58 Portability fixes for Cygwin. 2002-07-31 20:04:20 +00:00
Uwe Bonnes 4072c64a1f Fill lpcbAvail for PeekNamedPipe. 2002-07-25 00:22:03 +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
Alexandre Julliard 9caa71eef4 Redesign of the server communication protocol to allow arbitrary sized
data to be exchanged.
Split request and reply structures to make backwards compatibility
easier.
Moved many console functions to dlls/kernel, added code page support,
changed a few requests to behave properly with the new protocol.
2001-11-30 18:46:42 +00:00
Mike McCormack 309ed4e1f1 Make ConnectNamedPipe work in overlapped mode. 2001-11-07 20:14:45 +00:00
Mike McCormack f2e7ce7f6a Implemented GetNamedPipeInfo. 2001-08-27 19:03:42 +00:00
Mike McCormack 4192f9aa29 Add stubs for several named pipe functions. 2001-08-24 19:15:35 +00:00
Mike McCormack bf55457f24 Implement WaitNamedPipe and DisconnectNamedPipe.
Add a state for each pipe handle in the server.
Create a socket on when the pipe is opened, not before.
2001-08-23 23:29:20 +00:00
Patrik Stridvall bc38d6bfde - Made sure that the files that contains the declarations
of the implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-20 18:00:00 +00:00