ReactOS  0.4.13-dev-100-gc8611ae
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: debug.h:110
#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
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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 }
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
smooth NULL
Definition: ftsmooth.c:416
HRESULT navigate_new_window(HTMLOuterWindow *, IUri *, const WCHAR *, request_data_t *, IHTMLWindow2 **) DECLSPEC_HIDDEN
Definition: navigate.c:2132
#define TRACE(s)
Definition: solgame.cpp:4
#define OLEIVERB_SHOW
Definition: ole2.h:39

◆ 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: precomp.h:44
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 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ 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

Definition at line 25 of file hlink.c.

26 {
27  return CONTAINING_RECORD(iface, HTMLDocument, IHlinkTarget_iface);
28 }
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560

Referenced by HlinkTarget_AddRef(), HlinkTarget_GetBrowseContext(), HlinkTarget_GetFriendlyName(), HlinkTarget_GetMoniker(), HlinkTarget_Navigate(), HlinkTarget_QueryInterface(), HlinkTarget_Release(), and HlinkTarget_SetBrowseContext().

Variable Documentation

◆ HlinkTargetVtbl

const IHlinkTargetVtbl HlinkTargetVtbl
static
Initial value:
= {
}

Definition at line 95 of file hlink.c.

Referenced by HTMLDocument_Hlink_Init().