include: Add event trace flags and guid to evntrace.h.
[wine.git] / dlls / itss / itsstor.h
blobf4fa72b216b311727ddccc5a546e55d3b5f73595
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) DECLSPEC_HIDDEN;
34 extern HRESULT ITS_IParseDisplayName_create(
35 IUnknown *pUnkOuter,
36 LPVOID *ppObj) DECLSPEC_HIDDEN;
38 extern HRESULT ITSProtocol_create(IUnknown *pUnkOuter, LPVOID *ppobj) DECLSPEC_HIDDEN;
40 extern LONG dll_count DECLSPEC_HIDDEN;
41 static inline void ITSS_LockModule(void) { InterlockedIncrement(&dll_count); }
42 static inline void ITSS_UnlockModule(void) { InterlockedDecrement(&dll_count); }
44 #endif /* __WINE_ITS_STORAGE_PRIVATE__ */