Commit Graph

85 Commits

Author SHA1 Message Date
Hans Leidekker f297fd800b kernel32: Add stub implementations of GetNamedPipeClient/ServerSessionId.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-11 16:23:05 +02:00
Hans Leidekker dedd450689 kernel32: Implement GetNamedPipeClient/ServerProcessId.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-11 16:23:05 +02:00
Jacek Caban 0ca7c5c4e2 kernel32: Reimplement TransactNamedPipe on top of FSCTL_PIPE_TRANSCEIVE.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-29 16:06:03 +02:00
Hans Leidekker bd7fb5b59e kernel32: Don't return an error from TransactNamedPipe if an overlapped pointer is passed.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-07 11:02:42 -06:00
Hans Leidekker 7a07a5e34f kernel32: Return a non-empty username from GetNamedPipeHandleState.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-07 11:02:38 -06:00
Alexandre Julliard c52e3ff249 kernel32: Move the mapping object functions to sync.c.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-02 10:51:31 +01:00
Alexandre Julliard 808693102e kernel32: Add a helper function to fill object attributes in Create* functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-02 10:41:12 +01:00
Alexandre Julliard a7aa192a78 kernel32: Add a helper function to fill object attributes in Open* functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-02 10:40:41 +01:00
Zebediah Figura d37bfe960f kernel32: Implement bytes left in PeekNamedPipe().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-22 13:46:18 +02:00
Jacek Caban e44c0f710b kernel32: Use default buffer size in CreatePipe if 0 was passed.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-30 22:06:32 +02:00
Sebastian Lackner c7a9ab82b7 kernel32: NtOpenFile returns STATUS_SUCCESS on success.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 22:24:18 +09:00
Keno Fischer ccc1d346a6 kernel32: Fix RegisterWaitForSingleObject for console handles.
Signed-off-by: Keno Fischer <keno@juliacomputing.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-19 16:14:30 +09:00
Alexandre Julliard 2f514becdb kernel32: Store synchronization objects under the session directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-18 16:21:24 +09:00
Jacek Caban 8294722142 kernel32: Pass SYNCHRONIZE flag to NtOpenFile.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-30 21:01:59 +09:00
Francois Gouget ecc04f6996 kernel32: Remove unneeded NONAMELESSXXX directives. 2015-03-13 00:28:19 +09:00
Austin English 1ade676968 kernel32: Add a stub for CancelTimerQueueTimer. 2014-10-27 17:35:45 +09:00
Nikolay Sivov 7b7d8374a4 ntdll: NtWaitForMultipleObjects()'s third arguments means 'wait_any', not 'wait_all'. 2014-09-01 13:03:07 +02:00
Sebastian Lackner 55396b7018 kernel32: Implement SetNamedPipeHandleState.
Based on a patch by Adam Martinson.
2014-08-21 18:02:29 +02:00
Sebastian Lackner 9e66e97db8 kernel32: Implement GetNamedPipeHandleState.
Based on a patch by Adam Martinson.
2014-08-21 18:02:28 +02:00
Grazvydas Ignotas 4f62801aee kernel32: Don't return uninitialized values on failures. 2014-07-09 09:28:32 +02:00
Austin English 149d60318f kernel32: Initialize return value in CreateSemaphoreExW. 2014-07-08 10:35:17 +02:00
Sebastian Lackner 0e1b381503 kernel32: Silence SetWaitableTimerEx fixme message. 2014-04-03 11:10:49 +02:00
Nikolay Sivov 467b769623 kernel32: Added SetWaitableTimerEx(). 2014-03-24 11:38:22 +01:00
Erich E. Hoover ee49a5a273 kernel32: Add support for security access parameters for named pipes. 2014-02-10 15:42:06 +01:00
Sebastian Lackner 72cf5d6f12 kernel32: Forward SleepConditionVariableSRW to ntdll. 2014-01-27 14:13:49 +01:00
Sebastian Lackner ddc7f300e2 kernel32: Forward condition variable functions to ntdll. 2014-01-08 14:34:14 +01:00
Frédéric Delanoy 7ab78b4e03 kernel32: Use BOOL type where appropriate. 2013-10-24 10:49:11 +02:00
Andrew Cook fef18a4267 kernel32: Fix argument order for NtIsProcessInJob. 2013-09-06 12:08:10 +02:00
Alexandre Julliard 1992f5005c kernel32: Implement the InitOnce functions. 2013-08-28 22:27:32 +02:00
Alexandre Julliard d8c72febc8 kernel32: Make event/mutex/semaphore functions hotpatchable. 2013-04-10 23:54:08 +02:00
Michael Stefaniuc 2dcc12aac3 kernel32: Avoid TRUE FALSE conditional expressions. 2013-03-12 11:23:58 +01:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Alexandre Julliard aeaf18077e kernel32: Implement the memory resource notification functions. 2012-03-12 10:44:02 +01:00
André Hentschel 00efe754f5 kernel32: Make Sleep hotpatchable. 2012-03-08 18:55:22 +01:00
Pierre Schweitzer d5642a47ed kernel32: Fix memory leak. 2011-12-07 17:49:58 +01:00
Bernhard Loos 039bacb0c9 server: Store sharing state for named pipes. 2011-09-27 16:54:00 +02:00
Bernhard Loos 3623b9d4c9 kernel32: Create(Named)Pipe uses an nonalertable io mode. 2011-08-22 19:49:40 +02:00
Peter Oberndorfer f30b708916 kernel32: Fix WaitForMultipleObjectsEx for handles with lower 2 bits set. 2010-09-23 12:00:20 +02:00
Austin English 5dca2545f2 kernel32: Add stub for QueryMemoryResourceNotification. 2010-06-29 10:55:36 +02:00
Andrey Turkin 2db497e89e kernel32: Use TEB-based buffer in CreateMutexExA. 2010-02-24 12:16:33 +01:00
Alexandre Julliard 3b67ad9bd4 ntdll: Fix the NtCreateEvent prototype.
It takes an event type, not a manual reset flag.
2010-01-18 20:34:54 +01:00
Stefan Leichter 7f1fe90e7f kernel32: Added stub for CreateMemoryResourceNotification. 2009-11-16 12:42:19 +01:00
Alexandre Julliard e487b560d9 kernel32: Make GetQueuedCompletionStatus return failure for I/O errors, as per MSDN. 2009-10-27 16:52:48 +01:00
Alexandre Julliard c57fd07d27 kernel32: Move the 16-bit synchronization functions to kernel16.c. 2009-10-08 11:10:59 +02:00
Alexandre Julliard d303d9dc29 kernel32: Add appropriate stdcall decorations to assembly functions. 2009-06-15 13:42:26 +02:00
Michael Stefaniuc 9b2730eb88 kernel32: Remove superfluous pointer casts. 2009-03-11 13:03:31 +01:00
Alexandre Julliard c47e32a7cc kernel32: Fix the last error code for timeout in GetQueuedCompletionStatus. 2009-03-03 11:59:48 +01:00
Nikolay Sivov 2ddcb295b6 kernel32: Added DeleteTimerQueue. 2009-01-23 13:12:31 +01:00
Alexandre Julliard f06d99f67a include: Implemented inline asm functions for x86_64. Export Interlocked* only on i386. 2008-12-08 19:25:25 +01:00
Alexandre Julliard c1d2d86be7 kernel32: Implemented the Ex variants of CreateEvent/Mutex/Semaphore/WaitableTimer. 2008-11-11 14:03:00 +01:00