66 IMoniker_AddRef(iface);
105 *pClassID = CLSID_ITStorage;
174 r = IStorage_OpenStream( stg,
This->szHtml,
177 r = IStorage_OpenStorage( stg,
This->szHtml,
181 IStorage_Release( stg );
190 DWORD dwReduceHowFar,
201 BOOL fOnlyIfNotGeneric,
286 static const WCHAR szFormat[] = {
287 'm',
's',
'-',
'i',
't',
's',
':',
'%',
's',
':',
':',
'%',
's',0 };
291 TRACE(
"%p %p %p %p\n", iface, pbc, pmkToLeft, ppszDisplayName);
297 *ppszDisplayName =
str;
363 while( *itsmon->
szHtml ==
':' )
366 TRACE(
"-> %p %s %s\n", itsmon,
396 IParseDisplayName_AddRef(iface);
434 static const WCHAR szPrefix[] = {
435 '@',
'M',
'S',
'I',
'T',
'S',
't',
'o',
'r',
'e',
':',0 };
442 debugstr_w( pszDisplayName ), pchEaten, ppmkOut );
444 if(
_wcsnicmp( pszDisplayName, szPrefix, prefix_len ) )
448 for(
n =
lstrlenW( pszDisplayName ) - 3; prefix_len <=
n;
n-- )
449 if( ( pszDisplayName[
n] ==
':' ) && ( pszDisplayName[
n+1] ==
':' ) )
455 if( !pszDisplayName[
n+2] )
458 *pchEaten =
lstrlenW( pszDisplayName ) -
n - 3;
461 &pszDisplayName[prefix_len],
n-prefix_len );
483 TRACE(
"-> %p\n", its);
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define HeapFree(x, y, z)
static HRESULT WINAPI ITS_IMonikerImpl_GetSizeMax(IMoniker *iface, ULARGE_INTEGER *pcbSize)
static HRESULT WINAPI ITS_IMonikerImpl_GetClassID(IMoniker *iface, CLSID *pClassID)
static ITS_IMonikerImpl * impl_from_IMoniker(IMoniker *iface)
static HRESULT WINAPI ITS_IMonikerImpl_Enum(IMoniker *iface, BOOL fForward, IEnumMoniker **ppenumMoniker)
static HRESULT WINAPI ITS_IMonikerImpl_BindToObject(IMoniker *iface, IBindCtx *pbc, IMoniker *pmkToLeft, REFIID riidResult, void **ppvResult)
static HRESULT WINAPI ITS_IMonikerImpl_GetTimeOfLastChange(IMoniker *iface, IBindCtx *pbc, IMoniker *pmkToLeft, FILETIME *pFileTime)
static HRESULT WINAPI ITS_IParseDisplayNameImpl_QueryInterface(IParseDisplayName *iface, REFIID riid, void **ppvObject)
static const IMonikerVtbl ITS_IMonikerImpl_Vtbl
static const IParseDisplayNameVtbl ITS_IParseDisplayNameImpl_Vtbl
static HRESULT WINAPI ITS_IMonikerImpl_GetDisplayName(IMoniker *iface, IBindCtx *pbc, IMoniker *pmkToLeft, LPOLESTR *ppszDisplayName)
static HRESULT WINAPI ITS_IMonikerImpl_IsDirty(IMoniker *iface)
static HRESULT WINAPI ITS_IMonikerImpl_Hash(IMoniker *iface, DWORD *pdwHash)
static ULONG WINAPI ITS_IParseDisplayNameImpl_AddRef(IParseDisplayName *iface)
static HRESULT WINAPI ITS_IMonikerImpl_IsSystemMoniker(IMoniker *iface, DWORD *pdwMksys)
static ULONG WINAPI ITS_IMonikerImpl_AddRef(IMoniker *iface)
static HRESULT WINAPI ITS_IMonikerImpl_IsRunning(IMoniker *iface, IBindCtx *pbc, IMoniker *pmkToLeft, IMoniker *pmkNewlyRunning)
static ULONG WINAPI ITS_IParseDisplayNameImpl_Release(IParseDisplayName *iface)
static HRESULT WINAPI ITS_IMonikerImpl_IsEqual(IMoniker *iface, IMoniker *pmkOtherMoniker)
static HRESULT WINAPI ITS_IMonikerImpl_Reduce(IMoniker *iface, IBindCtx *pbc, DWORD dwReduceHowFar, IMoniker **ppmkToLeft, IMoniker **ppmkReduced)
static HRESULT WINAPI ITS_IMonikerImpl_ComposeWith(IMoniker *iface, IMoniker *pmkRight, BOOL fOnlyIfNotGeneric, IMoniker **ppmkComposite)
static HRESULT WINAPI ITS_IMonikerImpl_ParseDisplayName(IMoniker *iface, IBindCtx *pbc, IMoniker *pmkToLeft, LPOLESTR pszDisplayName, ULONG *pchEaten, IMoniker **ppmkOut)
static ITS_IParseDisplayNameImpl * impl_from_IParseDisplayName(IParseDisplayName *iface)
static HRESULT WINAPI ITS_IParseDisplayNameImpl_ParseDisplayName(IParseDisplayName *iface, IBindCtx *pbc, LPOLESTR pszDisplayName, ULONG *pchEaten, IMoniker **ppmkOut)
static HRESULT WINAPI ITS_IMonikerImpl_Load(IMoniker *iface, IStream *pStm)
static HRESULT WINAPI ITS_IMonikerImpl_QueryInterface(IMoniker *iface, REFIID riid, void **ppvObject)
static HRESULT WINAPI ITS_IMonikerImpl_Inverse(IMoniker *iface, IMoniker **ppmk)
static HRESULT WINAPI ITS_IMonikerImpl_RelativePathTo(IMoniker *iface, IMoniker *pmkOther, IMoniker **ppmkRelPath)
static HRESULT WINAPI ITS_IMonikerImpl_Save(IMoniker *iface, IStream *pStm, BOOL fClearDirty)
static HRESULT WINAPI ITS_IMonikerImpl_BindToStorage(IMoniker *iface, IBindCtx *pbc, IMoniker *pmkToLeft, REFIID riid, void **ppvObj)
static ULONG WINAPI ITS_IMonikerImpl_Release(IMoniker *iface)
static HRESULT ITS_IMoniker_create(IMoniker **ppObj, LPCWSTR name, DWORD n)
static HRESULT WINAPI ITS_IMonikerImpl_CommonPrefixWith(IMoniker *iface, IMoniker *pmkOther, IMoniker **ppmkPrefix)
HRESULT ITS_IParseDisplayName_create(IUnknown *pUnkOuter, LPVOID *ppObj)
GLdouble GLdouble GLdouble r
LPVOID WINAPI CoTaskMemAlloc(SIZE_T size)
static void ITSS_LockModule(void)
static void ITSS_UnlockModule(void)
HRESULT ITSS_StgOpenStorage(const WCHAR *pwcsName, IStorage *pstgPriority, DWORD grfMode, SNB snbExclude, DWORD reserved, IStorage **ppstgOpen) DECLSPEC_HIDDEN
#define STGM_SHARE_EXCLUSIVE
const GUID IID_IParseDisplayName
#define IsEqualGUID(rguid1, rguid2)
_Check_return_ _CRTIMP int __cdecl _wcsnicmp(_In_reads_or_z_(_MaxCount) const wchar_t *_Str1, _In_reads_or_z_(_MaxCount) const wchar_t *_Str2, _In_ size_t _MaxCount)
IParseDisplayName IParseDisplayName_iface
#define FIELD_OFFSET(t, f)
#define CONTAINING_RECORD(address, type, field)
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
#define CLASS_E_NOAGGREGATION
#define STG_E_ACCESSDENIED