[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.
This commit is contained in:
Oleg Dubinskiy 2020-03-25 20:33:28 +02:00 committed by Mark Jansen
parent 99dd292553
commit eac44a7f9d
2 changed files with 16 additions and 4 deletions

View file

@ -127,6 +127,7 @@ list(APPEND SOURCE
vmr9.idl
# vmrender.idl
vss.idl
vswriter.idl
wbemcli.idl
wbemdisp.idl
wbemprov.idl

View file

@ -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;