From a7a1743a42a02b8ce0c2b17b179a63b02f3302f5 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath <[email protected]> Date: Fri, 18 Feb 2022 18:32:51 +0530 Subject: [PATCH 1/2] headers: Add default parameter value in vswriter.idl
Signed-off-by: Biswapriyo Nath <[email protected]> --- mingw-w64-headers/include/vswriter.idl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/mingw-w64-headers/include/vswriter.idl b/mingw-w64-headers/include/vswriter.idl index 3051d58..1438d4f 100644 --- a/mingw-w64-headers/include/vswriter.idl +++ b/mingw-w64-headers/include/vswriter.idl @@ -276,7 +276,7 @@ interface IVssComponent : IUnknown [in] UINT iDifferencedFile, [out] BSTR *pbstrPath, [out] BSTR *pbstrFilespec, - [out] BOOL *pbRecursive, + [out] WINBOOL *pbRecursive, [out] BSTR *pbstrLsnString, [out] FILETIME *pftLastModifyTime); } @@ -364,22 +364,22 @@ interface IVssCreateWriterMetadata [in] boolean bRestoreMetadata, [in] boolean bNotifyOnBackupComplete, [in] boolean bSelectable, - [in] boolean bSelectableForRestore, - [in] DWORD dwComponentFlags); + [in, defaultvalue(0)] boolean bSelectableForRestore, + [in, defaultvalue(0)] DWORD dwComponentFlags); HRESULT AddDatabaseFiles( [in] LPCWSTR wszLogicalPath, [in] LPCWSTR wszDatabaseName, [in] LPCWSTR wszPath, [in] LPCWSTR wszFilespec, - [in] DWORD dwBackupTypeMask); + [in, defaultvalue(VSS_FSBT_ALL_BACKUP_REQUIRED | VSS_FSBT_ALL_SNAPSHOT_REQUIRED)] DWORD dwBackupTypeMask); HRESULT AddDatabaseLogFiles( [in] LPCWSTR wszLogicalPath, [in] LPCWSTR wszDatabaseName, [in] LPCWSTR wszPath, [in] LPCWSTR wszFilespec, - [in] DWORD dwBackupTypeMask); + [in, defaultvalue(VSS_FSBT_ALL_BACKUP_REQUIRED | VSS_FSBT_ALL_SNAPSHOT_REQUIRED)] DWORD dwBackupTypeMask); HRESULT AddFilesToFileGroup( [in] LPCWSTR wszLogicalPath, @@ -388,7 +388,7 @@ interface IVssCreateWriterMetadata [in] LPCWSTR wszFilespec, [in] boolean bRecursive, [in] LPCWSTR wszAlternateLocation, - [in] DWORD dwBackupTypeMask); + [in, defaultvalue(VSS_FSBT_ALL_BACKUP_REQUIRED | VSS_FSBT_ALL_SNAPSHOT_REQUIRED)] DWORD dwBackupTypeMask); HRESULT SetRestoreMethod( [in] VSS_RESTOREMETHOD_ENUM method, @@ -518,8 +518,8 @@ interface IVssCreateExpressWriterMetadata : IUnknown [in] boolean bRestoreMetadata, [in] boolean bNotifyOnBackupComplete, [in] boolean bSelectable, - [in] boolean bSelectableForRestore, - [in] DWORD dwComponentFlags); + [in, defaultvalue(0)] boolean bSelectableForRestore, + [in, defaultvalue(0)] DWORD dwComponentFlags); HRESULT AddFilesToFileGroup( [in] LPCWSTR wszLogicalPath, @@ -528,7 +528,7 @@ interface IVssCreateExpressWriterMetadata : IUnknown [in] LPCWSTR wszFilespec, [in] boolean bRecursive, [in] LPCWSTR wszAlternateLocation, - [in] DWORD dwBackupTypeMask); + [in, defaultvalue(VSS_FSBT_ALL_BACKUP_REQUIRED | VSS_FSBT_ALL_SNAPSHOT_REQUIRED)] DWORD dwBackupTypeMask); HRESULT SetRestoreMethod( [in] VSS_RESTOREMETHOD_ENUM method, -- 2.35.1
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
