mshtml: Implement onprogress for XMLHttpRequest.
[wine.git] / dlls / vssapi / main.c
blobc6abead785035bda4a442ca7c050137a2516af0f
1 /*
2 * Copyright 2014 Hans Leidekker for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #include <stdarg.h>
20 #include "windef.h"
21 #include "winbase.h"
22 #include "vss.h"
23 #include "vswriter.h"
24 #include "vsbackup.h"
25 #include "wine/asm.h"
26 #include "wine/debug.h"
28 WINE_DEFAULT_DEBUG_CHANNEL( vssapi );
30 struct CVssWriter
32 void **vtable;
35 /******************************************************************
36 * ??0CVssWriter@@QAE@XZ (VSSAPI.@)
38 DEFINE_THISCALL_WRAPPER( VSSAPI_CVssWriter_default_ctor, 4 )
39 struct CVssWriter * __thiscall VSSAPI_CVssWriter_default_ctor( struct CVssWriter *writer )
41 FIXME( "%p\n", writer );
42 writer->vtable = NULL;
43 return writer;
46 /******************************************************************
47 * ??1CVssWriter@@UAE@XZ (VSSAPI.@)
49 DEFINE_THISCALL_WRAPPER( VSSAPI_CVssWriter_dtor, 4 )
50 void __thiscall VSSAPI_CVssWriter_dtor( struct CVssWriter *writer )
52 FIXME( "%p\n", writer );
55 /******************************************************************
56 * ?Initialize@CVssWriter@@QAGJU_GUID@@PBGW4VSS_USAGE_TYPE@@W4VSS_SOURCE_TYPE@@W4_VSS_APPLICATION_LEVEL@@KW4VSS_ALTERNATE_WRITER_STATE@@_N@Z
58 DEFINE_THISCALL_WRAPPER( VSSAPI_CVssWriter_Initialize, 52 )
59 HRESULT __thiscall VSSAPI_CVssWriter_Initialize( struct CVssWriter *writer, VSS_ID id,
60 LPCWSTR name, VSS_USAGE_TYPE usage_type, VSS_SOURCE_TYPE source_type,
61 VSS_APPLICATION_LEVEL level, DWORD timeout, VSS_ALTERNATE_WRITER_STATE alt_writer_state,
62 BOOL throttle, LPCWSTR instance )
64 FIXME( "%p, %s, %s, %u, %u, %u, %lu, %u, %d, %s\n", writer, debugstr_guid(&id),
65 debugstr_w(name), usage_type, source_type, level, timeout, alt_writer_state,
66 throttle, debugstr_w(instance) );
67 return S_OK;
70 /******************************************************************
71 * ?Subscribe@CVssWriter@@QAGJK@Z
73 DEFINE_THISCALL_WRAPPER( VSSAPI_CVssWriter_Subscribe, 8 )
74 HRESULT __thiscall VSSAPI_CVssWriter_Subscribe( struct CVssWriter *writer, DWORD flags )
76 FIXME( "%p, %lx\n", writer, flags );
77 return S_OK;
80 /******************************************************************
81 * ?Unsubscribe@CVssWriter@@QAGJXZ
83 DEFINE_THISCALL_WRAPPER( VSSAPI_CVssWriter_Unsubscribe, 4 )
84 HRESULT __thiscall VSSAPI_CVssWriter_Unsubscribe( struct CVssWriter *writer )
86 FIXME( "%p\n", writer );
87 return S_OK;
90 HRESULT WINAPI CreateVssBackupComponentsInternal(IVssBackupComponents **backup)
92 FIXME("%p\n", backup);
93 return E_NOTIMPL;
96 /******************************************************************
97 * ?CreateVssBackupComponents@@YGJPAPAVIVssBackupComponents@@@Z
99 HRESULT WINAPI VSSAPI_CreateVssBackupComponents( IVssBackupComponents **backup )
101 FIXME( "%p\n", backup );
103 return CreateVssBackupComponentsInternal(backup);