ReactOS 0.4.16-dev-297-gc569aee
hlink.c File Reference
#include "mshtml_private.h"
Include dependency graph for hlink.c:

Go to the source code of this file.

Functions

static HTMLDocumentimpl_from_IHlinkTarget (IHlinkTarget *iface)
 
static HRESULT WINAPI HlinkTarget_QueryInterface (IHlinkTarget *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HlinkTarget_AddRef (IHlinkTarget *iface)
 
static ULONG WINAPI HlinkTarget_Release (IHlinkTarget *iface)
 
static HRESULT WINAPI HlinkTarget_SetBrowseContext (IHlinkTarget *iface, IHlinkBrowseContext *pihlbc)
 
static HRESULT WINAPI HlinkTarget_GetBrowseContext (IHlinkTarget *iface, IHlinkBrowseContext **ppihlbc)
 
static HRESULT WINAPI HlinkTarget_Navigate (IHlinkTarget *iface, DWORD grfHLNF, LPCWSTR pwzJumpLocation)
 
static HRESULT WINAPI HlinkTarget_GetMoniker (IHlinkTarget *iface, LPCWSTR pwzLocation, DWORD dwAssign, IMoniker **ppimkLocation)
 
static HRESULT WINAPI HlinkTarget_GetFriendlyName (IHlinkTarget *iface, LPCWSTR pwzLocation, LPWSTR *ppwzFriendlyName)
 
void HTMLDocument_Hlink_Init (HTMLDocument *This)
 

Variables

static const IHlinkTargetVtbl HlinkTargetVtbl
 

Function Documentation

◆ HlinkTarget_AddRef()

static ULONG WINAPI HlinkTarget_AddRef ( IHlinkTarget iface)
static

Definition at line 36 of file hlink.c.

37{
39 return htmldoc_addref(This);
40}
static ULONG htmldoc_addref(HTMLDocument *This)

◆ HlinkTarget_GetBrowseContext()

static HRESULT WINAPI HlinkTarget_GetBrowseContext ( IHlinkTarget iface,
IHlinkBrowseContext **  ppihlbc 
)
static

Definition at line 55 of file hlink.c.

56{
58 FIXME("(%p)->(%p)\n", This, ppihlbc);
59 return E_NOTIMPL;
60}
#define FIXME(fmt,...)
Definition: precomp.h:53
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HlinkTarget_GetFriendlyName()

static HRESULT WINAPI HlinkTarget_GetFriendlyName ( IHlinkTarget iface,
LPCWSTR  pwzLocation,
LPWSTR ppwzFriendlyName 
)
static

Definition at line 87 of file hlink.c.

89{
91 FIXME("(%p)->(%s %p)\n", This, debugstr_w(pwzLocation), ppwzFriendlyName);
92 return E_NOTIMPL;
93}
#define debugstr_w
Definition: kernel32.h:32

◆ HlinkTarget_GetMoniker()

static HRESULT WINAPI HlinkTarget_GetMoniker ( IHlinkTarget iface,
LPCWSTR  pwzLocation,
DWORD  dwAssign,
IMoniker **  ppimkLocation 
)
static

Definition at line 79 of file hlink.c.

81{
83 FIXME("(%p)->(%s %08x %p)\n", This, debugstr_w(pwzLocation), dwAssign, ppimkLocation);
84 return E_NOTIMPL;
85}

◆ HlinkTarget_Navigate()

static HRESULT WINAPI HlinkTarget_Navigate ( IHlinkTarget iface,
DWORD  grfHLNF,
LPCWSTR  pwzJumpLocation 
)
static

Definition at line 62 of file hlink.c.

63{
65
66 TRACE("(%p)->(%08x %s)\n", This, grfHLNF, debugstr_w(pwzJumpLocation));
67
68 if(grfHLNF)
69 FIXME("Unsupported grfHLNF=%08x\n", grfHLNF);
70 if(pwzJumpLocation)
71 FIXME("JumpLocation not supported\n");
72
73 if(!This->doc_obj->client)
74 return navigate_new_window(This->window, This->window->uri, NULL, NULL, NULL);
75
76 return IOleObject_DoVerb(&This->IOleObject_iface, OLEIVERB_SHOW, NULL, NULL, -1, NULL, NULL);
77}
HRESULT navigate_new_window(HTMLOuterWindow *, IUri *, const WCHAR *, request_data_t *, IHTMLWindow2 **) DECLSPEC_HIDDEN
Definition: navigate.c:2132
#define NULL
Definition: types.h:112
#define OLEIVERB_SHOW
Definition: ole2.h:39
#define TRACE(s)
Definition: solgame.cpp:4

◆ HlinkTarget_QueryInterface()

static HRESULT WINAPI HlinkTarget_QueryInterface ( IHlinkTarget iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 30 of file hlink.c.

31{
34}
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39
static HRESULT htmldoc_query_interface(HTMLDocument *This, REFIID riid, void **ppv)

◆ HlinkTarget_Release()

static ULONG WINAPI HlinkTarget_Release ( IHlinkTarget iface)
static

Definition at line 42 of file hlink.c.

43{
45 return htmldoc_release(This);
46}
static ULONG htmldoc_release(HTMLDocument *This)

◆ HlinkTarget_SetBrowseContext()

static HRESULT WINAPI HlinkTarget_SetBrowseContext ( IHlinkTarget iface,
IHlinkBrowseContext pihlbc 
)
static

Definition at line 48 of file hlink.c.

49{
51 FIXME("(%p)->(%p)\n", This, pihlbc);
52 return E_NOTIMPL;
53}

◆ HTMLDocument_Hlink_Init()

void HTMLDocument_Hlink_Init ( HTMLDocument This)

Definition at line 106 of file hlink.c.

107{
108 This->IHlinkTarget_iface.lpVtbl = &HlinkTargetVtbl;
109}

Referenced by init_doc().

◆ impl_from_IHlinkTarget()

static HTMLDocument * impl_from_IHlinkTarget ( IHlinkTarget iface)
inlinestatic

Variable Documentation

◆ HlinkTargetVtbl

const IHlinkTargetVtbl HlinkTargetVtbl
static
Initial value:
= {
}

Definition at line 95 of file hlink.c.

Referenced by HTMLDocument_Hlink_Init().