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 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; 33 34 extern HRESULT ITS_IParseDisplayName_create( 35 IUnknown *pUnkOuter, 36 LPVOID *ppObj) DECLSPEC_HIDDEN; 37 38 extern HRESULT ITSProtocol_create(IUnknown *pUnkOuter, LPVOID *ppobj) DECLSPEC_HIDDEN; 39 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); } 43 44 #endif /* __WINE_ITS_STORAGE_PRIVATE__ */ 45