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
Bernd Schmidt
60fc2425e3
Implemented FindExSearchLimitToDirectories.
2005-11-01 21:37:05 +00:00
Alexandre Julliard
a51f2becf6
In FindNextFileExW don't report directory symlinks that point to one
...
of the parent directories, to avoid infinite recursions.
2005-10-26 13:57:45 +00:00
Alexandre Julliard
7886cacbf5
Revert previous change, OF_EXIST really returns HFILE_ERROR.
2005-10-18 10:39:15 +00:00
Maxime Bellengé
91ff09b679
In case of failure and OF_EXIST is specified, return FALSE instead of
...
HFILE_ERROR.
2005-10-10 11:19:31 +00:00
Uwe Bonnes
52978f67ac
STATUS_TIMEOUT is no error for Read|WriteFile.
2005-07-11 14:23:46 +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
Rein Klazes
8481c8df81
Work around a problem where WriteFile is asked to write memory
...
protected by DIBSection code.
2005-05-24 12:50:24 +00:00
Mike McCormack
2ab6a775bd
Implement mailslots.
2005-03-30 19:02:15 +00:00
Dmitry Timoshkov
75b93ff1aa
Match OVERLAPPED structure to the SDK definition.
2005-03-17 19:00:08 +00:00
Eric Pouech
4634447d6b
- got rid of include/async.h
...
- fixed some overlapped issues in socket handling
- moved kernel32.CancelIo implementation to ntdll
2005-01-14 19:54:38 +00:00
Rein Klazes
8032418e2d
memicmpW() count are WCHAR's not bytes. Fixes opening CON device.
2005-01-11 15:09:01 +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
Dmitry Timoshkov
a8f025fd94
Uncomment call to FlushConsoleInputBuffer in FlushFileBuffers.
2004-12-22 14:51:46 +00:00
Dmitry Timoshkov
567bed8645
Postpone creation disposition check in CreateFile until it's really
...
used.
2004-12-21 16:12:49 +00:00
Dmitry Timoshkov
e04da6bb72
Add a test for ReadFile/WriteFile fault handling, make it pass under
...
Wine.
2004-11-28 14:58:11 +00:00
Dmitry Timoshkov
b3d647384c
Remove useless calls to IsBadReadPtr from ReadFile and WriteFile.
2004-11-24 18:07:52 +00:00
Eric Pouech
6d0712a375
Moved kernel32.DeleteFileW core implementation to ntdll.NtDeleteFile.
2004-11-21 15:29:44 +00:00
Hans Leidekker
84e9eb65af
Include stdio.h for MinGW.
2004-10-11 19:53:13 +00:00
Alexandre Julliard
6a27b48895
Fd type is no longer used, get rid of it.
2004-08-18 00:04:58 +00:00
Eric Pouech
1ffddb4d0c
- better support for non-blocking COMM and socket read/writes:
...
+ added necessary semantics to fd flags
+ no longer uses fd type (but fd flags) read/write semantic behavior
- fixed socket code to use the proper manifest constants
- fixes for kernel32.GetOverlappedResult without hEvent set
- in ntdll.Nt{Read|Write}File
+ always reset the event
+ added support for longlong offsets
+ better object disposal in error handling code paths
2004-08-17 23:37:55 +00:00
Rob Shearman
95dc472698
Add TRACE to ReadFileEx.
2004-07-09 22:24:59 +00:00
Alexandre Julliard
f435914b88
Added magic number in the FindFirstFile structure to allow more robust
...
detection of bad handles (with help from Aric Stewart).
2004-06-15 00:55:04 +00:00
Alexandre Julliard
410db2ada4
Rewrote SetFilePointer to use SetFilePointerEx.
2004-06-14 19:40:44 +00:00
Mike McCormack
6122eeb5ca
Implemented SetFilePointerEx.
2004-06-14 17:56:50 +00:00
Christian Costa
fe0460fd2f
Added some traces to kernel file functions.
2004-05-22 03:13:56 +00:00
Alexandre Julliard
0d33e5e32d
Added proper support for switching file APIs between ANSI and OEM
...
codepages. Optimized some of the A->W conversions by using the
per-thread Unicode string buffer.
2004-05-13 20:21:25 +00:00
Alexandre Julliard
2f8fd10647
OF_CREATE should force write access in OpenFile.
2004-05-03 20:20:54 +00:00
Alexandre Julliard
643617f2ae
Moved most remaining file functions to dlls/kernel.
...
Removed files/file.c and include/file.h.
2004-05-01 05:25:07 +00:00
Alexandre Julliard
b592cbbc18
Reimplemented GetFileType and SetEndOfFile using ntdll functions.
2004-05-01 02:44:00 +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
Alexandre Julliard
e4409325d2
Reimplemented GetFileAttributesExW and GetCompressedFileSizeW using
...
the corresponding ntdll functionality.
2004-04-20 04:06:49 +00:00
Alexandre Julliard
174e2a6464
Reimplemented GetFileAttributesW, SetFileAttributesW and SetFileTime
...
using the corresponding ntdll functionality.
2004-04-20 00:36:29 +00:00
Alexandre Julliard
a9832be1a7
Make FindFirstFileExW and FindFirstChangeNotificationW use NtOpenFile
...
directly so that they can take advantage of the FILE_DIRECTORY_FILE
option.
2004-04-17 00:26:54 +00:00
Alexandre Julliard
c4c4da4e07
Reimplemented DeleteFile by using CreateFile with
...
FILE_FLAG_DELETE_ON_CLOSE. Added/fixed a few tests.
2004-04-03 00:05:24 +00:00
Alexandre Julliard
5bfafc9d7d
Split OpenFile implementation in separate 16- and 32-bit versions, and
...
changed it to use exported APIs instead of internal functions where
possible.
2004-03-25 05:36:08 +00:00
Alexandre Julliard
8f032165c4
Reimplemented FindFirstFile/FindNextFile on top of
...
NtQueryDirectoryFile.
2004-03-17 20:57:09 +00:00
Ge van Geldorp
399901e054
Rename LARGE_INTEGER and ULARGE_INTEGER members "s" to "u" to conform
...
with PSDK.
2004-01-23 01:51:33 +00:00
Francois Gouget
1614f91767
Return HFILE_ERROR instead of -1 in _lread.
2004-01-16 21:23:32 +00:00
Eric Pouech
768008fa20
- got rid of FILE_Dup2 export from kernel32
...
- move all dos handle related code into dlls/kernel32
2004-01-14 04:34:20 +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
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
2b72be546c
Replace calls to WaitForMultipleObjects with a 0 count by calls to
...
SleepEx.
2003-06-30 02:10:19 +00:00
Eric Pouech
9bd4f6bf15
- made async.h ready for use in ntdll: replaced all calls to kernel32
...
functions with ntdll equivalent
- replaced status setter/getter for wine async structures with direct
access to a (now included) IO_STATUS_BLOCK structure
- since we now have a IO_STATUS_BLOCK in async_private, we no longer
need in most of the user (derivated) structures a field for
LPOVERLAPPED (it's stored as the IO_STATUS_BLOCK)
- rewrote the async.h users accordingly
- implemented ntdll.Nt{Read|Write}File and let
kernel32.{Read|Write}File(Ex)? use those new ntdll functions
- rewrote smb read/write interfaces to be more ntdll stylish (no
overlapped yet)
2003-06-26 02:08:17 +00:00
Eric Pouech
f6a70969e1
- start moving a few file related functions from files/file.c to
...
dlls/kernel subdir (also splitting 16bit APIs in a separate file)
- implemented ntdll.Nt{Lock|Unlock}File, and made use of those for the
kernel32 equivalent
- implemented a few information classes in NtQueryInformationFile and
NtSetInformationFile (still lots of missing classes)
- enhanced the get_file_info server request in order to implement
correctly NtQueryInformationFile (change time & file alloc size)
- rewrote registry loading to comply with latest changes
2003-06-24 02:32:01 +00:00