]> git.cworth.org Git - apitrace/blobdiff - common/os_win32.cpp
retrace: Create snapshot directory if it does not exist.
[apitrace] / common / os_win32.cpp
index f297a5551357f5b7631519374bc4ad36149090a6..c5be8a88efb190f904d2af4fd098e77cbfab1093 100644 (file)
@@ -69,6 +69,12 @@ getCurrentDir(void)
     return path;
 }
 
+bool
+createDirectory(const String &path)
+{
+    return CreateDirectoryA(path, NULL);
+}
+
 bool
 String::exists(void) const
 {