ReactOS 0.4.16-dev-306-g647d351
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) DECLSPEC_HIDDEN
 
HRESULT ITS_IParseDisplayName_create (IUnknown *pUnkOuter, LPVOID *ppObj) DECLSPEC_HIDDEN
 
HRESULT ITSProtocol_create (IUnknown *pUnkOuter, LPVOID *ppobj) DECLSPEC_HIDDEN
 
static void ITSS_LockModule (void)
 
static void ITSS_UnlockModule (void)
 

Variables

LONG dll_count DECLSPEC_HIDDEN
 

Function Documentation

◆ ITS_IParseDisplayName_create()

HRESULT ITS_IParseDisplayName_create ( IUnknown pUnkOuter,
LPVOID ppObj 
)

Definition at line 472 of file moniker.c.

473{
475
476 if( pUnkOuter )
478
481 its->ref = 1;
482
483 TRACE("-> %p\n", its);
484 *ppObj = its;
485
487 return S_OK;
488}
#define GetProcessHeap()
Definition: compat.h:736
#define HeapAlloc
Definition: compat.h:733
static const IParseDisplayNameVtbl ITS_IParseDisplayNameImpl_Vtbl
Definition: moniker.c:464
#define S_OK
Definition: intsafe.h:52
static void ITSS_LockModule(void)
Definition: itsstor.h:41
#define TRACE(s)
Definition: solgame.cpp:4
IParseDisplayName IParseDisplayName_iface
Definition: moniker.c:377
#define CLASS_E_NOAGGREGATION
Definition: winerror.h:2662

◆ 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 static const WCHAR szRoot[] = { '/', 0 };
643
644 TRACE("%s\n", debugstr_w(pwcsName) );
645
646 chmfile = chm_openW( pwcsName );
647 if( !chmfile )
648 return E_FAIL;
649
650 return ITSS_create_chm_storage( chmfile, szRoot, ppstgOpen );
651}
struct chmFile * chm_openW(const WCHAR *filename)
Definition: chm_lib.c:678
#define E_FAIL
Definition: ddrawi.h:102
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
__wchar_t WCHAR
Definition: xmlstorage.h:180

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

◆ ITSS_UnlockModule()

Variable Documentation

◆ DECLSPEC_HIDDEN

LONG dll_count DECLSPEC_HIDDEN
extern

Definition at line 289 of file d3dcompiler_private.h.