Commit Graph

98 Commits

Author SHA1 Message Date
Bruno Jesus 24fc876e61 kernel32: Only zero the buffer up to 32767 bytes in GetTempPathW. 2015-03-18 20:56:39 +09:00
Francois Gouget ecc04f6996 kernel32: Remove unneeded NONAMELESSXXX directives. 2015-03-13 00:28:19 +09:00
Michael Stefaniuc a7daccb674 kernel32: Don't free a NULL / not yet allocated pointer (PVS-Studio). 2015-03-09 22:06:56 +09:00
Bruno Jesus 81598be9cf kernel32: In GetTempPathW only copy the path if it fits and zero the buffer when it doesn't. 2015-03-05 21:42:32 +09:00
Bruno Jesus f16cf54106 kernel32: GetTempPathW must zero the remaining buffer. 2015-03-02 23:00:31 +09:00
Austin English b331c4f931 kernel32: Add CreateHardLinkTransactedA/W stubs. 2015-02-05 22:42:22 +09:00
Stefan Leichter 9668dddfc9 kernel32: Add stubs for CreateSymbolicLinkA/W. 2014-12-05 11:24:51 +01:00
Akihiro Sagawa 4aea5ca72b kernel32: Fix incorrect lastpart in GetFullPathNameA with DBCS. 2014-10-14 14:20:05 +09:00
Dmitry Timoshkov eba2f43221 kernel32: Add special case for "." and ".." to GetLongPathName. 2013-10-30 09:43:40 +01:00
Dmitry Timoshkov d57444a622 kernel32: Add special case for "." and ".." to GetShortPathName. 2013-10-30 09:43:30 +01:00
Nikolay Sivov 41057a174d kernel32: Support activation context in SearchPath(). 2013-09-12 11:02:22 +02:00
Alexandre Julliard fe64e21e3b kernel32: Don't call from A to W function in Get/SetCurrentDirectory. 2013-08-18 19:57:05 +02:00
Dmitry Timoshkov 4cc482bc0d kernel32: GetShortPathName for a non-existent short file name should fail. 2013-07-22 19:31:13 +02:00
Austin English 758911a8da kernel32: Fix a typo in a comment. 2013-04-18 12:23:39 +02:00
Charles Davis 5a3ff7ccc1 kernel32: Make CopyFile(Ex)() succeed even if the source file is delete-locked. 2013-01-18 13:29:01 +01:00
Charles Davis e21c805fbe kernel32: Make CopyFile() call CopyFileEx() instead of the other way around. 2013-01-18 13:29:00 +01:00
Dmitry Timoshkov 99c10bd7a1 kernel32: Print in the CopyFileW trace also fail_if_exists parameter. 2012-06-07 19:48:03 +02:00
Frédéric Delanoy b5a33dab88 dlls: Assorted spelling fixes. 2011-08-02 20:47:51 +02:00
Louis Lenders 8819ae1e66 kernel32: Fix GetTempFileName with invalid path.
Found by Oskar Eisemuth.
2010-10-22 17:19:12 +02:00
Harry Jeffery 4faf80280c Fixed various spelling mistakes. 2010-07-26 13:34:20 +02:00
Damjan Jovanovic f56be472c6 kernel32: Deal with unix paths in wine_get_dos_file_name. 2010-07-23 13:05:32 +02:00
Alexandre Julliard 9f7bc109d2 kernel32: Avoid returning the same name when GetTempFileName is called twice in a short interval. 2010-06-24 11:01:56 +02:00
Damjan Jovanovic 06de0195d0 kernel32: Stop CopyFile from overwriting a file with itself. 2010-06-16 19:38:58 +02:00
Damjan Jovanovic 44aa45036b kernel32: Revert 3f1404bf29 and add better CopyFile tests. 2010-06-14 14:14:16 +02:00
Damjan Jovanovic 3f1404bf29 kernel32: CopyFile cannot overwrite a file with itself. 2010-06-11 11:36:42 +02:00
Andrey Turkin de79a63838 kernel32: Implement CreateHardLink. 2010-05-17 14:43:26 +02:00
Alexandre Julliard 2530304f1c ntdll: Fix the return status of NtQueryValueKey for a too small buffer. 2010-02-16 14:28:41 +01:00
Michael Stefaniuc 0f5d042ff2 kernel32: Don't use HIWORD to check for swapped args in GetCurrentDirectoryA. 2010-02-10 14:33:35 +01:00
Alexandre Julliard 5f9f260e42 kernel32: Avoid truncating the output buffer length in GetCurrentDirectoryA. 2010-02-01 13:22:41 +01:00
Nikolay Sivov 6d270a1d48 kernel32: Fix SearchPath parameter validation with tests. 2009-12-22 13:48:25 +01:00
Paul Vriens d58bd680b1 kernel32: Fix a crash with GetLongPathNameW and UNC path names. 2009-12-17 13:25:51 +01:00
Alexandre Julliard aadf703fc0 ntdll: The meaning of the flag is inverted between RtlWow64EnableFsRedirection and RtlWow64EnableFsRedirectionEx. 2009-10-28 10:55:19 +01:00
Alexandre Julliard 03d6da0894 kernel32: Add implementation of GetSystemWow64DirectoryA/W. 2009-07-07 11:42:03 +02:00
Alexandre Julliard 26caf2fdda kernel32: Forward the Wow64 redirection functions to ntdll. 2009-07-06 15:09:29 +02:00
Alexandre Julliard fb04bcf638 Fix position of CDECL qualifier for functions that return pointers. 2009-02-06 14:54:01 +01:00
Hans Leidekker 2095ba19bb kernel32: Add stub implementations of Wow64DisableWow64FsRedirection and Wow64RevertWow64FsRedirection. 2009-01-29 12:17:58 +01:00
Maarten Lankhorst 70441d5bb8 kernel32: Change all functions to use CDECL. 2008-12-23 13:09:45 +01:00
Cesar Eduardo Barros fee6b384e1 kernel32: Add stub for CreateHardLink. 2008-07-25 13:21:23 +02:00
Dan Hipschman 0e8f193184 kernel32: Add the MOVEFILE_WRITE_THROUGH flag for MoveFileEx (stub). 2008-03-14 11:53:15 +01:00
Jens Nestler 6d59ddf67b kernel32: Don't fail unconditionally in MoveFile for directories with flag MOVEFILE_REPLACE_EXISTING. 2008-02-06 13:49:29 +01:00
Alexandre Julliard 0a134e9e3f kernel32: GetTempPath should try the USERPROFILE and the Windows directory too. 2007-09-12 16:52:59 +02:00
Lionel Debroux 79326157f9 kernel32: Fix memory leak in CopyFileW. 2007-08-30 17:02:48 +02:00
Kirill K. Smirnov fff6db62f3 kernel32: Add partial stub for NeedCurrentDirectoryForExePath. 2007-04-27 13:05:12 +02:00
Andrew Talbot 503b338e88 kernel32: Replace inline static with static inline. 2007-03-17 20:03:39 +01:00
Mike McCormack b9910cb36d kernel32: Implement CopyFileWithProgress. 2007-01-02 12:08:53 +01:00
Michael Stefaniuc 8c38b88068 kernel32: Win64 printf format warning fixes. 2006-10-13 12:08:25 +02:00
Louis. Lenders 44da24759c kernel32: Print an error instead of crashing in GetLongPathNameW if shortpath=0. 2006-10-02 14:41:08 +02:00
Alexandre Julliard 489d87d1e5 kernel32: Renamed the kernel directory to kernel32.
Also get rid of the kernel/messages subdirectory.
2006-09-12 13:34:06 +02:00