https://git.reactos.org/?p=reactos.git;a=commitdiff;h=23a1f8d335ce39f81a01cee25a232eb44dca3507

commit 23a1f8d335ce39f81a01cee25a232eb44dca3507
Author:     Oleg Dubinskiy <[email protected]>
AuthorDate: Wed Mar 25 21:23:37 2020 +0200
Commit:     Mark Jansen <[email protected]>
CommitDate: Sun Jun 7 19:45:05 2020 +0200

    [VSSAPI] Import Wine commits "Stub CreateVssBackupComponentsInternal + 
?CreateVssBackupComponents@@YGJPAPAVIVssBackupComponents@@@Z"
    
https://source.winehq.org/git/wine.git/commit/ce9b5a7e1782828f0a84d31eff73cf643ea4fe85
    
https://source.winehq.org/git/wine.git/commit/767c94bc5c0b9cdef0465b0fec555d846331fb03
    CORE-9511.
---
 dll/win32/vssapi/main.c      | 17 +++++++++++++++++
 dll/win32/vssapi/vssapi.spec |  4 ++--
 2 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/dll/win32/vssapi/main.c b/dll/win32/vssapi/main.c
index acb24003397..f6c311de4ae 100644
--- a/dll/win32/vssapi/main.c
+++ b/dll/win32/vssapi/main.c
@@ -24,6 +24,7 @@
 #include "winbase.h"
 #include "vss.h"
 #include "vswriter.h"
+#include "vsbackup.h"
 #include "wine/asm.h"
 #include "wine/debug.h"
 
@@ -94,3 +95,19 @@ HRESULT __thiscall VSSAPI_CVssWriter_Unsubscribe( struct 
CVssWriter *writer )
     return S_OK;
 }
 DEFINE_THISCALL_WRAPPER( VSSAPI_CVssWriter_Unsubscribe, 4 )
+
+HRESULT WINAPI CreateVssBackupComponentsInternal(IVssBackupComponents **backup)
+{
+    FIXME("%p\n", backup);
+    return E_NOTIMPL;
+}
+
+/******************************************************************
+ *  ?CreateVssBackupComponents@@YGJPAPAVIVssBackupComponents@@@Z
+ */
+HRESULT WINAPI VSSAPI_CreateVssBackupComponents( IVssBackupComponents **backup 
)
+{
+    FIXME( "%p\n", backup );
+
+    return CreateVssBackupComponentsInternal(backup);
+}
diff --git a/dll/win32/vssapi/vssapi.spec b/dll/win32/vssapi/vssapi.spec
index 3c6ec60e356..6e3f1ade503 100644
--- a/dll/win32/vssapi/vssapi.spec
+++ b/dll/win32/vssapi/vssapi.spec
@@ -7,7 +7,7 @@
 @ cdecl -arch=i386 ??1CVssWriter@@UAE@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
@@ -70,7 +70,7 @@
 @ cdecl -arch=i386 ?Subscribe@CVssWriter@@QAGJK@Z(ptr long) 
VSSAPI_CVssWriter_Subscribe
 @ stub ?Uninitialize@CVssJetWriter@@QAGXXZ
 @ cdecl -arch=i386 ?Unsubscribe@CVssWriter@@QAGJXZ(ptr) 
VSSAPI_CVssWriter_Unsubscribe
-@ stub CreateVssBackupComponentsInternal
+@ stdcall CreateVssBackupComponentsInternal(ptr)
 @ stub CreateVssExamineWriterMetadataInternal
 @ stub CreateVssExpressWriterInternal
 @ stub CreateWriter

Reply via email to