60 IUnknown_AddRef((
IUnknown*)(*ppvObj));
71 TRACE(
"(%p)->(count=%u)\n",
This, refCount - 1);
90 IHlink_Release(
link->link);
120 IRunningObjectTable_Register(ROT, 0, piunk, composite, pdwRegister);
122 IRunningObjectTable_Release(ROT);
123 IMoniker_Release(composite);
124 IMoniker_Release(mon);
138 TRACE(
"(%p)->(%p, %d, %p)\n",
This, pimk, fBindifRootRegistered, ppiunk);
145 hr = IRunningObjectTable_GetObject(ROT, composite, ppiunk);
147 IRunningObjectTable_Release(ROT);
148 IMoniker_Release(composite);
149 IMoniker_Release(mon);
164 r = IRunningObjectTable_Revoke(ROT, dwRegister);
165 IRunningObjectTable_Release(ROT);
181 memcpy(
This->BrowseWindowInfo, phlbwi, phlbwi->cbSize);
195 if(!
This->BrowseWindowInfo)
198 memcpy(phlbwi,
This->BrowseWindowInfo,
This->BrowseWindowInfo->cbSize);
218 0,
NULL, &IID_IHlink, (
void**)&
link->link);
227 pwzFriendlyName,
ULONG *puHLID)
231 FIXME(
"(%p)->(%i %p %s %s %p)\n",
This, grfHLNF, pmkTarget,
252 case HLID_STACKBOTTOM:
259 WARN(
"unknown id 0x%x\n", hlid);
283 IHlink_Release(
entry->link);
349static const IHlinkBrowseContextVtbl
hlvt =
static void * heap_alloc(size_t len)
static BOOL heap_free(void *mem)
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static void list_remove(struct list_entry *entry)
static int list_empty(struct list_entry *head)
static void list_add_head(struct list_entry *head, struct list_entry *entry)
static void list_init(struct list_entry *head)
HRESULT WINAPI CreateGenericComposite(IMoniker *pmkFirst, IMoniker *pmkRest, IMoniker **ppmkComposite)
HRESULT HLinkBrowseContext_Constructor(IUnknown *pUnkOuter, REFIID riid, void **ppv)
static HRESULT WINAPI IHlinkBC_SetBrowseWindowInfo(IHlinkBrowseContext *iface, HLBWINFO *phlbwi)
static ULONG WINAPI IHlinkBC_fnRelease(IHlinkBrowseContext *iface)
static HRESULT WINAPI IHlinkBC_EnumNavigationStack(IHlinkBrowseContext *iface, DWORD dwReserved, DWORD grfHLFNAMEF, IEnumHLITEM **ppienumhlitem)
static HRESULT WINAPI IHlinkBC_QueryHlink(IHlinkBrowseContext *iface, DWORD grfHLONG, ULONG uHLID)
static const IHlinkBrowseContextVtbl hlvt
static HRESULT WINAPI IHlinkBC_Register(IHlinkBrowseContext *iface, DWORD dwReserved, IUnknown *piunk, IMoniker *pimk, DWORD *pdwRegister)
static HRESULT WINAPI IHlinkBC_SetInitialHlink(IHlinkBrowseContext *iface, IMoniker *pimkTarget, LPCWSTR pwzLocation, LPCWSTR pwzFriendlyName)
static HRESULT WINAPI IHlinkBC_GetHlink(IHlinkBrowseContext *iface, ULONG hlid, IHlink **ret)
static HlinkBCImpl * impl_from_IHlinkBrowseContext(IHlinkBrowseContext *iface)
static struct link_entry * context_get_entry(HlinkBCImpl *ctxt, ULONG hlid)
static HRESULT WINAPI IHlinkBC_OnNavigateHlink(IHlinkBrowseContext *iface, DWORD grfHLNF, IMoniker *pmkTarget, LPCWSTR pwzLocation, LPCWSTR pwzFriendlyName, ULONG *puHLID)
static HRESULT WINAPI IHlinkBC_GetObject(IHlinkBrowseContext *iface, IMoniker *pimk, BOOL fBindifRootRegistered, IUnknown **ppiunk)
static HRESULT WINAPI IHlinkBC_GetBrowseWindowInfo(IHlinkBrowseContext *iface, HLBWINFO *phlbwi)
static HRESULT WINAPI IHlinkBC_UpdateHlink(IHlinkBrowseContext *iface, ULONG hlid, IMoniker *target, LPCWSTR location, LPCWSTR friendly_name)
static ULONG WINAPI IHlinkBC_fnAddRef(IHlinkBrowseContext *iface)
static HRESULT WINAPI IHlinkBC_SetCurrentHlink(IHlinkBrowseContext *iface, ULONG hlid)
static HRESULT WINAPI IHlinkBC_fnQueryInterface(IHlinkBrowseContext *iface, REFIID riid, LPVOID *ppvObj)
static HRESULT WINAPI IHlinkBC_Clone(IHlinkBrowseContext *iface, IUnknown *piunkOuter, REFIID riid, IUnknown **ppiunkOjb)
static HRESULT WINAPI IHlinkBC_Close(IHlinkBrowseContext *iface, DWORD reserved)
static const WCHAR szIdent[]
static HRESULT WINAPI IHlinkBC_Revoke(IHlinkBrowseContext *iface, DWORD dwRegister)
HRESULT WINAPI GetRunningObjectTable(DWORD reserved, LPRUNNINGOBJECTTABLE *pprot)
GLdouble GLdouble GLdouble r
HRESULT WINAPI HlinkCreateFromMoniker(IMoniker *pimkTrgt, LPCWSTR pwzLocation, LPCWSTR pwzFriendlyName, IHlinkSite *pihlsite, DWORD dwSiteData, IUnknown *piunkOuter, REFIID riid, void **ppvObj)
HRESULT WINAPI CreateItemMoniker(LPCOLESTR lpszDelim, LPCOLESTR lpszItem, IMoniker **ppmk)
#define memcpy(s1, s2, n)
static const WCHAR friendly_name[]
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED _In_opt_ LPTRANSMIT_FILE_BUFFERS _In_ DWORD dwReserved
#define IsEqualIID(riid1, riid2)
__WINE_SERVER_LIST_INLINE struct list * list_prev(const struct list *list, const struct list *elem)
#define LIST_FOR_EACH_ENTRY_SAFE(cursor, cursor2, list, type, field)
__WINE_SERVER_LIST_INLINE struct list * list_next(const struct list *list, const struct list *elem)
__WINE_SERVER_LIST_INLINE struct list * list_tail(const struct list *list)
struct link_entry * current
HLBWINFO * BrowseWindowInfo
IHlinkBrowseContext IHlinkBrowseContext_iface
#define CONTAINING_RECORD(address, type, field)
#define CLASS_E_NOAGGREGATION
#define CO_E_ALREADYINITIALIZED