ReactOS 0.4.17-dev-966-gf06eace
itsstor.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

HRESULT ITSS_StgOpenStorage (const WCHAR *pwcsName, IStorage *pstgPriority, DWORD grfMode, SNB snbExclude, DWORD reserved, IStorage **ppstgOpen)
 
HRESULT ITS_IParseDisplayName_create (IUnknown *pUnkOuter, LPVOID *ppObj)
 
HRESULT ITSProtocol_create (IUnknown *pUnkOuter, LPVOID *ppobj)
 
static void ITSS_LockModule (void)
 
static void ITSS_UnlockModule (void)
 

Variables

LONG dll_count
 

Function Documentation

◆ ITS_IParseDisplayName_create()

HRESULT ITS_IParseDisplayName_create ( IUnknown *  pUnkOuter,
LPVOID *  ppObj 
)

Definition at line 469 of file moniker.c.

470{
472
473 if( pUnkOuter )
475
478 its->ref = 1;
479
480 TRACE("-> %p\n", its);
481 *ppObj = its;
482
484 return S_OK;
485}
#define GetProcessHeap()
Definition: compat.h:736
#define HeapAlloc
Definition: compat.h:733
static const IParseDisplayNameVtbl ITS_IParseDisplayNameImpl_Vtbl
Definition: moniker.c:461
#define S_OK
Definition: intsafe.h:52
static void ITSS_LockModule(void)
Definition: itsstor.h:39
#define TRACE(s)
Definition: solgame.cpp:4
IParseDisplayName IParseDisplayName_iface
Definition: moniker.c:375
#define CLASS_E_NOAGGREGATION
Definition: winerror.h:3771

◆ ITSProtocol_create()

HRESULT ITSProtocol_create ( IUnknown *  pUnkOuter,
LPVOID *  ppobj 
)

◆ ITSS_LockModule()

static void ITSS_LockModule ( void  )
inlinestatic

◆ ITSS_StgOpenStorage()

HRESULT ITSS_StgOpenStorage ( const WCHAR *  pwcsName,
IStorage *  pstgPriority,
DWORD  grfMode,
SNB  snbExclude,
DWORD  reserved,
IStorage **  ppstgOpen 
)

Definition at line 633 of file storage.c.

640{
641 struct chmFile *chmfile;
642
643 TRACE("%s\n", debugstr_w(pwcsName) );
644
645 chmfile = chm_openW( pwcsName );
646 if( !chmfile )
647 return E_FAIL;
648
649 return ITSS_create_chm_storage( chmfile, L"/", ppstgOpen );
650}
struct chmFile * chm_openW(const WCHAR *filename)
Definition: chm_lib.c:653
#define E_FAIL
Definition: ddrawi.h:102
#define L(x)
Definition: resources.c:13
static HRESULT ITSS_create_chm_storage(struct chmFile *chmfile, const WCHAR *dir, IStorage **ppstgOpen)
Definition: storage.c:613
#define debugstr_w
Definition: kernel32.h:32

Referenced by ITS_IMonikerImpl_BindToStorage(), ITStorageImpl_StgCreateDocfile(), and ITStorageImpl_StgOpenStorage().

◆ ITSS_UnlockModule()

Variable Documentation

◆ dll_count

LONG dll_count
extern