wine-staging/patches/vssapi-CreateVssBackupComponents/0006-vssapi-Add-CreateVssBackupComponents-YGJPAPAVIVssBac.patch

46 lines
1.7 KiB
Diff
Raw Normal View History

From 2672c7b782026df87cd3007c8006811f021d4545 Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Date: Tue, 15 Jan 2019 10:38:28 +1100
Subject: [PATCH 6/6] vssapi: Add
?CreateVssBackupComponents@@YGJPAPAVIVssBackupComponents@@@Z stub
---
dlls/vssapi/main.c | 10 ++++++++++
dlls/vssapi/vssapi.spec | 2 +-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/dlls/vssapi/main.c b/dlls/vssapi/main.c
index a24b320..7617c0d 100644
--- a/dlls/vssapi/main.c
+++ b/dlls/vssapi/main.c
@@ -114,3 +114,13 @@ HRESULT WINAPI CreateVssBackupComponentsInternal(IVssBackupComponents **backup)
FIXME("%p\n", backup);
return E_NOTIMPL;
}
+
+/******************************************************************
+ * ?CreateVssBackupComponents@@YGJPAPAVIVssBackupComponents@@@Z
+ */
+HRESULT VSSAPI_CreateVssBackupComponents( IVssBackupComponents **backup )
+{
+ FIXME( "%p\n", backup );
+
+ return CreateVssBackupComponentsInternal(backup);
+}
diff --git a/dlls/vssapi/vssapi.spec b/dlls/vssapi/vssapi.spec
index 7bd47e8..c759c11 100644
--- a/dlls/vssapi/vssapi.spec
+++ b/dlls/vssapi/vssapi.spec
@@ -9,7 +9,7 @@
@ cdecl -arch=win64 ??1CVssWriter@@UEAA@XZ(ptr) VSSAPI_CVssWriter_dtor
@ stub ?AreComponentsSelected@CVssJetWriter@@IBG_NXZ
@ stub ?AreComponentsSelected@CVssWriter@@IBG_NXZ
-@ stub ?CreateVssBackupComponents@@YGJPAPAVIVssBackupComponents@@@Z
+@ stdcall ?CreateVssBackupComponents@@YGJPAPAVIVssBackupComponents@@@Z(ptr) VSSAPI_CreateVssBackupComponents
@ stub ?CreateVssExamineWriterMetadata@@YGJPAGPAPAVIVssExamineWriterMetadata@@@Z
@ stub ?CreateVssSnapshotSetDescription@@YGJU_GUID@@JPAPAVIVssSnapshotSetDescription@@@Z
@ stub ?GetBackupType@CVssJetWriter@@IBG?AW4_VSS_BACKUP_TYPE@@XZ
--
1.9.1