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
ff07c20446
Moved support for opening named pipes to ntdll.
2004-04-30 19:04:19 +00:00
Alexandre Julliard
553a75e16e
Use symlinks in dosdevices/ for the drive devices too.
...
Store drive types in the registry instead of in the config file.
Added some more code to convert existing config to the new scheme.
2004-04-29 00:27:57 +00:00
Alexandre Julliard
c349d7d297
Removed a number of internal file functions that are no longer used.
2004-04-28 03:53:19 +00:00
Alexandre Julliard
223fcdff77
Moved support for opening DOS device files to ntdll.
2004-04-23 03:22:34 +00:00
Dmitry Timoshkov
eb1711bf5e
Use a passed SecurityDescriptor in CreateFileW.
2004-04-23 02:40:51 +00:00
Alexandre Julliard
72aad7dc31
Make CreateFileW use NtCreateFile.
2004-04-22 03:49:39 +00:00
Alexandre Julliard
31a7a7847e
Changed MoveFileEx to use ntdll functions, and moved it to
...
dlls/kernel/path.c.
2004-04-21 22:27:34 +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
684b65cd52
Added support for FILE_DIRECTORY_FILE and FILE_NON_DIRECTORY_FILE open
...
options.
2004-04-16 04:31:35 +00:00
Alexandre Julliard
743997fa38
Replace the get_file_info request by an fstat() on the client side.
2004-04-08 04:39:59 +00:00
Alexandre Julliard
db4517010b
Handle the set_file_pointer request on the client side.
2004-04-07 22:02:09 +00:00
Alexandre Julliard
fe5a3a24c7
Better fallback in SetFileTime when futimes is missing.
2004-04-07 19:17:43 +00:00
Alexandre Julliard
49b2f6d964
Get rid of the removable media handling in the server.
2004-04-06 23:41:01 +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
b70e0c8ea6
Removed the FailReadOnly option, this is now the default behavior.
2004-04-02 23:33:39 +00:00
Alexandre Julliard
ae72222741
Fixed copy/paste error in previous patch (spotted by Dimitrie
...
O. Paun).
2004-03-27 20:45:30 +00:00
Alexandre Julliard
a1fe8b4f24
Use futimes() instead of utime() to implement SetFileTime, so that it
...
can be done on the client side.
2004-03-27 01:48:52 +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
Christian Costa
61f3c740f9
Fixed OpenFile returned value when OF_EXIST flag is specified.
2004-03-20 19:25:39 +00:00
Alexandre Julliard
1de20ae4af
Rewrote handling of COM and LPT devices to use symlinks in
...
$WINEPREFIX/dosdevices, with suitable defaults if the symlinks are
missing.
Rewrote QueryDosDevice and DefineDosDevice to use the new scheme.
Added temporary code to create the symlinks based on the contents of
the config file.
2004-03-20 02:28:51 +00:00
Stefan Leichter
aee7467731
Fixed typo in DOS device check in CreateFileW.
2004-03-12 02:02:13 +00:00
Alexandre Julliard
014099caf5
Changed the create_file server request to take NtCreateFile flags
...
instead of CreateFileW ones (based on a patch by Eric Pouech).
2004-03-12 01:56:49 +00:00
Alexandre Julliard
e9871b0b68
The OpenConsoleW inherit argument is a boolean not a
...
SECURITY_ATTRIBUTES pointer.
2004-03-11 22:46:27 +00:00
Alexandre Julliard
8045ad5c0e
Removed some unnecessary definitions from file.h.
...
Got rid of drive.h.
2004-03-09 23:51:02 +00:00
Alexandre Julliard
db692c8f39
Open a real file handle for drive devices, and get rid of the server
...
device hacks (based on a patch by Eric Pouech).
2004-03-04 23:00:18 +00:00
Alexandre Julliard
1a87dc42e2
Removed some of the DOS device hacks (based on a patch by Eric
...
Pouech).
2004-02-24 01:15:12 +00:00
Alexandre Julliard
4d984fd9c1
Create real file handles for VxDs instead of using the server device
...
object hack (partly based on a patch by Eric Pouech).
2004-02-20 05:22:20 +00:00
Pofis
67f6ca52b2
Don't print FIXME for FILE_ATTRIBUTE_TEMPORARY.
2004-02-09 21:10:08 +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
Mike Hearn
517248d7bc
- Ensure we correctly add a backslash like Windows 98/XP do.
...
- Generate filenames that look like Windows does (no left digit
padding).
2004-01-16 04:49:13 +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
Francois Gouget
640cc3f3e1
Assorted spelling fixes.
2004-01-06 22:08:33 +00:00
Hans Leidekker
513670551b
MoveFile returns ERROR_ALREADY_EXISTS, not ERROR_FILE_EXISTS.
2003-12-15 20:15:20 +00:00
Eric Pouech
1da37e6ac4
Moved all remaining console related code to dlls/kernel directory.
2003-12-12 04:10:52 +00:00
Alexandre Julliard
5525cab2c6
Removed no longer needed dll separation hack.
2003-12-02 04:48:16 +00:00
Alexandre Julliard
04ecca54a1
Use wine_server_release_fd() instead of close() everywhere we use
...
wine_server_handle_to_fd().
A few minor winsock cleanups.
2003-12-02 04:19:56 +00:00
Alexandre Julliard
e983652363
Moved a number of DOS definitions out of the global headers and into
...
winedos private files. Removed the msdos.h header.
2003-11-15 00:13:20 +00:00
Alexandre Julliard
289613a57b
Make sure GetTempFileName never returns 0 on success.
2003-10-31 03:38:54 +00:00
Rolf Kalbermatter
76f13deb26
Use INVALID_FILE_ATTRIBUTES to test for failure of
...
GetFileAttributesA/W and not -1 or 0xFFFFFFFF.
2003-10-16 19:12:49 +00:00
Alexandre Julliard
af192f83b6
Store a "removable" flag instead of the full drive type in the server
...
file object; this way we don't need to use GetDriveTypeW in the loader
code.
Make sure we always have a valid builtin_load_info pointer.
2003-10-08 00:25:32 +00:00
Pavel Roskin
c8160055e8
Implemented GetCompressedFileSize[AW].
2003-10-03 03:31:46 +00:00
Alexandre Julliard
8db8368ee7
Keep the file handle of 16-bit modules open while the module is
...
loaded. This makes it possible to remove the InstallShield hack in
OpenFile16.
Moved LoadLibrary32_16 to kernel.
2003-09-18 04:35:34 +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
e0deb0c627
Replaced remaining calls to PROFILE_GetWineIniString/Bool by direct
...
registry accesses.
2003-08-19 03:21:04 +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
Eric Pouech
412d37f6e6
- adapted kernel32 so that it no longer (directly) manages console
...
handles as wineserver handles
- console input handle object is no longer waitable (input record
synchronisation is now implemented as a simple semaphore), and removed
FD_TYPE_CONSOLE from fd types in wineserver
- console handles now always have their two lower bit set so one can
distinguish a console handle from a kernel object handle
- implemented some undocumented kernel32 console related APIs
(CloseConsoleHandle, GetConsoleInputWaitHandle, OpenConsoleW,
VerifyConsoleIoHandle, DuplicateConsoleHandle)
- allowed a few kernel32 APIs to take console pseudo-handles
(FlushFileBuffer, GetFileType, WaitFor*Object*)
- simplified the console inheritance at process creation
- in console tests, no longer create a console if one already exists
2003-06-21 02:07:10 +00:00