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
20 #pragma makedep header install
25 typedef struct _ITS_Control_Data
28 UINT adwControlData
[1];
30 } ITS_Control_Data
, *PITS_Control_Data
;
32 typedef enum ECompactionLev
{
39 uuid(88cc31de
-27ab
-11d0
-9df9
-00a0c922e6ec
),
40 pointer_default(unique)
42 interface IITStorage
: IUnknown
44 HRESULT StgCreateDocfile
(
45 [in] const WCHAR
* pwcsName
,
48 [out] IStorage
** ppstgOpen
);
50 HRESULT StgCreateDocfileOnILockBytes
(
51 [in] ILockBytes
* plkbyt
,
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
,
69 [out] IStorage
** ppstgOpen
);
71 HRESULT StgOpenStorageOnILockBytes
(
72 [in] ILockBytes
* plkbyt
,
73 [in] IStorage
* pStgPriority
,
77 [out] IStorage
** ppstgOpen
);
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
);
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);")