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
Mike McCormack
5b2d5fd758
Use HANDLE instead of HKEY in the NT API.
2005-06-17 13:58:33 +00:00
Alexandre Julliard
2e4bca9db5
Added magic comments to all Wine-specific registry accesses to make
...
them easier to grep.
2005-06-13 18:56:00 +00:00
Marcus Meissner
590aaaf454
Added stubs for GetVolumePathName(A,W).
2005-06-02 10:30:44 +00:00
Francois Gouget
f5c9da6860
Assorted spelling fixes.
2005-05-06 15:44:31 +00:00
Alexandre Julliard
4a334aed3c
Move all the old config conversion code to a new oldconfig.c file, and
...
get rid of misc/registry.c and the misc directory.
2005-04-20 15:43:36 +00:00
Alexandre Julliard
729bfb861c
Fixed regression in QueryDosDeviceA when passed a NULL device name.
2005-02-26 17:46:34 +00:00
Paul van Schayck
1973138190
Only stop writing a volume label if we found a non writable fat
...
partition.
2005-02-15 15:47:58 +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
Rein Klazes
073329fa1b
In VOLUME_ReadFATSuperblock:
...
- do not test on the JMP instruction: most boot blocks have that
- test instead on the "FAT" strings first, before the size
calculation
- do some parameter checking to prevent arithmetic errors
- use meaningful names instead of block offsets
(based on a rejected patch from Vincent Béron).
2004-10-28 21:00:36 +00:00
Hans Leidekker
9baafec900
Fix signed/unsigned comparison warnings.
2004-08-10 23:43:21 +00:00
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