Alistair Leslie-Hughes : kernelbase: Trace not supported flags in CopyFileExW.

Alexandre Julliard julliard at winehq.org
Tue Mar 22 16:46:30 CDT 2022


Module: wine
Branch: master
Commit: aa2851f167aa2089fdbb12ec58d6f6b4801edbab
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=aa2851f167aa2089fdbb12ec58d6f6b4801edbab

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Sat Mar 12 20:01:29 2022 +1100

kernelbase: Trace not supported flags in CopyFileExW.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/kernelbase/file.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dlls/kernelbase/file.c b/dlls/kernelbase/file.c
index 2d5a6a8ba9a..569d92345b7 100644
--- a/dlls/kernelbase/file.c
+++ b/dlls/kernelbase/file.c
@@ -518,6 +518,13 @@ BOOL WINAPI CopyFileExW( const WCHAR *source, const WCHAR *dest, LPPROGRESS_ROUT
 
     TRACE("%s -> %s, %lx\n", debugstr_w(source), debugstr_w(dest), flags);
 
+    if (flags & COPY_FILE_RESTARTABLE)
+        FIXME("COPY_FILE_RESTARTABLE is not supported\n");
+    if (flags & COPY_FILE_COPY_SYMLINK)
+        FIXME("COPY_FILE_COPY_SYMLINK is not supported\n");
+    if (flags & COPY_FILE_OPEN_SOURCE_FOR_WRITE)
+        FIXME("COPY_FILE_OPEN_SOURCE_FOR_WRITE is not supported\n");
+
     if ((h1 = CreateFileW( source, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,
                            NULL, OPEN_EXISTING, 0, 0 )) == INVALID_HANDLE_VALUE)
     {




More information about the wine-cvs mailing list