ReactOS 0.4.17-dev-934-g091855f
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);
33
34extern HRESULT ITS_IParseDisplayName_create(IUnknown *pUnkOuter, LPVOID *ppObj);
35
36extern HRESULT ITSProtocol_create(IUnknown *pUnkOuter, LPVOID *ppobj);
37
38extern LONG dll_count;
39static inline void ITSS_LockModule(void) { InterlockedIncrement(&dll_count); }
40static inline void ITSS_UnlockModule(void) { InterlockedDecrement(&dll_count); }
41
42#endif /* __WINE_ITS_STORAGE_PRIVATE__ */
#define InterlockedIncrement
Definition: armddk.h:53
#define InterlockedDecrement
Definition: armddk.h:52
r reserved
Definition: btrfs.c:3006
unsigned long DWORD
Definition: ntddk_ex.h:95
HRESULT ITSProtocol_create(IUnknown *pUnkOuter, LPVOID *ppobj)
static void ITSS_LockModule(void)
Definition: itsstor.h:39
static void ITSS_UnlockModule(void)
Definition: itsstor.h:40
HRESULT ITSS_StgOpenStorage(const WCHAR *pwcsName, IStorage *pstgPriority, DWORD grfMode, SNB snbExclude, DWORD reserved, IStorage **ppstgOpen)
Definition: storage.c:633
LONG dll_count
Definition: itss.c:49
HRESULT ITS_IParseDisplayName_create(IUnknown *pUnkOuter, LPVOID *ppObj)
Definition: moniker.c:469
short WCHAR
Definition: pedump.c:58
long LONG
Definition: pedump.c:60