Rein Klazes
932533ca09
In GetVolumeInformationW handle the case when there are no permissions
...
accessing the device the same way as when no device is found.
2004-07-13 23:33:47 +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
9759474371
Make GetVolumeInformation default to reporting NTFS for non-FAT
...
filesystems.
2004-05-03 20:22:07 +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
cba2fcaf61
Fixed last error code check in GetVolumeInformationW, opening a
...
non-existent device returns ERROR_FILE_NOT_FOUND now.
2004-05-01 03:05:36 +00:00
Uwe Bonnes
6ebf8b494c
Fixed buffer overflow.
2004-04-30 18:34:34 +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
74f583ed19
DefineDosDeviceW: implemented the DDD_REMOVE_DEFINITION flag.
2004-04-27 02:43:40 +00:00
Alexandre Julliard
cf67839bc4
Pass the creation disposition to wine_nt_to_unix_file_name so that it
...
can return the correct error code in all cases.
Changed MoveFileExW to use wine_nt_to_unix_file_name to avoid
computing the NT name twice.
Fixed crash in GetDriveTypeW with a NULL root.
2004-04-27 02:15:52 +00:00
Alexandre Julliard
a2963dacc3
Reimplemented GetLogicalDrives, GetLogicalDriveStrings and
...
GetDriveType using the new symlink mechanism.
Made GetDriveType attempt to autodetect the type if not specified in
the registry.
2004-04-23 23:31:58 +00:00
Alexandre Julliard
223fcdff77
Moved support for opening DOS device files to ntdll.
2004-04-23 03:22:34 +00:00
Alexandre Julliard
d1051870db
Reimplemented GetDiskFreeSpaceW and GetDiskFreeSpaceExW on top of the
...
corresponding ntdll functions.
2004-04-17 00:30:09 +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
0701b0748c
Get the drive root directories from the symlinks in dosdevices/ if
...
they exist.
Added creation of drive symlinks in the device transition code.
2004-03-30 21:19:00 +00:00
Alexandre Julliard
21e5909ac1
Added support for DOS drives in QueryDosDevice and DefineDosDevice.
2004-03-30 21:00:07 +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
Alexandre Julliard
954c570ae3
Reimplemented GetVolumeInformation and SetVolumeLabel; volume label
...
and serial number are now stored in the filesystem instead of in the
config file (partly based on a patch by Eric Pouech).
2004-03-09 01:03:03 +00:00