ReactOS 0.4.15-dev-8127-g6338913
main.c
Go to the documentation of this file.
1/*
2 * Copyright 2014 Hans Leidekker for CodeWeavers
3 *
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.
8 *
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.
13 *
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
17 */
18
19#ifndef __REACTOS__
20#include "config.h"
21#endif
22#include <stdarg.h>
23#include "windef.h"
24#include "winbase.h"
25#include "vss.h"
26#include "vswriter.h"
27#include "vsbackup.h"
28#include "wine/asm.h"
29#include "wine/debug.h"
30
31#ifdef __REACTOS__
32#ifdef _MSC_VER
33#define __thiscall __stdcall
34#endif
35#endif
36
38
40{
41 void **vtable;
42};
43
44/******************************************************************
45 * ??0CVssWriter@@QAE@XZ (VSSAPI.@)
46 */
48{
49 FIXME( "%p\n", writer );
50 writer->vtable = NULL;
51 return writer;
52}
54
55/******************************************************************
56 * ??1CVssWriter@@UAE@XZ (VSSAPI.@)
57 */
59{
60 FIXME( "%p\n", writer );
61}
63
64/******************************************************************
65 * ?Initialize@CVssWriter@@QAGJU_GUID@@PBGW4VSS_USAGE_TYPE@@W4VSS_SOURCE_TYPE@@W4_VSS_APPLICATION_LEVEL@@KW4VSS_ALTERNATE_WRITER_STATE@@_N@Z
66 */
68 LPCWSTR name, VSS_USAGE_TYPE usage_type, VSS_SOURCE_TYPE source_type,
70 BOOL throttle, LPCWSTR instance )
71{
72 FIXME( "%p, %s, %s, %u, %u, %u, %u, %u, %d, %s\n", writer, debugstr_guid(&id),
73 debugstr_w(name), usage_type, source_type, level, timeout, alt_writer_state,
74 throttle, debugstr_w(instance) );
75 return S_OK;
76}
78
79/******************************************************************
80 * ?Subscribe@CVssWriter@@QAGJK@Z
81 */
83{
84 FIXME( "%p, %x\n", writer, flags );
85 return S_OK;
86}
88
89/******************************************************************
90 * ?Unsubscribe@CVssWriter@@QAGJXZ
91 */
93{
94 FIXME( "%p\n", writer );
95 return S_OK;
96}
98
100{
101 FIXME("%p\n", backup);
102 return E_NOTIMPL;
103}
104
105/******************************************************************
106 * ?CreateVssBackupComponents@@YGJPAPAVIVssBackupComponents@@@Z
107 */
109{
110 FIXME( "%p\n", backup );
111
113}
static long backup()
Definition: maze.c:403
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
Definition: precomp.h:23
#define FIXME(fmt,...)
Definition: debug.h:114
#define E_NOTIMPL
Definition: ddrawi.h:99
#define NULL
Definition: types.h:112
static HINSTANCE instance
Definition: main.c:40
struct CVssWriter *__thiscall VSSAPI_CVssWriter_default_ctor(struct CVssWriter *writer)
Definition: main.c:47
HRESULT __thiscall VSSAPI_CVssWriter_Unsubscribe(struct CVssWriter *writer)
Definition: main.c:92
void __thiscall VSSAPI_CVssWriter_dtor(struct CVssWriter *writer)
Definition: main.c:58
HRESULT WINAPI CreateVssBackupComponentsInternal(IVssBackupComponents **backup)
Definition: main.c:99
HRESULT WINAPI VSSAPI_CreateVssBackupComponents(IVssBackupComponents **backup)
Definition: main.c:108
HRESULT __thiscall VSSAPI_CVssWriter_Subscribe(struct CVssWriter *writer, DWORD flags)
Definition: main.c:82
HRESULT __thiscall VSSAPI_CVssWriter_Initialize(struct CVssWriter *writer, VSS_ID id, LPCWSTR name, VSS_USAGE_TYPE usage_type, VSS_SOURCE_TYPE source_type, VSS_APPLICATION_LEVEL level, DWORD timeout, VSS_ALTERNATE_WRITER_STATE alt_writer_state, BOOL throttle, LPCWSTR instance)
Definition: main.c:67
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
GLint level
Definition: gl.h:1546
GLbitfield flags
Definition: glext.h:7161
#define S_OK
Definition: intsafe.h:52
#define debugstr_guid
Definition: kernel32.h:35
#define debugstr_w
Definition: kernel32.h:32
#define __thiscall
Definition: cpp.c:43
#define DEFINE_THISCALL_WRAPPER(func, args)
Definition: msvc-thiscall.c:2
void ** vtable
Definition: main.c:41
Definition: name.c:39
Definition: dhcpd.h:245
enum _VSS_APPLICATION_LEVEL VSS_APPLICATION_LEVEL
VSS_ALTERNATE_WRITER_STATE
Definition: vswriter.idl:38
VSS_SOURCE_TYPE
Definition: vswriter.idl:30
VSS_USAGE_TYPE
Definition: vswriter.idl:21
#define WINAPI
Definition: msvc.h:6
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185