Implement NtAccessCheck.
[wine/gsoc-2012-control.git] / dlls / mshtml / mshtml_private.h
bloba20f61b3eee74dc467fadced1bf73dc607061075
1 /*
2 * Copyright 2005 Jacek Caban
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 typedef struct {
20 IHTMLDocument2Vtbl *lpHTMLDocument2Vtbl;
21 IPersistMonikerVtbl *lpPersistMonikerVtbl;
22 IPersistFileVtbl *lpPersistFileVtbl;
23 IMonikerPropVtbl *lpMonikerPropVtbl;
24 IOleObjectVtbl *lpOleObjectVtbl;
25 IOleDocumentVtbl *lpOleDocumentVtbl;
26 IOleDocumentViewVtbl *lpOleDocumentViewVtbl;
27 IOleInPlaceActiveObjectVtbl *lpOleInPlaceActiveObjectVtbl;
29 ULONG ref;
31 IOleClientSite *client;
32 IOleInPlaceSite *ipsite;
33 IOleInPlaceFrame *frame;
35 HWND hwnd;
36 } HTMLDocument;
38 #define HTMLDOC(x) ((IHTMLDocument2*) &(x)->lpHTMLDocument2Vtbl)
39 #define PERSIST(x) ((IPersist*) &(x)->lpPersistFileVtbl)
40 #define PERSISTMON(x) ((IPersistMoniker*) &(x)->lpPersistMonikerVtbl)
41 #define PERSISTFILE(x) ((IPersistFile*) &(x)->lpPersistFileVtbl)
42 #define MONPROP(x) ((IMonikerProp*) &(x)->lpMonikerPropVtbl)
43 #define OLEOBJ(x) ((IOleObject*) &(x)->lpOleObjectVtbl)
44 #define OLEDOC(x) ((IOleDocument*) &(x)->lpOleDocumentVtbl)
45 #define DOCVIEW(x) ((IOleDocumentView*) &(x)->lpOleDocumentViewVtbl)
46 #define ACTOBJ(x) ((IOleInPlaceActiveObject*) &(x)->lpOleInPlaceActiveObjectVtbl)
48 HRESULT HTMLDocument_Create(IUnknown*,REFIID,void**);
50 void HTMLDocument_Persist_Init(HTMLDocument*);
51 void HTMLDocument_OleObj_Init(HTMLDocument*);
52 void HTMLDocument_View_Init(HTMLDocument*);
54 extern HINSTANCE hInst;