Commit 0cdb3c97 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

- Beginning implementation of true IPersistMoniker::Load.

- THIS macros cleanup.
parent 31dd4af5
......@@ -4,7 +4,7 @@ SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = mshtml.dll
IMPORTLIB = libmshtml.$(IMPLIBEXT)
IMPORTS = ole32 user32 gdi32 advapi32 kernel32 ntdll
IMPORTS = urlmon ole32 user32 gdi32 advapi32 kernel32 ntdll
EXTRALIBS = $(LIBUNICODE) -lstrmiids -luuid
EXTRADEFS = -DCOM_NO_WINDOWS_H
......
......@@ -26,6 +26,7 @@
#define NS_SUCCEEDED(res) (!NS_FAILED(res))
typedef struct NSContainer NSContainer;
typedef struct BindStatusCallback BindStatusCallback;
typedef struct {
const IHTMLDocument2Vtbl *lpHTMLDocument2Vtbl;
......@@ -56,6 +57,8 @@ typedef struct {
BOOL in_place_active;
BOOL ui_active;
BOOL has_key_path;
BindStatusCallback *status_callback;
} HTMLDocument;
struct NSContainer {
......@@ -86,6 +89,7 @@ struct NSContainer {
#define SERVPROV(x) ((IServiceProvider*) &(x)->lpServiceProviderVtbl)
#define CMDTARGET(x) ((IOleCommandTarget*) &(x)->lpOleCommandTargetVtbl)
#define CONTROL(x) ((IOleControl*) &(x)->lpOleControlVtbl)
#define STATUSCLB(x) ((IBindStatusCallback*) &(x)->lpBindStatusCallbackVtbl)
#define DEFINE_THIS(cls,ifc,iface) ((cls*)((BYTE*)(iface)-offsetof(cls,lp ## ifc ## Vtbl)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment