Skip to content

Commit eac44a7

Browse files
oleg-dubinskiylearn-more
authored andcommitted
[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.
1 parent 99dd292 commit eac44a7

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

sdk/include/psdk/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ list(APPEND SOURCE
127127
vmr9.idl
128128
# vmrender.idl
129129
vss.idl
130+
vswriter.idl
130131
wbemcli.idl
131132
wbemdisp.idl
132133
wbemprov.idl

sdk/include/psdk/vswriter.h renamed to sdk/include/psdk/vswriter.idl

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
* License along with this library; if not, write to the Free Software
1616
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
1717
*/
18-
19-
#ifndef __WINE_VSWRITER_H
20-
#define __WINE_VSWRITER_H
18+
import "oaidl.idl";
2119

2220
typedef enum
2321
{
@@ -44,4 +42,17 @@ typedef enum
4442
VSS_AWS_THIS_IS_ALTERNATE_WRITER
4543
} VSS_ALTERNATE_WRITER_STATE;
4644

47-
#endif /* ___WINE_VSWRITER_H */
45+
typedef enum VSS_COMPONENT_TYPE
46+
{
47+
VSS_CT_UNDEFINED,
48+
VSS_CT_DATABASE,
49+
VSS_CT_FILEGROUP
50+
} VSS_COMPONENT_TYPE;
51+
52+
typedef enum VSS_FILE_RESTORE_STATUS
53+
{
54+
VSS_RS_UNDEFINED,
55+
VSS_RS_NONE,
56+
VSS_RS_ALL,
57+
VSS_RS_FAILED
58+
} VSS_FILE_RESTORE_STATUS;

0 commit comments

Comments
 (0)