Mike Hearn
ddd0e03e91
kernel: Don't crash on NULL arg in GetShortPathNameW.
2006-04-07 20:05:33 +02:00
Mike Hearn
679df54b6c
kernel: Correct SearchPathA argument validation.
2006-04-07 20:01:48 +02:00
Alexandre Julliard
8b0feb253b
server: Make the FILE_SHARE_DELETE sharing checks depend on DELETE
...
access instead of on the FILE_DELETE_ON_CLOSE flag (based on a patch
by Mike McCormack).
2006-01-27 15:50:38 +01:00
Ge van Geldorp
1a1583a364
Match PSDK STATUS_* definitions.
2005-11-28 17:32:54 +01:00
Phil Lodwick
bf8319fdd5
prefix can be NULL for GetTempFileNameW.
2005-11-12 19:09:06 +00:00
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
Alexandre Julliard
81d64af17e
Use a larger buffer in CopyFileW now that the file handle may not
...
always be cached.
2005-09-26 13:26:40 +00:00
Aric Stewart
087de7d439
Fix the translation of dest to DestW, having it be NULL vs "" has
...
different meanings for MoveFileEx.
2005-09-07 09:23:34 +00:00
Alexandre Julliard
e859359211
Added a wine_get_dos_file_name function in kernel32 as a wrapper
...
around the new wine_unix_to_nt_file_name.
2005-08-11 11:07:17 +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
Mike McCormack
5b2d5fd758
Use HANDLE instead of HKEY in the NT API.
2005-06-17 13:58:33 +00:00
Felix Nawothnig
8b5c8f6d7f
Add a workaround for Win9x apps which pass the parameters for
...
GetCurrentDirectoryA in wrong order.
2005-06-12 10:41:22 +00:00
Marcelo Duarte
3e4813214b
CopyFile needs to retain timestamp.
2005-03-01 10:42:22 +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
Andreas Mohr
35583201e8
GetTempPath*() uses DWORD parameters instead of UINT.
2004-12-17 19:00:09 +00:00
Alexander Yaworsky
6d9d114303
Changed allocation of arguments in SearchPathA so path is not limited
...
by size of TEB static buffer.
2004-11-22 18:25:05 +00:00
Vincent Béron
157b32c0f1
Correct the calling convention of GetSystemWow64Directory{A,W},
...
AmpFactorToDB and DBToAmpFactor.
2004-10-08 21:01:44 +00:00
Raphael Junqueira
ac825d02f4
Semi stubs for GetSystemWow64Directory[AW].
2004-06-02 21:32:55 +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
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
07ddc60c04
Use RtlDosPathNameToNtPathName_U to build the registry entries for
...
MOVEFILE_DELAY_UNTIL_REBOOT.
2004-04-30 04:16:23 +00:00
Alexandre Julliard
06c46d9aab
Reimplemented Get/SetCurrentDirectoryW using the corresponding ntdll
...
functions.
2004-04-28 01:04:24 +00:00
Alexandre Julliard
ad9b799324
Reimplemented CreateDirectoryW and RemoveDirectoryW using ntdll
...
functions.
2004-04-27 02:27:09 +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
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
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
dbecf5c911
Store the windows and system directories as long path names.
...
Moved GetTempPath and GetTempDrive to dlls/kernel.
2004-03-26 01:07:34 +00:00
Alexandre Julliard
af16aac743
Reimplemented SearchPathW using ntdll functions.
2004-03-25 23:41:04 +00:00
Alexandre Julliard
cfc5d57122
Retrieve a short name in GetShortPathNameW if the long name contains
...
spaces.
2004-03-17 01:55:01 +00:00
Eric Pouech
6c8ee62340
- RtlGetFullPathName_U: rewritten so that the source & destination
...
buffer can be the same
- GetFullPathName[AW]: now call RtlGetFullPathName_U
- GetShortPathNameW: fixed regression introduced in last patch
2004-01-20 01:40:23 +00:00
Eric Pouech
9ccb73a8d7
Reimplemented Get{Short|Long}PathName and updated the regression
...
tests.
2004-01-15 00:20:46 +00:00