Commit Graph

792 Commits

Author SHA1 Message Date
Alexandre Julliard
ffcc67abf1 Added auto-detection of DOS drive devices based on finding the
corresponding mount point in /etc/mtab or /etc/fstab.
2004-04-29 20:04:48 +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
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
7b6651a9e1 Moved creation of the CDROM registry keys into the registry loading
code.
2004-04-23 21:36:22 +00:00
Alexandre Julliard
223fcdff77 Moved support for opening DOS device files to ntdll. 2004-04-23 03:22:34 +00:00
Alexandre Julliard
9db147e5e4 Make DIR_nt_to_unix return STATUS_NO_SUCH_FILE instead of
STATUS_OBJECT_NAME_NOT_FOUND to indicate that the last component
didn't exist to allow distinguishing it from legitimate errors.
Export it from ntdll, renamed to wine_nt_to_unix_file_name.
2004-04-23 02:46:18 +00:00
Alexandre Julliard
4bb759e8ad Properly set IO_STATUS_BLOCK.Information in NtCreateFile. 2004-04-21 22:26:44 +00:00
Alexandre Julliard
e4409325d2 Reimplemented GetFileAttributesExW and GetCompressedFileSizeW using
the corresponding ntdll functionality.
2004-04-20 04:06:49 +00:00
Francois Gouget
52c0832161 Make Unicode strings static const. 2004-04-20 01:12:17 +00:00
Robert Shearman
e2490a0986 Stub and documentation for RtlFormatMessage. 2004-04-20 01:07:23 +00:00
Alexandre Julliard
362ce5eac7 Minor fixes. 2004-04-20 00:37:00 +00:00
Alexandre Julliard
174e2a6464 Reimplemented GetFileAttributesW, SetFileAttributesW and SetFileTime
using the corresponding ntdll functionality.
2004-04-20 00:36:29 +00:00
Michael Stefaniuc
5150b37a00 NtQueryInformationToken isn't a stub so change the FIXME to a TRACE. 2004-04-19 19:25:29 +00:00
Alexandre Julliard
769a4bb586 Fixed ntdll_wcstoumbs and WideCharToMultiByte to set the 'used' flag
for UTF-8 codepage too. This was causing DIR_nt_to_unix to fail in
some cases (tracked down with help from Alex Pasadyn).
2004-04-19 03:05:07 +00:00
Emmanuel Maillard
8183eb658f Fix a compile error for SNOOP_GetProcAddress on non-i386. 2004-04-17 00:21:18 +00:00
Alexandre Julliard
716878c5b1 Fixed a number of NT status values to be closer to NT behavior. 2004-04-16 23:32:40 +00:00
Alexandre Julliard
dfcfc98ed0 RtlSetCurrentDirectory_U: store a handle to the current directory
along with its name.
2004-04-16 05:00:46 +00:00
Alexandre Julliard
186b419e02 Added hack to fetch the current directory from the subsystem tid so
that it is handled correctly in ntdll also for 16-bit tasks.
2004-04-16 00:10:03 +00:00
Alexandre Julliard
a45931c6f3 Get rid of the TEB flags, they are no longer used. 2004-04-15 05:04:53 +00:00
Alexandre Julliard
1cb0cf4ced Moved wine_get_unix_file_name implementation to ntdll, and changed it
to return an allocated buffer instead of a fixed size one.
2004-04-14 19:40:53 +00:00
Alexandre Julliard
7e65631832 Added support for restarting directory scans on platforms where
seekdir return values cannot be reused on a different directory
object.
Added some checks for invalid file names in DIR_nt_to_unix.
2004-04-14 04:36:21 +00:00
Alexandre Julliard
017438cdbc Fixed handling of \\?\ prefix in RtlDosPathNameToNtPathName_U.
Fixed parsing of UNC file names in RtlGetFullPathName_U.
2004-04-14 04:34:04 +00:00
Alexandre Julliard
e792fb74ba Implemented NtCreatelFile using the new symlink scheme.
Use NtCreateFile in the loader, and get rid of the CreateFileW upcall
hack.
2004-04-12 23:31:09 +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
Rolf Kalbermatter
be00938306 Fix bad initialization of Unicode length parameters in
RtlStringFromGUID.
2004-04-08 04:38:49 +00:00
Alexandre Julliard
db4517010b Handle the set_file_pointer request on the client side. 2004-04-07 22:02:09 +00:00
Raphael Junqueira
43b9f97b22 - fix DbgPrint and implement DbgPrintEx
- stub for NtImpersonateAnonymousToken
2004-04-07 19:05:34 +00:00
Alexandre Julliard
0adec9a7c1 Better support for device handles in NtQueryVolumeInformationFile. 2004-04-07 03:58:55 +00:00
Alexandre Julliard
670711ef25 Handle file mappings on removable media entirely inside ntdll. 2004-04-06 23:13:47 +00:00
Alexandre Julliard
a2ce4ea325 Fixed some potential races in the handling of the view structures. 2004-04-06 20:16:51 +00:00
Alexandre Julliard
01c5ef37cc Partial implementation of NtQueryVolumeInformationFile. 2004-04-06 04:19:41 +00:00
Alexandre Julliard
27b1cf9ab1 Fixed RtlDosPathNameToNtPathName_U prototype. 2004-04-05 20:21:16 +00:00
Alexandre Julliard
9aef0770a9 A couple of optimizations and bug fixes. 2004-04-02 20:28:07 +00:00
Rein Klazes
7568734411 Fix incorrect calculation of leap year in RtlTimeFieldsToTime(). 2004-04-02 19:28:53 +00:00
Rolf Kalbermatter
dfd6bbf1d2 NtPulseEvent: Don't print FIXME for an optional parameter if it isn't
used.
2004-04-01 21:01:53 +00:00
Raphael Junqueira
b9f45e7a70 Added some stubs. 2004-04-01 02:12:41 +00:00
Alexandre Julliard
8b0938b6e3 Make RtlGetFullPathName_U handle Unix paths, using the new symlinks
scheme.
2004-04-01 02:09:14 +00:00
Alexandre Julliard
9e4ed6460c .spec.c files are no longer used for 32-bit dlls. 2004-03-24 03:36:44 +00:00
Francois Gouget
b948778660 Assorted spelling fixes. 2004-03-23 23:20:16 +00:00
Uwe Bonnes
d81e8db382 Added some tests for RtlGetFullPathName_U. 2004-03-22 23:00:13 +00:00
Alexandre Julliard
94e3477d7f Moved slash conversion to collapse_path, and remove duplicate
backslashes too.
2004-03-22 22:59:25 +00:00
Alexandre Julliard
a86a022256 Added workaround for broken dlls that modify ebx in their entry point
(reported by Christian Costa).
2004-03-19 02:07:16 +00:00
Raphael Junqueira
ca6b072689 Stub implementations of RtlCreateQueryDebugBuffer,
RtlDestroyQueryDebugBuffer and RtlQueryProcessDebugInformation.
2004-03-18 02:08:43 +00:00
Alexandre Julliard
b8d025eeb9 Rewrote the collapsing of . and .. in RtlGetFullPathName_U for better
compatibility.
2004-03-17 01:58:51 +00:00
Alexandre Julliard
24df62e32b O_DIRECTORY is not really needed. 2004-03-16 19:19:12 +00:00
Mike Hearn
a54e3216c3 - Add debug SnoopFromInclude/SnoopFromExclude options.
- Correct TRACE debug channel usage in SNOOP_SetupDLL.
- Refactor check_relay_from_relay.
2004-03-16 03:10:07 +00:00
Alexandre Julliard
f30cfa8858 Implemented NtQueryDirectoryFile (partly based on a patch by Eric
Pouech).
2004-03-16 01:32:02 +00:00
Mike Hearn
4d2cfee1fa Improve message given on image map failure. 2004-03-15 20:06:50 +00:00
Alexandre Julliard
fe8ead56a8 Get rid of ntdll_get_process_heap and ntdll_get_process_pmts by using
standard APIs instead.
2004-03-12 01:59:35 +00:00
Hans Leidekker
bdf4aff65b _wto{l,i,i64} parameters are const. 2004-03-11 22:38:38 +00:00