From: Marc-André Lureau <[email protected]>

This fixes the compilation against the QEMU Guest Agent.

Signed-off-by: Marc-André Lureau <[email protected]>
---
 mingw-w64-headers/include/vsbackup.h   | 2 +-
 mingw-w64-headers/include/vsbackup.idl | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/mingw-w64-headers/include/vsbackup.h 
b/mingw-w64-headers/include/vsbackup.h
index 0bf3ca0e9b01..30341794d0fc 100644
--- a/mingw-w64-headers/include/vsbackup.h
+++ b/mingw-w64-headers/include/vsbackup.h
@@ -989,7 +989,7 @@ IVssBackupComponents : public IUnknown
         IVssWriterComponentsExt **ppWriter) = 0;
 
     virtual HRESULT STDMETHODCALLTYPE InitializeForBackup(
-        BSTR bstrXML) = 0;
+        BSTR bstrXML = 0) = 0;
 
     virtual HRESULT STDMETHODCALLTYPE SetBackupState(
         boolean bSelectComponents,
diff --git a/mingw-w64-headers/include/vsbackup.idl 
b/mingw-w64-headers/include/vsbackup.idl
index 2740bb186a1f..92ac5945fae8 100644
--- a/mingw-w64-headers/include/vsbackup.idl
+++ b/mingw-w64-headers/include/vsbackup.idl
@@ -157,7 +157,7 @@ interface IVssBackupComponents : IUnknown
     [out] IVssWriterComponentsExt **ppWriter);
 
   HRESULT InitializeForBackup(
-    [in] BSTR bstrXML);
+    [in, defaultvalue(NULL)] BSTR bstrXML);
 
   HRESULT SetBackupState(
     [in] boolean bSelectComponents,
-- 
2.34.1.428.gdcc0cd074f0c



_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to