- Pass infoPtr around in month calendar control.
[wine/gsoc_dplay.git] / dlls / itss / itss.idl
blobb1c1cb578ce111c91edc31e61f984aa2cb6ed9fd
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 import "oaidl.idl";
21 typedef struct _ITS_Control_Data
23 UINT cdwControlData;
24 UINT adwControlData[1];
26 } ITS_Control_Data, *PITS_Control_Data;
28 typedef enum ECompactionLev {
29 COMPACT_DATA = 0,
30 COMPACT_DATA_AND_PATH
31 } ECompactionLev;
34 object,
35 pointer_default(unique)
37 interface IITStorage : IUnknown
39 HRESULT StgCreateDocfile(
40 [in] const WCHAR * pwcsName,
41 [in] DWORD grfMode,
42 [in] DWORD reserved,
43 [out] IStorage ** ppstgOpen);
45 HRESULT StgCreateDocfileOnILockBytes(
46 [in] ILockBytes * plkbyt,
47 [in] DWORD grfMode,
48 [in] DWORD reserved,
49 [out] IStorage ** ppstgOpen);
52 HRESULT StgIsStorageFile(
53 [in] const WCHAR * pwcsName);
55 HRESULT StgIsStorageILockBytes(
56 [in] ILockBytes * plkbyt);
58 HRESULT StgOpenStorage(
59 [in] const WCHAR * pwcsName,
60 [in] IStorage * pstgPriority,
61 [in] DWORD grfMode,
62 [in] SNB snbExclude,
63 [in] DWORD reserved,
64 [out] IStorage ** ppstgOpen);
66 HRESULT StgOpenStorageOnILockBytes(
67 [in] ILockBytes * plkbyt,
68 [in] IStorage * pStgPriority,
69 [in] DWORD grfMode,
70 [in] SNB snbExclude,
71 [in] DWORD reserved,
72 [out] IStorage ** ppstgOpen);
74 HRESULT StgSetTimes(
75 [in] WCHAR const * lpszName,
76 [in] FILETIME const * pctime,
77 [in] FILETIME const * patime,
78 [in] FILETIME const * pmtime);
80 HRESULT SetControlData(
81 [in] PITS_Control_Data pControlData);
83 HRESULT DefaultControlData(
84 [out] PITS_Control_Data * ppControlData);
86 HRESULT Compact(
87 [in] const WCHAR * pwcsName,
88 [in] ECompactionLev iLev);
91 cpp_quote("DEFINE_GUID(CLSID_ITStorage,0x5d02926a,0x212e,0x11d0,0x9d,0xf9,0x00,0xa0,0xc9,0x22,0xe6,0xec );");
92 cpp_quote("DEFINE_GUID(IID_IITStorage, 0x88cc31de, 0x27ab, 0x11d0, 0x9d, 0xf9, 0x0, 0xa0, 0xc9, 0x22, 0xe6, 0xec);");