ReactOS  0.4.15-dev-3316-g067ca88
itsstor.h
Go to the documentation of this file.
1 /*
2  * ITSS Storage implementation
3  *
4  * Copyright 2004 Mike McCormack
5  *
6  * see http://bonedaddy.net/pabs3/hhm/#chmspec
7  *
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.
12  *
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.
17  *
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
21  */
22 
23 #ifndef __WINE_ITS_STORAGE_PRIVATE__
24 #define __WINE_ITS_STORAGE_PRIVATE__
25 
27  const WCHAR* pwcsName,
28  IStorage* pstgPriority,
29  DWORD grfMode,
30  SNB snbExclude,
32  IStorage** ppstgOpen) DECLSPEC_HIDDEN;
33 
35  IUnknown *pUnkOuter,
36  LPVOID *ppObj) DECLSPEC_HIDDEN;
37 
38 extern HRESULT ITSProtocol_create(IUnknown *pUnkOuter, LPVOID *ppobj) DECLSPEC_HIDDEN;
39 
41 static inline void ITSS_LockModule(void) { InterlockedIncrement(&dll_count); }
42 static inline void ITSS_UnlockModule(void) { InterlockedDecrement(&dll_count); }
43 
44 #endif /* __WINE_ITS_STORAGE_PRIVATE__ */
static void ITSS_LockModule(void)
Definition: itsstor.h:41
HRESULT ITSProtocol_create(IUnknown *pUnkOuter, LPVOID *ppobj) DECLSPEC_HIDDEN
LONG dll_count DECLSPEC_HIDDEN
static void ITSS_UnlockModule(void)
Definition: itsstor.h:42
HRESULT ITS_IParseDisplayName_create(IUnknown *pUnkOuter, LPVOID *ppObj) DECLSPEC_HIDDEN
Definition: moniker.c:472
long LONG
Definition: pedump.c:60
r reserved
Definition: btrfs.c:2940
__wchar_t WCHAR
Definition: xmlstorage.h:180
LONG HRESULT
Definition: typedefs.h:79
unsigned long DWORD
Definition: ntddk_ex.h:95
HRESULT ITSS_StgOpenStorage(const WCHAR *pwcsName, IStorage *pstgPriority, DWORD grfMode, SNB snbExclude, DWORD reserved, IStorage **ppstgOpen) DECLSPEC_HIDDEN
Definition: storage.c:633
#define InterlockedDecrement
Definition: armddk.h:52
#define InterlockedIncrement
Definition: armddk.h:53
LONG dll_count
Definition: itss.c:49