dinput: Avoid deadlock when CS are acquired in different order.
[wine.git] / include / vswriter.idl
blob9d7d4dcf6a03ca6fce1e509eb659a8737be1b5a3
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
18 import "oaidl.idl";
20 typedef enum
22 VSS_UT_UNDEFINED,
23 VSS_UT_BOOTABLESYSTEMSTATE,
24 VSS_UT_SYSTEMSERVICE,
25 VSS_UT_USERDATA,
26 VSS_UT_OTHER
27 } VSS_USAGE_TYPE;
29 typedef enum
31 VSS_ST_UNDEFINED,
32 VSS_ST_TRANSACTEDDB,
33 VSS_ST_NONTRANSACTEDDB,
34 VSS_ST_OTHER
35 } VSS_SOURCE_TYPE;
37 typedef enum
39 VSS_AWS_UNDEFINED,
40 VSS_AWS_NO_ALTERNATE_WRITER,
41 VSS_AWS_ALTERNATE_WRITER_EXISTS,
42 VSS_AWS_THIS_IS_ALTERNATE_WRITER
43 } VSS_ALTERNATE_WRITER_STATE;
45 typedef enum VSS_COMPONENT_TYPE
47 VSS_CT_UNDEFINED,
48 VSS_CT_DATABASE,
49 VSS_CT_FILEGROUP
50 } VSS_COMPONENT_TYPE;
52 typedef enum VSS_FILE_RESTORE_STATUS
54 VSS_RS_UNDEFINED,
55 VSS_RS_NONE,
56 VSS_RS_ALL,
57 VSS_RS_FAILED
58 } VSS_FILE_RESTORE_STATUS;