https://git.reactos.org/?p=reactos.git;a=commitdiff;h=eac44a7f9d54d85c6d137e613636593504c09e3e

commit eac44a7f9d54d85c6d137e613636593504c09e3e
Author:     Oleg Dubinskiy <oleg.dubinskij2...@yandex.ua>
AuthorDate: Wed Mar 25 20:33:28 2020 +0200
Commit:     Mark Jansen <mark.jan...@reactos.org>
CommitDate: Sun Jun 7 19:45:05 2020 +0200

    [PSDK] Replace our vswriter.h by Wine's vswriter.idl and enable it in 
CMakeLists.txt
    Required by vssapi stubs CORE-9511.
    Our current vswriter.h has no some needed definitions, but simple adding 
them in the current header is not an option, since Wine's vsbackup.idl (which 
is required too) depends on it.
    Then it will not need to add ROS-specific diff(s) in Wine's vsbackup.idl.
---
 sdk/include/psdk/CMakeLists.txt               |  1 +
 sdk/include/psdk/{vswriter.h => vswriter.idl} | 19 +++++++++++++++----
 2 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/sdk/include/psdk/CMakeLists.txt b/sdk/include/psdk/CMakeLists.txt
index 4d6b5e6e049..a30e7cd47cf 100644
--- a/sdk/include/psdk/CMakeLists.txt
+++ b/sdk/include/psdk/CMakeLists.txt
@@ -127,6 +127,7 @@ list(APPEND SOURCE
     vmr9.idl
 #   vmrender.idl
     vss.idl
+    vswriter.idl
     wbemcli.idl
     wbemdisp.idl
     wbemprov.idl
diff --git a/sdk/include/psdk/vswriter.h b/sdk/include/psdk/vswriter.idl
similarity index 81%
rename from sdk/include/psdk/vswriter.h
rename to sdk/include/psdk/vswriter.idl
index 043b871cb60..9d7d4dcf6a0 100644
--- a/sdk/include/psdk/vswriter.h
+++ b/sdk/include/psdk/vswriter.idl
@@ -15,9 +15,7 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
-
-#ifndef __WINE_VSWRITER_H
-#define __WINE_VSWRITER_H
+import "oaidl.idl";
 
 typedef enum
 {
@@ -44,4 +42,17 @@ typedef enum
     VSS_AWS_THIS_IS_ALTERNATE_WRITER
 } VSS_ALTERNATE_WRITER_STATE;
 
-#endif /* ___WINE_VSWRITER_H */
+typedef enum VSS_COMPONENT_TYPE
+{
+    VSS_CT_UNDEFINED,
+    VSS_CT_DATABASE,
+    VSS_CT_FILEGROUP
+} VSS_COMPONENT_TYPE;
+
+typedef enum VSS_FILE_RESTORE_STATUS
+{
+    VSS_RS_UNDEFINED,
+    VSS_RS_NONE,
+    VSS_RS_ALL,
+    VSS_RS_FAILED
+} VSS_FILE_RESTORE_STATUS;

Reply via email to