Commit Graph

77 Commits

Author SHA1 Message Date
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
Alexandre Julliard ee375f7c22 kernel32: Added implementation for UnregisterWaitEx. 2008-09-11 11:49:40 +02:00
Alexandre Julliard b44a109b8c kernel32: Implemented the wrapper functions for job objects. 2008-09-04 22:51:02 +02:00
Rob Shearman e1e6caf81c kernel32: Fix a typo in the leadin check in WaitNamedPipeW. 2008-08-18 17:34:13 +02:00
Dan Hipschman 4c64d0cdfa ntdll: Implement RtlDeleteTimer for kernel32's DeleteTimerQueueTimer. 2008-07-25 14:09:15 +02:00
Dan Hipschman 396e47ef5c ntdll: Implement RtlUpdateTimer for kernel32's ChangeTimerQueueTimer. 2008-07-25 14:09:15 +02:00
Dan Hipschman d343f2baf7 ntdll: Implement RtlCreateTimer for kernel32's CreateTimerQueueTimer. 2008-07-23 11:24:03 +02:00
Dan Hipschman 20a1ca2bbf ntdll: Implement [Rtl]Create/DeleteTimerQueue[Ex]. 2008-07-22 13:24:21 +02:00
Dan Hipschman ecd76fb77c kernel32: Add a stub for ChangeTimerQueueTimer. 2008-07-22 13:21:01 +02:00