winewayland.drv: Ensure outputs can access xdg information robustly.
[wine.git] / include / wine / itss.idl
blobe0ae4e7be367dbb9d188d2553bb357b0c30920d8
1 /*
2 * Copyright (C) 2004 Mike McCormack
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 #if 0
20 #pragma makedep header install
21 #endif
23 import "oaidl.idl";
25 typedef struct _ITS_Control_Data
27 UINT cdwControlData;
28 UINT adwControlData[1];
30 } ITS_Control_Data, *PITS_Control_Data;
32 typedef enum ECompactionLev {
33 COMPACT_DATA = 0,
34 COMPACT_DATA_AND_PATH
35 } ECompactionLev;
38 object,
39 uuid(88cc31de-27ab-11d0-9df9-00a0c922e6ec),
40 pointer_default(unique)
42 interface IITStorage : IUnknown
44 HRESULT StgCreateDocfile(
45 [in] const WCHAR * pwcsName,
46 [in] DWORD grfMode,
47 [in] DWORD reserved,
48 [out] IStorage ** ppstgOpen);
50 HRESULT StgCreateDocfileOnILockBytes(
51 [in] ILockBytes * plkbyt,
52 [in] DWORD grfMode,
53 [in] DWORD reserved,
54 [out] IStorage ** ppstgOpen);
57 HRESULT StgIsStorageFile(
58 [in] const WCHAR * pwcsName);
60 HRESULT StgIsStorageILockBytes(
61 [in] ILockBytes * plkbyt);
63 HRESULT StgOpenStorage(
64 [in] const WCHAR * pwcsName,
65 [in] IStorage * pstgPriority,
66 [in] DWORD grfMode,
67 [in] SNB snbExclude,
68 [in] DWORD reserved,
69 [out] IStorage ** ppstgOpen);
71 HRESULT StgOpenStorageOnILockBytes(
72 [in] ILockBytes * plkbyt,
73 [in] IStorage * pStgPriority,
74 [in] DWORD grfMode,
75 [in] SNB snbExclude,
76 [in] DWORD reserved,
77 [out] IStorage ** ppstgOpen);
79 HRESULT StgSetTimes(
80 [in] WCHAR const * lpszName,
81 [in] FILETIME const * pctime,
82 [in] FILETIME const * patime,
83 [in] FILETIME const * pmtime);
85 HRESULT SetControlData(
86 [in] PITS_Control_Data pControlData);
88 HRESULT DefaultControlData(
89 [out] PITS_Control_Data * ppControlData);
91 HRESULT Compact(
92 [in] const WCHAR * pwcsName,
93 [in] ECompactionLev iLev);
96 cpp_quote("DEFINE_GUID(CLSID_ITStorage,0x5d02926a,0x212e,0x11d0,0x9d,0xf9,0x00,0xa0,0xc9,0x22,0xe6,0xec);")
97 cpp_quote("DEFINE_GUID(CLSID_MSFSStore,0xd54eee56,0xaaab,0x11d0,0x9e,0x1d,0x00,0xa0,0xc9,0x22,0xe6,0xec);")
98 cpp_quote("DEFINE_GUID(CLSID_MSITStore,0x9d148290,0xb9c8,0x11d0,0xa4,0xcc,0x00,0x00,0xf8,0x01,0x49,0xf6);")
99 cpp_quote("DEFINE_GUID(CLSID_ITSProtocol,0x9d148291,0xb9c8,0x11d0,0xa4,0xcc,0x00,0x00,0xf8,0x01,0x49,0xf6);")