ReactOS 0.4.15-dev-8145-ga541a46
moniker.c File Reference
#include <stdarg.h>
#include <stdio.h>
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
#include "ole2.h"
#include "wine/itss.h"
#include "wine/debug.h"
#include "itsstor.h"
Include dependency graph for moniker.c:

Go to the source code of this file.

Classes

struct  ITS_IMonikerImpl
 
struct  ITS_IParseDisplayNameImpl
 

Macros

#define COBJMACROS
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (itss)
 
static ITS_IMonikerImplimpl_from_IMoniker (IMoniker *iface)
 
static HRESULT WINAPI ITS_IMonikerImpl_QueryInterface (IMoniker *iface, REFIID riid, void **ppvObject)
 
static ULONG WINAPI ITS_IMonikerImpl_AddRef (IMoniker *iface)
 
static ULONG WINAPI ITS_IMonikerImpl_Release (IMoniker *iface)
 
static HRESULT WINAPI ITS_IMonikerImpl_GetClassID (IMoniker *iface, CLSID *pClassID)
 
static HRESULT WINAPI ITS_IMonikerImpl_IsDirty (IMoniker *iface)
 
static HRESULT WINAPI ITS_IMonikerImpl_Load (IMoniker *iface, IStream *pStm)
 
static HRESULT WINAPI ITS_IMonikerImpl_Save (IMoniker *iface, IStream *pStm, BOOL fClearDirty)
 
static HRESULT WINAPI ITS_IMonikerImpl_GetSizeMax (IMoniker *iface, ULARGE_INTEGER *pcbSize)
 
static HRESULT WINAPI ITS_IMonikerImpl_BindToObject (IMoniker *iface, IBindCtx *pbc, IMoniker *pmkToLeft, REFIID riidResult, void **ppvResult)
 
static HRESULT WINAPI ITS_IMonikerImpl_BindToStorage (IMoniker *iface, IBindCtx *pbc, IMoniker *pmkToLeft, REFIID riid, void **ppvObj)
 
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_Enum (IMoniker *iface, BOOL fForward, IEnumMoniker **ppenumMoniker)
 
static HRESULT WINAPI ITS_IMonikerImpl_IsEqual (IMoniker *iface, IMoniker *pmkOtherMoniker)
 
static HRESULT WINAPI ITS_IMonikerImpl_Hash (IMoniker *iface, DWORD *pdwHash)
 
static HRESULT WINAPI ITS_IMonikerImpl_IsRunning (IMoniker *iface, IBindCtx *pbc, IMoniker *pmkToLeft, IMoniker *pmkNewlyRunning)
 
static HRESULT WINAPI ITS_IMonikerImpl_GetTimeOfLastChange (IMoniker *iface, IBindCtx *pbc, IMoniker *pmkToLeft, FILETIME *pFileTime)
 
static HRESULT WINAPI ITS_IMonikerImpl_Inverse (IMoniker *iface, IMoniker **ppmk)
 
static HRESULT WINAPI ITS_IMonikerImpl_CommonPrefixWith (IMoniker *iface, IMoniker *pmkOther, IMoniker **ppmkPrefix)
 
static HRESULT WINAPI ITS_IMonikerImpl_RelativePathTo (IMoniker *iface, IMoniker *pmkOther, IMoniker **ppmkRelPath)
 
static HRESULT WINAPI ITS_IMonikerImpl_GetDisplayName (IMoniker *iface, IBindCtx *pbc, IMoniker *pmkToLeft, LPOLESTR *ppszDisplayName)
 
static HRESULT WINAPI ITS_IMonikerImpl_ParseDisplayName (IMoniker *iface, IBindCtx *pbc, IMoniker *pmkToLeft, LPOLESTR pszDisplayName, ULONG *pchEaten, IMoniker **ppmkOut)
 
static HRESULT WINAPI ITS_IMonikerImpl_IsSystemMoniker (IMoniker *iface, DWORD *pdwMksys)
 
static HRESULT ITS_IMoniker_create (IMoniker **ppObj, LPCWSTR name, DWORD n)
 
static ITS_IParseDisplayNameImplimpl_from_IParseDisplayName (IParseDisplayName *iface)
 
static HRESULT WINAPI ITS_IParseDisplayNameImpl_QueryInterface (IParseDisplayName *iface, REFIID riid, void **ppvObject)
 
static ULONG WINAPI ITS_IParseDisplayNameImpl_AddRef (IParseDisplayName *iface)
 
static ULONG WINAPI ITS_IParseDisplayNameImpl_Release (IParseDisplayName *iface)
 
static HRESULT WINAPI ITS_IParseDisplayNameImpl_ParseDisplayName (IParseDisplayName *iface, IBindCtx *pbc, LPOLESTR pszDisplayName, ULONG *pchEaten, IMoniker **ppmkOut)
 
HRESULT ITS_IParseDisplayName_create (IUnknown *pUnkOuter, LPVOID *ppObj)
 

Variables

static const IMonikerVtbl ITS_IMonikerImpl_Vtbl
 
static const IParseDisplayNameVtbl ITS_IParseDisplayNameImpl_Vtbl
 

Macro Definition Documentation

◆ COBJMACROS

#define COBJMACROS

Definition at line 27 of file moniker.c.

Function Documentation

◆ impl_from_IMoniker()

static ITS_IMonikerImpl * impl_from_IMoniker ( IMoniker iface)
inlinestatic

◆ impl_from_IParseDisplayName()

◆ ITS_IMoniker_create()

static HRESULT ITS_IMoniker_create ( IMoniker **  ppObj,
LPCWSTR  name,
DWORD  n 
)
static

Definition at line 349 of file moniker.c.

350{
351 ITS_IMonikerImpl *itsmon;
352 DWORD sz;
353
354 /* szFile[1] has space for one character already */
355 sz = FIELD_OFFSET( ITS_IMonikerImpl, szFile[lstrlenW( name ) + 1] );
356
357 itsmon = HeapAlloc( GetProcessHeap(), 0, sz );
358 itsmon->IMoniker_iface.lpVtbl = &ITS_IMonikerImpl_Vtbl;
359 itsmon->ref = 1;
360 lstrcpyW( itsmon->szFile, name );
361 itsmon->szHtml = &itsmon->szFile[n];
362
363 while( *itsmon->szHtml == ':' )
364 *itsmon->szHtml++ = 0;
365
366 TRACE("-> %p %s %s\n", itsmon,
367 debugstr_w(itsmon->szFile), debugstr_w(itsmon->szHtml) );
368 *ppObj = &itsmon->IMoniker_iface;
369
371 return S_OK;
372}
#define GetProcessHeap()
Definition: compat.h:736
#define HeapAlloc
Definition: compat.h:733
#define lstrcpyW
Definition: compat.h:749
#define lstrlenW
Definition: compat.h:750
static const IMonikerVtbl ITS_IMonikerImpl_Vtbl
Definition: moniker.c:322
unsigned long DWORD
Definition: ntddk_ex.h:95
GLdouble n
Definition: glext.h:7729
#define S_OK
Definition: intsafe.h:52
static void ITSS_LockModule(void)
Definition: itsstor.h:41
#define debugstr_w
Definition: kernel32.h:32
#define TRACE(s)
Definition: solgame.cpp:4
IMoniker IMoniker_iface
Definition: moniker.c:44
WCHAR szFile[1]
Definition: moniker.c:47
LPWSTR szHtml
Definition: moniker.c:46
Definition: name.c:39
#define FIELD_OFFSET(t, f)
Definition: typedefs.h:255

Referenced by ITS_IParseDisplayNameImpl_ParseDisplayName().

◆ ITS_IMonikerImpl_AddRef()

static ULONG WINAPI ITS_IMonikerImpl_AddRef ( IMoniker iface)
static

Definition at line 75 of file moniker.c.

77{
79 TRACE("%p\n", This);
80 return InterlockedIncrement(&This->ref);
81}
#define InterlockedIncrement
Definition: armddk.h:53
static ITS_IMonikerImpl * impl_from_IMoniker(IMoniker *iface)
Definition: moniker.c:50

◆ ITS_IMonikerImpl_BindToObject()

static HRESULT WINAPI ITS_IMonikerImpl_BindToObject ( IMoniker iface,
IBindCtx pbc,
IMoniker pmkToLeft,
REFIID  riidResult,
void **  ppvResult 
)
static

Definition at line 143 of file moniker.c.

149{
150 FIXME("\n");
151 return E_NOTIMPL;
152}
#define FIXME(fmt,...)
Definition: debug.h:114
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ ITS_IMonikerImpl_BindToStorage()

static HRESULT WINAPI ITS_IMonikerImpl_BindToStorage ( IMoniker iface,
IBindCtx pbc,
IMoniker pmkToLeft,
REFIID  riid,
void **  ppvObj 
)
static

Definition at line 154 of file moniker.c.

160{
163 HRESULT r;
164 IStorage *stg = NULL;
165
166 TRACE("%p %p %p %s %p\n", This,
167 pbc, pmkToLeft, debugstr_guid(riid), ppvObj);
168
169 r = ITSS_StgOpenStorage( This->szFile, NULL, grfMode, 0, 0, &stg );
170 if( r == S_OK )
171 {
172 TRACE("Opened storage %s\n", debugstr_w( This->szFile ) );
173 if (IsEqualGUID(riid, &IID_IStream))
174 r = IStorage_OpenStream( stg, This->szHtml,
175 NULL, grfMode, 0, (IStream**)ppvObj );
176 else if (IsEqualGUID(riid, &IID_IStorage))
177 r = IStorage_OpenStorage( stg, This->szHtml,
178 NULL, grfMode, NULL, 0, (IStorage**)ppvObj );
179 else
181 IStorage_Release( stg );
182 }
183
184 return r;
185}
#define NULL
Definition: types.h:112
GLdouble GLdouble GLdouble r
Definition: gl.h:2055
REFIID riid
Definition: atlbase.h:39
HRESULT ITSS_StgOpenStorage(const WCHAR *pwcsName, IStorage *pstgPriority, DWORD grfMode, SNB snbExclude, DWORD reserved, IStorage **ppstgOpen) DECLSPEC_HIDDEN
Definition: storage.c:633
#define debugstr_guid
Definition: kernel32.h:35
#define STGM_SHARE_EXCLUSIVE
Definition: objbase.h:923
#define STGM_SIMPLE
Definition: objbase.h:916
#define STGM_READ
Definition: objbase.h:917
#define IsEqualGUID(rguid1, rguid2)
Definition: guiddef.h:147
#define STG_E_ACCESSDENIED
Definition: winerror.h:2568

◆ ITS_IMonikerImpl_CommonPrefixWith()

static HRESULT WINAPI ITS_IMonikerImpl_CommonPrefixWith ( IMoniker iface,
IMoniker pmkOther,
IMoniker **  ppmkPrefix 
)
static

Definition at line 261 of file moniker.c.

265{
266 FIXME("\n");
267 return E_NOTIMPL;
268}

◆ ITS_IMonikerImpl_ComposeWith()

static HRESULT WINAPI ITS_IMonikerImpl_ComposeWith ( IMoniker iface,
IMoniker pmkRight,
BOOL  fOnlyIfNotGeneric,
IMoniker **  ppmkComposite 
)
static

Definition at line 198 of file moniker.c.

203{
204 FIXME("\n");
205 return E_NOTIMPL;
206}

◆ ITS_IMonikerImpl_Enum()

static HRESULT WINAPI ITS_IMonikerImpl_Enum ( IMoniker iface,
BOOL  fForward,
IEnumMoniker **  ppenumMoniker 
)
static

Definition at line 208 of file moniker.c.

212{
213 FIXME("\n");
214 return E_NOTIMPL;
215}

◆ ITS_IMonikerImpl_GetClassID()

static HRESULT WINAPI ITS_IMonikerImpl_GetClassID ( IMoniker iface,
CLSID pClassID 
)
static

Definition at line 98 of file moniker.c.

101{
103
104 TRACE("%p %p\n", This, pClassID);
105 *pClassID = CLSID_ITStorage;
106 return S_OK;
107}

◆ ITS_IMonikerImpl_GetDisplayName()

static HRESULT WINAPI ITS_IMonikerImpl_GetDisplayName ( IMoniker iface,
IBindCtx pbc,
IMoniker pmkToLeft,
LPOLESTR ppszDisplayName 
)
static

Definition at line 279 of file moniker.c.

284{
286 static const WCHAR szFormat[] = {
287 'm','s','-','i','t','s',':','%','s',':',':','%','s',0 };
288 DWORD len;
289 LPWSTR str;
290
291 TRACE("%p %p %p %p\n", iface, pbc, pmkToLeft, ppszDisplayName);
292
293 len = lstrlenW( This->szFile ) + lstrlenW( This->szHtml );
294 str = CoTaskMemAlloc( len*sizeof(WCHAR) );
295 swprintf( str, szFormat, This->szFile, This->szHtml );
296
297 *ppszDisplayName = str;
298
299 return S_OK;
300}
#define swprintf
Definition: precomp.h:40
GLenum GLsizei len
Definition: glext.h:6722
LPVOID WINAPI CoTaskMemAlloc(SIZE_T size)
Definition: ifs.c:426
const WCHAR * str
__wchar_t WCHAR
Definition: xmlstorage.h:180
WCHAR * LPWSTR
Definition: xmlstorage.h:184

◆ ITS_IMonikerImpl_GetSizeMax()

static HRESULT WINAPI ITS_IMonikerImpl_GetSizeMax ( IMoniker iface,
ULARGE_INTEGER pcbSize 
)
static

Definition at line 134 of file moniker.c.

137{
138 FIXME("\n");
139 return E_NOTIMPL;
140}

◆ ITS_IMonikerImpl_GetTimeOfLastChange()

static HRESULT WINAPI ITS_IMonikerImpl_GetTimeOfLastChange ( IMoniker iface,
IBindCtx pbc,
IMoniker pmkToLeft,
FILETIME pFileTime 
)
static

Definition at line 243 of file moniker.c.

248{
249 FIXME("\n");
250 return E_NOTIMPL;
251}

◆ ITS_IMonikerImpl_Hash()

static HRESULT WINAPI ITS_IMonikerImpl_Hash ( IMoniker iface,
DWORD pdwHash 
)
static

Definition at line 225 of file moniker.c.

228{
229 FIXME("\n");
230 return E_NOTIMPL;
231}

◆ ITS_IMonikerImpl_Inverse()

static HRESULT WINAPI ITS_IMonikerImpl_Inverse ( IMoniker iface,
IMoniker **  ppmk 
)
static

Definition at line 253 of file moniker.c.

256{
257 FIXME("\n");
258 return E_NOTIMPL;
259}

◆ ITS_IMonikerImpl_IsDirty()

static HRESULT WINAPI ITS_IMonikerImpl_IsDirty ( IMoniker iface)
static

Definition at line 110 of file moniker.c.

112{
113 FIXME("\n");
114 return E_NOTIMPL;
115}

◆ ITS_IMonikerImpl_IsEqual()

static HRESULT WINAPI ITS_IMonikerImpl_IsEqual ( IMoniker iface,
IMoniker pmkOtherMoniker 
)
static

Definition at line 217 of file moniker.c.

220{
221 FIXME("\n");
222 return E_NOTIMPL;
223}

◆ ITS_IMonikerImpl_IsRunning()

static HRESULT WINAPI ITS_IMonikerImpl_IsRunning ( IMoniker iface,
IBindCtx pbc,
IMoniker pmkToLeft,
IMoniker pmkNewlyRunning 
)
static

Definition at line 233 of file moniker.c.

238{
239 FIXME("\n");
240 return E_NOTIMPL;
241}

◆ ITS_IMonikerImpl_IsSystemMoniker()

static HRESULT WINAPI ITS_IMonikerImpl_IsSystemMoniker ( IMoniker iface,
DWORD pdwMksys 
)
static

Definition at line 314 of file moniker.c.

317{
318 FIXME("\n");
319 return E_NOTIMPL;
320}

◆ ITS_IMonikerImpl_Load()

static HRESULT WINAPI ITS_IMonikerImpl_Load ( IMoniker iface,
IStream pStm 
)
static

Definition at line 117 of file moniker.c.

120{
121 FIXME("\n");
122 return E_NOTIMPL;
123}

◆ ITS_IMonikerImpl_ParseDisplayName()

static HRESULT WINAPI ITS_IMonikerImpl_ParseDisplayName ( IMoniker iface,
IBindCtx pbc,
IMoniker pmkToLeft,
LPOLESTR  pszDisplayName,
ULONG pchEaten,
IMoniker **  ppmkOut 
)
static

Definition at line 302 of file moniker.c.

309{
310 FIXME("\n");
311 return E_NOTIMPL;
312}

◆ ITS_IMonikerImpl_QueryInterface()

static HRESULT WINAPI ITS_IMonikerImpl_QueryInterface ( IMoniker iface,
REFIID  riid,
void **  ppvObject 
)
static

Definition at line 56 of file moniker.c.

60{
62
65 {
66 IMoniker_AddRef(iface);
67 *ppvObject = iface;
68 return S_OK;
69 }
70
71 WARN("(%p)->(%s,%p),not found\n",This,debugstr_guid(riid),ppvObject);
72 return E_NOINTERFACE;
73}
const GUID IID_IUnknown
#define WARN(fmt,...)
Definition: debug.h:115
const GUID IID_IParseDisplayName
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
Definition: wincrypt.h:6082
#define E_NOINTERFACE
Definition: winerror.h:2364

◆ ITS_IMonikerImpl_Reduce()

static HRESULT WINAPI ITS_IMonikerImpl_Reduce ( IMoniker iface,
IBindCtx pbc,
DWORD  dwReduceHowFar,
IMoniker **  ppmkToLeft,
IMoniker **  ppmkReduced 
)
static

Definition at line 187 of file moniker.c.

193{
194 FIXME("\n");
195 return E_NOTIMPL;
196}

◆ ITS_IMonikerImpl_RelativePathTo()

static HRESULT WINAPI ITS_IMonikerImpl_RelativePathTo ( IMoniker iface,
IMoniker pmkOther,
IMoniker **  ppmkRelPath 
)
static

Definition at line 270 of file moniker.c.

274{
275 FIXME("\n");
276 return E_NOTIMPL;
277}

◆ ITS_IMonikerImpl_Release()

static ULONG WINAPI ITS_IMonikerImpl_Release ( IMoniker iface)
static

Definition at line 83 of file moniker.c.

85{
88
89 if (ref == 0) {
92 }
93
94 return ref;
95}
#define InterlockedDecrement
Definition: armddk.h:52
#define HeapFree(x, y, z)
Definition: compat.h:735
static void ITSS_UnlockModule(void)
Definition: itsstor.h:42
Definition: send.c:48
uint32_t ULONG
Definition: typedefs.h:59

◆ ITS_IMonikerImpl_Save()

static HRESULT WINAPI ITS_IMonikerImpl_Save ( IMoniker iface,
IStream pStm,
BOOL  fClearDirty 
)
static

Definition at line 125 of file moniker.c.

129{
130 FIXME("\n");
131 return E_NOTIMPL;
132}

◆ 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}
static const IParseDisplayNameVtbl ITS_IParseDisplayNameImpl_Vtbl
Definition: moniker.c:464
IParseDisplayName IParseDisplayName_iface
Definition: moniker.c:377
#define CLASS_E_NOAGGREGATION
Definition: winerror.h:2662

◆ ITS_IParseDisplayNameImpl_AddRef()

static ULONG WINAPI ITS_IParseDisplayNameImpl_AddRef ( IParseDisplayName iface)
static

Definition at line 405 of file moniker.c.

407{
409 TRACE("%p\n", This);
410 return InterlockedIncrement(&This->ref);
411}
static ITS_IParseDisplayNameImpl * impl_from_IParseDisplayName(IParseDisplayName *iface)
Definition: moniker.c:381

◆ ITS_IParseDisplayNameImpl_ParseDisplayName()

static HRESULT WINAPI ITS_IParseDisplayNameImpl_ParseDisplayName ( IParseDisplayName iface,
IBindCtx pbc,
LPOLESTR  pszDisplayName,
ULONG pchEaten,
IMoniker **  ppmkOut 
)
static

Definition at line 427 of file moniker.c.

433{
434 static const WCHAR szPrefix[] = {
435 '@','M','S','I','T','S','t','o','r','e',':',0 };
436 const DWORD prefix_len = ARRAY_SIZE(szPrefix)-1;
437 DWORD n;
438
440
441 TRACE("%p %s %p %p\n", This,
442 debugstr_w( pszDisplayName ), pchEaten, ppmkOut );
443
444 if( _wcsnicmp( pszDisplayName, szPrefix, prefix_len ) )
445 return MK_E_SYNTAX;
446
447 /* search backwards for a double colon */
448 for( n = lstrlenW( pszDisplayName ) - 3; prefix_len <= n; n-- )
449 if( ( pszDisplayName[n] == ':' ) && ( pszDisplayName[n+1] == ':' ) )
450 break;
451
452 if( n < prefix_len )
453 return MK_E_SYNTAX;
454
455 if( !pszDisplayName[n+2] )
456 return MK_E_SYNTAX;
457
458 *pchEaten = lstrlenW( pszDisplayName ) - n - 3;
459
460 return ITS_IMoniker_create( ppmkOut,
461 &pszDisplayName[prefix_len], n-prefix_len );
462}
#define ARRAY_SIZE(A)
Definition: main.h:33
static HRESULT ITS_IMoniker_create(IMoniker **ppObj, LPCWSTR name, DWORD n)
Definition: moniker.c:349
_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)
#define MK_E_SYNTAX
Definition: winerror.h:2785

◆ ITS_IParseDisplayNameImpl_QueryInterface()

static HRESULT WINAPI ITS_IParseDisplayNameImpl_QueryInterface ( IParseDisplayName iface,
REFIID  riid,
void **  ppvObject 
)
static

Definition at line 386 of file moniker.c.

390{
392
395 {
396 IParseDisplayName_AddRef(iface);
397 *ppvObject = iface;
398 return S_OK;
399 }
400
401 WARN("(%p)->(%s,%p),not found\n",This,debugstr_guid(riid),ppvObject);
402 return E_NOINTERFACE;
403}

◆ ITS_IParseDisplayNameImpl_Release()

static ULONG WINAPI ITS_IParseDisplayNameImpl_Release ( IParseDisplayName iface)
static

Definition at line 413 of file moniker.c.

415{
418
419 if (ref == 0) {
422 }
423
424 return ref;
425}

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( itss  )

Variable Documentation

◆ ITS_IMonikerImpl_Vtbl

const IMonikerVtbl ITS_IMonikerImpl_Vtbl
static
Initial value:
=
{
}
static HRESULT WINAPI ITS_IMonikerImpl_GetSizeMax(IMoniker *iface, ULARGE_INTEGER *pcbSize)
Definition: moniker.c:134
static HRESULT WINAPI ITS_IMonikerImpl_GetClassID(IMoniker *iface, CLSID *pClassID)
Definition: moniker.c:98
static HRESULT WINAPI ITS_IMonikerImpl_Enum(IMoniker *iface, BOOL fForward, IEnumMoniker **ppenumMoniker)
Definition: moniker.c:208
static HRESULT WINAPI ITS_IMonikerImpl_BindToObject(IMoniker *iface, IBindCtx *pbc, IMoniker *pmkToLeft, REFIID riidResult, void **ppvResult)
Definition: moniker.c:143
static HRESULT WINAPI ITS_IMonikerImpl_GetTimeOfLastChange(IMoniker *iface, IBindCtx *pbc, IMoniker *pmkToLeft, FILETIME *pFileTime)
Definition: moniker.c:243
static HRESULT WINAPI ITS_IMonikerImpl_GetDisplayName(IMoniker *iface, IBindCtx *pbc, IMoniker *pmkToLeft, LPOLESTR *ppszDisplayName)
Definition: moniker.c:279
static HRESULT WINAPI ITS_IMonikerImpl_IsDirty(IMoniker *iface)
Definition: moniker.c:110
static HRESULT WINAPI ITS_IMonikerImpl_Hash(IMoniker *iface, DWORD *pdwHash)
Definition: moniker.c:225
static HRESULT WINAPI ITS_IMonikerImpl_IsSystemMoniker(IMoniker *iface, DWORD *pdwMksys)
Definition: moniker.c:314
static ULONG WINAPI ITS_IMonikerImpl_AddRef(IMoniker *iface)
Definition: moniker.c:75
static HRESULT WINAPI ITS_IMonikerImpl_IsRunning(IMoniker *iface, IBindCtx *pbc, IMoniker *pmkToLeft, IMoniker *pmkNewlyRunning)
Definition: moniker.c:233
static HRESULT WINAPI ITS_IMonikerImpl_IsEqual(IMoniker *iface, IMoniker *pmkOtherMoniker)
Definition: moniker.c:217
static HRESULT WINAPI ITS_IMonikerImpl_Reduce(IMoniker *iface, IBindCtx *pbc, DWORD dwReduceHowFar, IMoniker **ppmkToLeft, IMoniker **ppmkReduced)
Definition: moniker.c:187
static HRESULT WINAPI ITS_IMonikerImpl_ComposeWith(IMoniker *iface, IMoniker *pmkRight, BOOL fOnlyIfNotGeneric, IMoniker **ppmkComposite)
Definition: moniker.c:198
static HRESULT WINAPI ITS_IMonikerImpl_ParseDisplayName(IMoniker *iface, IBindCtx *pbc, IMoniker *pmkToLeft, LPOLESTR pszDisplayName, ULONG *pchEaten, IMoniker **ppmkOut)
Definition: moniker.c:302
static HRESULT WINAPI ITS_IMonikerImpl_Load(IMoniker *iface, IStream *pStm)
Definition: moniker.c:117
static HRESULT WINAPI ITS_IMonikerImpl_QueryInterface(IMoniker *iface, REFIID riid, void **ppvObject)
Definition: moniker.c:56
static HRESULT WINAPI ITS_IMonikerImpl_Inverse(IMoniker *iface, IMoniker **ppmk)
Definition: moniker.c:253
static HRESULT WINAPI ITS_IMonikerImpl_RelativePathTo(IMoniker *iface, IMoniker *pmkOther, IMoniker **ppmkRelPath)
Definition: moniker.c:270
static HRESULT WINAPI ITS_IMonikerImpl_Save(IMoniker *iface, IStream *pStm, BOOL fClearDirty)
Definition: moniker.c:125
static HRESULT WINAPI ITS_IMonikerImpl_BindToStorage(IMoniker *iface, IBindCtx *pbc, IMoniker *pmkToLeft, REFIID riid, void **ppvObj)
Definition: moniker.c:154
static ULONG WINAPI ITS_IMonikerImpl_Release(IMoniker *iface)
Definition: moniker.c:83
static HRESULT WINAPI ITS_IMonikerImpl_CommonPrefixWith(IMoniker *iface, IMoniker *pmkOther, IMoniker **ppmkPrefix)
Definition: moniker.c:261

Definition at line 322 of file moniker.c.

Referenced by ITS_IMoniker_create().

◆ ITS_IParseDisplayNameImpl_Vtbl

const IParseDisplayNameVtbl ITS_IParseDisplayNameImpl_Vtbl
static
Initial value:
=
{
}
static HRESULT WINAPI ITS_IParseDisplayNameImpl_QueryInterface(IParseDisplayName *iface, REFIID riid, void **ppvObject)
Definition: moniker.c:386
static ULONG WINAPI ITS_IParseDisplayNameImpl_AddRef(IParseDisplayName *iface)
Definition: moniker.c:405
static ULONG WINAPI ITS_IParseDisplayNameImpl_Release(IParseDisplayName *iface)
Definition: moniker.c:413
static HRESULT WINAPI ITS_IParseDisplayNameImpl_ParseDisplayName(IParseDisplayName *iface, IBindCtx *pbc, LPOLESTR pszDisplayName, ULONG *pchEaten, IMoniker **ppmkOut)
Definition: moniker.c:427

Definition at line 464 of file moniker.c.

Referenced by ITS_IParseDisplayName_create().