]> git.cworth.org Git - apitrace/blobdiff - common/os_win32.cpp
Preserve both D3D9 shader byte code, and disassembly.
[apitrace] / common / os_win32.cpp
index 33fe427bad7370784d32c42c416e172ed97bcd89..e00fe64bd50edeacb197d8f04a704b3bf83b9bfc 100644 (file)
@@ -76,6 +76,18 @@ String::exists(void) const
     return attrs != INVALID_FILE_ATTRIBUTES;
 }
 
+bool
+copyFile(const String &srcFileName, const String &dstFileName, bool override)
+{
+    return CopyFileA(srcFileName, dstFileName, !override);
+}
+
+bool
+removeFile(const String &srcFilename)
+{
+    return DeleteFileA(srcFilename);
+}
+
 /**
  * Determine whether an argument should be quoted.
  */