wmvcore: Add stub WMCreateBackupRestorer functions.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=37325
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Vijay Kiran Kamuju 2019-03-04 23:35:59 +01:00 committed by Alexandre Julliard
parent 851113b06f
commit e06d90fa3f
3 changed files with 18 additions and 2 deletions

View File

@ -1,10 +1,10 @@
@ stdcall WMCheckURLExtension(wstr)
@ stdcall WMCheckURLScheme(wstr)
@ stub WMCreateBackupRestorerPrivate
@ stdcall WMCreateBackupRestorerPrivate(ptr ptr) WMCreateBackupRestorer
@ stub WMIsAvailableOffline
@ stub WMValidateData
@ stdcall -private DllRegisterServer()
@ stub WMCreateBackupRestorer
@ stdcall WMCreateBackupRestorer(ptr ptr)
@ stdcall WMCreateEditor(ptr)
@ stub WMCreateIndexer
@ stdcall WMCreateProfileManager(ptr)

View File

@ -74,6 +74,18 @@ HRESULT WINAPI WMCreateEditor(IWMMetadataEditor **editor)
return E_NOTIMPL;
}
HRESULT WINAPI WMCreateBackupRestorer(IUnknown *callback, IWMLicenseBackup **licBackup)
{
FIXME("(%p %p): stub\n", callback, licBackup);
if (!callback)
return E_INVALIDARG;
*licBackup = NULL;
return E_NOTIMPL;
}
typedef struct {
IWMProfileManager IWMProfileManager_iface;
LONG ref;

View File

@ -1893,6 +1893,10 @@ cpp_quote("HRESULT WINAPI WMCheckURLScheme(LPCWSTR);")
cpp_quote("HRESULT WINAPI WMCreateWriter(IUnknown*,IWMWriter**);")
cpp_quote("HRESULT WINAPI WMCreateReader(IUnknown*,DWORD,IWMReader**);")
cpp_quote("HRESULT WINAPI WMCreateSyncReader(IUnknown*,DWORD,IWMSyncReader**);")
cpp_quote("HRESULT WINAPI WMCreateEditor(IWMMetadataEditor**);")
cpp_quote("HRESULT WINAPI WMCreateBackupRestorer(IUnknown*,IWMLicenseBackup**);")
cpp_quote("HRESULT WINAPI WMCreateProfileManager(IWMProfileManager**);")
cpp_quote("EXTERN_GUID(WMMEDIASUBTYPE_Base, 0x00000000,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")
cpp_quote("EXTERN_GUID(WMMEDIATYPE_Video, 0x73646976,0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71);")