Commit Graph

105 Commits

Author SHA1 Message Date
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
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Michael Stefaniuc 7a8818e717 Don't check pointers for NULL before RtlFreeHeap. It is redundant. 2006-05-05 20:59:50 +02:00
Bryan Mayland 98fd541de8 kernel: WaitForMultipleObjectsEx should accept up to MAXIMUM_WAIT_OBJECTS. 2006-03-22 11:19:09 +01:00
Mike McCormack 1f7c81eb36 kernel32: Create a stub implementation for PostQueuedCompletionStatus. 2006-01-17 13:13:01 +01:00
Vitaliy Margolen b05340a523 ntdll: Implement FSCTL_PIPE_WAIT NtFsControlFile ioctl.
Implement FSCTL_PIPE_WAIT NtFsControlFile ioctl.
Modify WaitNamedPipeW to use NtFsControlFile.
Replace struct overlapped with event.
2005-12-14 11:14:02 +01:00
Alexandre Julliard 59797f292e Pass specific access rights to wine_server_handle_to_fd. 2005-12-12 17:15:26 +01:00
Vitaliy Margolen babfa79436 Move named pipe objects into directory name space.
Change tests accordingly.
Add small test for WaitNamedPipe.
2005-12-05 13:09:35 +01:00
Vitaliy Margolen 7c5cb7a229 Move timer objects into directory name space. 2005-12-02 16:05:54 +01:00
Vitaliy Margolen 5daae3dfa9 Move semaphore objects into directory name space. 2005-12-02 16:01:17 +01:00
Vitaliy Margolen f676bc8d85 Move event and mutex objects into directory name space. 2005-12-02 15:55:48 +01:00
Ge van Geldorp 1a1583a364 Match PSDK STATUS_* definitions. 2005-11-28 17:32:54 +01:00
Vitaliy Margolen 2d41fcd864 Kernel32 should create named objects with OBJ_OPENIF flag set.
Handle STATUS_OBJECT_NAME_EXISTS explicitly as it's not mapped with
RtlNtStatusToDosError.
2005-11-21 16:26:34 +00:00
Alexandre Julliard 86397e1d43 Fixed handling of mailslot read timeout to avoid compiler warnings. 2005-11-21 15:23:49 +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
Vitaliy Margolen eabc93a1eb Add brackets around (a)?b:c construct. 2005-10-06 11:32:53 +00:00
Vitaliy Margolen 7e9b17f745 Add brackets around (a)?b:c construct. 2005-09-30 10:33:43 +00:00
Alexandre Julliard 43c6396e94 Use int instead of long in interlocked_* functions for 64-bit
compatibility.
2005-09-26 13:51:58 +00:00
Eric Pouech e21aa6a184 - now passing access rights when creating a named pipe in NTDLL
- reimplemented Kernel32.CreatePipe purely on top of NTDLL APIs
- anonymous pipe handles should have the SYNCHRONIZE bit set
2005-09-26 11:02:45 +00:00
Vitaliy Margolen 97c944c061 Specify flag OBJ_CASE_INSENSITIVE when calling appropriate Ntxx
functions creating/opening named objects.
2005-09-21 11:42:30 +00:00
Ivan Leo Puoti f0db7ab06b Added FSCTL_PIPE_LISTEN support. 2005-09-06 14:09:42 +00:00
Phil Krylov 8b226cb921 Fixed InterLocked* function definitions for non-x86 platforms in
accordance with the recent corresponding change of their declarations
in winbase.h.
2005-08-22 09:23:32 +00:00
Ivan Leo Puoti aab12f5f7c Implement FSCTL_PIPE_DISCONNECT in NtFsControlFile and make
DisconnectNamedPipe call it.
2005-08-18 10:59:26 +00:00
Mike McCormack f58e9f9e4b gcc 4.0 warning fixes. 2005-08-17 10:28:35 +00:00
Mike McCormack 405ac7a80c - don't include winreg.h
- include kernel_private.h to get declaration for convert_old_config()
2005-06-20 10:40:37 +00:00
Mike McCormack 950e5e626c Dependency fixes for winternl.h. 2005-06-10 19:33:47 +00:00
Mike Hearn 0aab090838 Suppress the noisy SetNamedPipeHandleState fixme. 2005-06-05 18:03:38 +00:00
Mike McCormack 0cd4317c71 Implemented SignalObjectAndWait. 2005-04-24 17:36:34 +00:00
Gerald Pfeifer 185ec147b9 Fix compilation problem caused by ULONG_MAX. 2005-04-20 12:51:26 +00:00
Eric Pouech 5a2591d96d - moved named pipe creation to ntdll
- server now handles the named pipe flags as the NTDLL values (not the
  KERNEL32 ones)
- named pipes in server now use the async IO mechanism for
  connect/wait ops
2005-04-18 14:57:04 +00:00
Mike McCormack 016206c1e1 Move mailslot set and query info implementation to ntdll. 2005-04-11 14:20:49 +00:00
Mike McCormack 2ab6a775bd Implement mailslots. 2005-03-30 19:02:15 +00:00
Mike McCormack 6c42be25e7 Implement CreateMailslot using NtCreateMailslotFile. 2005-03-28 10:03:56 +00:00
Alex Villacís Lasso 341f98ad8f PeekNamedPipe now checks both for a NULL buffer and a zero-length
buffer before trying to recv() from the pipe.
2005-03-22 18:23:44 +00:00
Steven Edwards 5727918424 Added a check for poll.h. 2005-03-04 12:38:36 +00:00
Robert Shearman 4a8b0d4c5b Convert last error from NTSTATUS to a DOS error code in WaitNamedPipe
and ConnectNamedPipe.
2005-02-08 12:08:04 +00:00
Alexandre Julliard c6ec3a3203 Async callback function must be stdcall. 2005-02-03 10:43:41 +00:00
Mike McCormack c1b4d7d16f Implement TransactNamedPipe for the non-overlapped case. 2005-01-19 17:00:48 +00:00
Mike McCormack 4a0f999859 Use CreateEventW in preference to CreateEventA for unnamed events. 2005-01-07 15:40:09 +00:00
Eric Pouech 9dc3843cba Fixed some regressions from the previous change. 2005-01-03 14:43:15 +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
Juan Lang a4d4d1979b Use W calls rather than A in CreatePipe. 2004-12-07 14:23:03 +00:00
Eric Pouech 44158dd690 - moved event, semaphore, mutex implementation from kernel32 to ntdll
- added mutant implementation in ntdll, and use it for mutex
  implementation in kernel32
- added access parameter on event, semaphore, timer creation in
  wineserver (as ntdll interface requires it)
- added missing definitions in include/winternl.h
2004-12-02 18:05:37 +00:00
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