msxml3: Suppress IID_IRunnableObject FIXME since its not supported.
[wine.git] / dlls / itss / itsstor.h
blobd134725406b2828bf397e329c8abeb344c7a7b66
1 /*
2 * ITSS Storage implementation
4 * Copyright 2004 Mike McCormack
6 * see http://bonedaddy.net/pabs3/hhm/#chmspec
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
23 #ifndef __WINE_ITS_STORAGE_PRIVATE__
24 #define __WINE_ITS_STORAGE_PRIVATE__
26 extern HRESULT ITSS_StgOpenStorage(
27 const WCHAR* pwcsName,
28 IStorage* pstgPriority,
29 DWORD grfMode,
30 SNB snbExclude,
31 DWORD reserved,
32 IStorage** ppstgOpen);
34 extern HRESULT ITS_IParseDisplayName_create(
35 IUnknown *pUnkOuter,
36 LPVOID *ppObj);
38 extern HRESULT ITSProtocol_create(IUnknown *pUnkOuter, LPVOID *ppobj);
40 extern LONG dll_count;
41 static inline void ITSS_LockModule(void) { InterlockedIncrement(&dll_count); }
42 static inline void ITSS_UnlockModule(void) { InterlockedDecrement(&dll_count); }
44 #define DEFINE_THIS(cls,ifc,iface) ((cls*)((BYTE*)(iface)-offsetof(cls,lp ## ifc ## Vtbl)))
46 #endif /* __WINE_ITS_STORAGE_PRIVATE__ */