Commit Graph

326 Commits

Author SHA1 Message Date
Jacek Caban d055d3d121 server: Use async object to transfer IRP result to client.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-05 16:11:03 +01:00
Sebastian Lackner eb7ac554d1 ntoskrnl.exe: Add support for METHOD_IN_DIRECT/METHOD_OUT_DIRECT ioctls.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-17 16:19:47 -07:00
Alex Henrie 84fcaafb89 ntdll: Skip synchronous read if a serial read interval timeout is set.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-09 15:39:57 +09:00
Alexandre Julliard 7a8ebc828e ntdll: Add a helper function for registering a file read async I/O.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-09 15:31:00 +09:00
Alexandre Julliard 6261e26764 ntdll: Support remaining information classes in NtQueryDirectoryFile.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 01:27:50 +09:00
Seong-ho Cho ca8a08606d configure: Add AC_HEADER_MAJOR to find where major() is defined.
Signed-off-by: Seong-ho Cho <darkcircle.0426@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-18 18:06:46 +09:00
Sebastian Lackner 9acff7550d ntdll: Do not update iosb.Status after FSCTL_PIPE_LISTEN call.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-07 17:08:30 +09:00
Alex Henrie f35c1b2dc1 ntdll: Finish serial reads of size 0 immediately.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 22:45:07 +09:00
Alexandre Julliard 38f9a788c4 ntdll: Add tests for NULL object attributes.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:25:11 +09:00
Alexandre Julliard 8b2ba27c86 ntdll: Add tests for kernel object names in the various open functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 00:41:30 +09:00
Alexandre Julliard 14825a7a55 server: Pass full object attributes in the create_mailslot request.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-18 00:17:30 +09:00
Alexandre Julliard 7350682aa6 server: Store the attributes in the object_attributes structure.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-16 00:05:57 +09:00
Alexandre Julliard 3198fb0c1c ntdll: Add a helper function to allocate the full object_attributes structure.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-16 00:05:57 +09:00
Alex Henrie 63468b02b8 ntdll: Remove redundant avail_mode check and confusing comment.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-12 22:26:28 +09:00
Andrew Eikum a3af13614f ntdll: Claim success for FSCTL_SET_SPARSE.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 12:41:18 +09:00
Francois Gouget 67c2e06fcd ntdll: Work around a conflict between Wine and Solaris list.h.
Signed-off-by: Francois Gouget <fgouget@free.fr>
2015-10-05 22:27:16 +09:00
Sebastian Lackner 1f2a443cb4 server: Implement support for FileLinkInformation class in NtSetInformationFile. 2015-08-21 14:36:02 +09:00
Sebastian Lackner 857d436784 ntdll: Implement FileRenameInformation support. 2015-08-20 18:34:13 +09:00
Sebastian Lackner 0fabfe7d6b server: Add support for setting file disposition information.
Based on a patch by Dmitry Timoshkov.
2015-08-19 20:19:57 +09:00
Alexandre Julliard 950c82094b ntdll: Add support for file I/O on device files. 2015-05-21 17:38:04 +09:00
Alexandre Julliard 193667ecd7 ntdll: Fix handling of async cancellation for directory changes. 2015-05-07 16:02:26 +09:00
Alexandre Julliard 38b7c8839c ntdll: Don't run user APCs in NtCancelIoFile. 2015-05-07 15:38:57 +09:00
Alexandre Julliard c07a0561db ntdll: Fallback to server calls for read and write on objects without a file descriptor. 2015-05-06 17:16:48 +09:00
Alexandre Julliard 860091d2fd server: Add an async structure to the flush request to follow the common pattern. 2015-05-06 17:16:15 +09:00
Alexandre Julliard 165dd1ff36 server: Rename ioctl to irp to allow supporting various types of I/O requests. 2015-05-06 08:44:29 +09:00
Michael Müller 64c48d0e63 ntdll: Define a couple more information classes. 2015-03-26 14:20:48 +09:00
Francois Gouget ca1545cf17 ntdll: Remove unneeded NONAMELESSXXX directives. 2015-03-16 15:04:50 +09:00
Qian Hong 2a098ab8a8 ntdll: Implemented FileNetworkOpenInformation class support in NtQueryInformationFile. 2015-03-10 15:18:13 +09:00
Alexandre Julliard 1146e251fc ntdll: Avoid the intermediate user APC callback. 2015-03-03 17:02:04 +09:00
Alexandre Julliard 0a241b0fcc ntdll: Allow specifying the user APC argument in the system APC callback. 2015-03-03 17:02:03 +09:00
Alexandre Julliard 577cb166d4 ntdll: Don't queue a user APC when there is no callback function. 2015-03-02 23:00:29 +09:00
Alexandre Julliard ff84bf8bdd ntdll: Move NtNotifyChangeDirectoryFile to file.c and make it use the standard fileio structure. 2015-03-02 23:00:28 +09:00
Alexandre Julliard 4f43d743e0 ntdll: Use the fileio structure and callback also for ioctl calls. 2015-03-02 23:00:27 +09:00
André Hentschel 9598a39bdb ntdll: Always define UTIME_OMIT if not yet defined. 2014-12-23 20:43:01 +01:00
Erich E. Hoover ca51e113e4 ntdll: Unify retrieving the attributes of a file. 2014-12-17 19:42:23 +01:00
Hans Leidekker b31ed58b96 server: Set the security descriptor of named pipe objects. 2014-11-12 21:09:50 +09:00
Sebastian Lackner 82ce3fdcfd server: Implement set_named_pipe_info wineserver call for NtSetInformationFile/FilePipeInformation.
Based on a patch by Adam Martinson.
2014-08-20 19:40:07 +02:00
Adam Martinson 55e10e4ae2 ntdll: Implement FILE_PIPE_INFORMATION for NtQueryInformationFile. 2014-08-20 19:35:44 +02:00
Dmitry Timoshkov c7332fa1dc ntdll: Remove shadow local variables. 2014-01-09 12:10:42 +01:00
Austin English 0dac887f48 ntdll: Return success for FSCTL_IS_VOLUME_MOUNTED ioctl. 2013-12-20 10:51:52 +01:00
Frédéric Delanoy 5ba7f79bad Assorted spelling fixes. 2013-12-03 19:41:53 +01:00
Frédéric Delanoy 7e63200672 ntdll: Use BOOL type where appropriate. 2013-11-01 10:52:42 +01:00
Dmitry Timoshkov 60ef62c8c2 ntdll: NtReadFile should update io status block on EOF for a synchronous read. 2013-10-31 16:52:48 +01:00
Dmitry Timoshkov a5e80b2d60 ntdll: NtReadFile should not fail for 0-length reads at EOF. 2013-10-31 16:18:33 +01:00
Alexandre Julliard 61770be5f1 ntdll: Add an futimens syscall wrapper for Android. 2013-10-29 10:24:34 +01:00
Dmitry Timoshkov 3b429e88ff server: Add support for pending write flag to the serial device. 2013-10-25 13:36:01 +02:00
Alexandre Julliard ac519d0eea ntdll: Add defines for the file position magic constants. 2013-10-09 16:13:41 +02:00
Dmitry Timoshkov 3cae528eef ntdll: Offset -1 (FILE_WRITE_TO_END_OF_FILE) is supposed to work in NtWriteFile for disk files in overlapped mode. 2013-10-09 16:11:33 +02:00
Dmitry Timoshkov aa8546ecc2 ntdll: Add support for FILE_APPEND_DATA to NtWriteFile. 2013-10-07 14:44:35 +02:00
Dmitry Timoshkov fe3bc8c574 ntdll: Unify the checks for asynchronous NtReadFile behaviour. 2013-09-30 20:35:03 +02:00