[INCLUDE/WINE] Add __FINALLY_CTX in the context of our PSEH library. CORE-16441
[reactos.git] / sdk / include / reactos / wine / itss.idl
1 /*
2 * Copyright (C) 2004 Mike McCormack
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 import "oaidl.idl";
20
21 typedef struct _ITS_Control_Data
22 {
23 UINT cdwControlData;
24 UINT adwControlData[1];
25
26 } ITS_Control_Data, *PITS_Control_Data;
27
28 typedef enum ECompactionLev {
29 COMPACT_DATA = 0,
30 COMPACT_DATA_AND_PATH
31 } ECompactionLev;
32
33 [
34 object,
35 uuid(88cc31de-27ab-11d0-9df9-00a0c922e6ec),
36 pointer_default(unique)
37 ]
38 interface IITStorage : IUnknown
39 {
40 HRESULT StgCreateDocfile(
41 [in] const WCHAR * pwcsName,
42 [in] DWORD grfMode,
43 [in] DWORD reserved,
44 [out] IStorage ** ppstgOpen);
45
46 HRESULT StgCreateDocfileOnILockBytes(
47 [in] ILockBytes * plkbyt,
48 [in] DWORD grfMode,
49 [in] DWORD reserved,
50 [out] IStorage ** ppstgOpen);
51
52
53 HRESULT StgIsStorageFile(
54 [in] const WCHAR * pwcsName);
55
56 HRESULT StgIsStorageILockBytes(
57 [in] ILockBytes * plkbyt);
58
59 HRESULT StgOpenStorage(
60 [in] const WCHAR * pwcsName,
61 [in] IStorage * pstgPriority,
62 [in] DWORD grfMode,
63 [in] SNB snbExclude,
64 [in] DWORD reserved,
65 [out] IStorage ** ppstgOpen);
66
67 HRESULT StgOpenStorageOnILockBytes(
68 [in] ILockBytes * plkbyt,
69 [in] IStorage * pStgPriority,
70 [in] DWORD grfMode,
71 [in] SNB snbExclude,
72 [in] DWORD reserved,
73 [out] IStorage ** ppstgOpen);
74
75 HRESULT StgSetTimes(
76 [in] WCHAR const * lpszName,
77 [in] FILETIME const * pctime,
78 [in] FILETIME const * patime,
79 [in] FILETIME const * pmtime);
80
81 HRESULT SetControlData(
82 [in] PITS_Control_Data pControlData);
83
84 HRESULT DefaultControlData(
85 [out] PITS_Control_Data * ppControlData);
86
87 HRESULT Compact(
88 [in] const WCHAR * pwcsName,
89 [in] ECompactionLev iLev);
90 }
91
92 cpp_quote("DEFINE_GUID(CLSID_ITStorage,0x5d02926a,0x212e,0x11d0,0x9d,0xf9,0x00,0xa0,0xc9,0x22,0xe6,0xec);")
93 cpp_quote("DEFINE_GUID(CLSID_MSFSStore,0xd54eee56,0xaaab,0x11d0,0x9e,0x1d,0x00,0xa0,0xc9,0x22,0xe6,0xec);")
94 cpp_quote("DEFINE_GUID(CLSID_MSITStore,0x9d148290,0xb9c8,0x11d0,0xa4,0xcc,0x00,0x00,0xf8,0x01,0x49,0xf6);")
95 cpp_quote("DEFINE_GUID(CLSID_ITSProtocol,0x9d148291,0xb9c8,0x11d0,0xa4,0xcc,0x00,0x00,0xf8,0x01,0x49,0xf6);")