ReactOS 0.4.16-dev-197-g92996da
|
#include "mshtml_private.h"
#include <advpub.h>
#include <rpcproxy.h>
#include <mlang.h>
#include <initguid.h>
Go to the source code of this file.
Classes | |
class | ClassFactory |
Macros | |
#define | INF_SET_ID(id) |
#define | INF_SET_CLSID(clsid) INF_SET_ID(CLSID_ ## clsid) |
#define | X(x) if(IsEqualGUID(iid, &x)) return #x |
#define | XIID(x) X(IID_##x); |
#define | XDIID(x) X(DIID_##x); |
Typedefs | |
typedef HRESULT(* | CreateInstanceFunc) (IUnknown *, REFIID, void **) |
Functions | |
void (__cdecl *ccp_init)(ExternalCycleCollectionParticipant * | |
const CCObjCallback * | nsrefcnt (__cdecl *ccref_incr)(nsCycleCollectingAutoRefCnt * |
UINT | cp_from_charset_string (BSTR charset) |
static void | thread_detach (void) |
static void | free_strings (void) |
static void | process_detach (void) |
void | set_statustext (HTMLDocumentObj *doc, INT id, LPCWSTR arg) |
HRESULT | do_query_service (IUnknown *unk, REFGUID guid_service, REFIID riid, void **ppv) |
HINSTANCE | get_shdoclc (void) |
HDC | get_display_dc (void) |
BOOL WINAPI | DllMain (HINSTANCE hInstDLL, DWORD fdwReason, LPVOID reserved) |
static ClassFactory * | impl_from_IClassFactory (IClassFactory *iface) |
static HRESULT WINAPI | ClassFactory_QueryInterface (IClassFactory *iface, REFGUID riid, void **ppvObject) |
static ULONG WINAPI | ClassFactory_AddRef (IClassFactory *iface) |
static ULONG WINAPI | ClassFactory_Release (IClassFactory *iface) |
static HRESULT WINAPI | ClassFactory_CreateInstance (IClassFactory *iface, IUnknown *pUnkOuter, REFIID riid, void **ppvObject) |
static HRESULT WINAPI | ClassFactory_LockServer (IClassFactory *iface, BOOL dolock) |
static HRESULT | ClassFactory_Create (REFIID riid, void **ppv, CreateInstanceFunc fnCreateInstance) |
HRESULT WINAPI | DllGetClassObject (REFCLSID rclsid, REFIID riid, LPVOID *ppv) |
HRESULT WINAPI | DllCanUnloadNow (void) |
HRESULT WINAPI | RunHTMLApplication (HINSTANCE hinst, HINSTANCE hPrevInst, LPSTR szCmdLine, INT nCmdShow) |
DWORD WINAPI | RNIGetCompatibleVersion (void) |
HRESULT WINAPI | DllInstall (BOOL bInstall, LPCWSTR cmdline) |
HRESULT WINAPI | ShowHTMLDialog (HWND hwndParent, IMoniker *pMk, VARIANT *pvarArgIn, WCHAR *pchOptions, VARIANT *pvarArgOut) |
void WINAPI | PrintHTML (HWND hwnd, HINSTANCE handle, LPCSTR cmdline, INT show) |
DEFINE_GUID (CLSID_CBackgroundPropertyPage, 0x3050F232, 0x98B5, 0x11CF, 0xBB, 0x82, 0x00, 0xAA, 0x00, 0xBD, 0xCE, 0x0B) | |
DEFINE_GUID (CLSID_CCDAnchorPropertyPage, 0x3050F1FC, 0x98B5, 0x11CF, 0xBB, 0x82, 0x00, 0xAA, 0x00, 0xBD, 0xCE, 0x0B) | |
DEFINE_GUID (CLSID_CCDGenericPropertyPage, 0x3050F17F, 0x98B5, 0x11CF, 0xBB, 0x82, 0x00, 0xAA, 0x00, 0xBD, 0xCE, 0x0B) | |
DEFINE_GUID (CLSID_CDwnBindInfo, 0x3050F3C2, 0x98B5, 0x11CF, 0xBB, 0x82, 0x00, 0xAA, 0x00, 0xBD, 0xCE, 0x0B) | |
DEFINE_GUID (CLSID_CHiFiUses, 0x5AAF51B3, 0xB1F0, 0x11D1, 0xB6, 0xAB, 0x00, 0xA0, 0xC9, 0x08, 0x33, 0xE9) | |
DEFINE_GUID (CLSID_CHtmlComponentConstructor, 0x3050F4F8, 0x98B5, 0x11CF, 0xBB, 0x82, 0x00, 0xAA, 0x00, 0xBD, 0xCE, 0x0B) | |
DEFINE_GUID (CLSID_CInlineStylePropertyPage, 0x3050F296, 0x98B5, 0x11CF, 0xBB, 0x82, 0x00, 0xAA, 0x00, 0xBD, 0xCE, 0x0B) | |
DEFINE_GUID (CLSID_CPeerHandler, 0x5AAF51B2, 0xB1F0, 0x11D1, 0xB6, 0xAB, 0x00, 0xA0, 0xC9, 0x08, 0x33, 0xE9) | |
DEFINE_GUID (CLSID_CRecalcEngine, 0x3050F499, 0x98B5, 0x11CF, 0xBB, 0x82, 0x00, 0xAA, 0x00, 0xBD, 0xCE, 0x0B) | |
DEFINE_GUID (CLSID_CSvrOMUses, 0x3050F4F0, 0x98B5, 0x11CF, 0xBB, 0x82, 0x00, 0xAA, 0x00, 0xBD, 0xCE, 0x0B) | |
DEFINE_GUID (CLSID_CrSource, 0x65014010, 0x9F62, 0x11D1, 0xA6, 0x51, 0x00, 0x60, 0x08, 0x11, 0xD5, 0xCE) | |
DEFINE_GUID (CLSID_ExternalFrameworkSite, 0x3050F163, 0x98B5, 0x11CF, 0xBB, 0x82, 0x00, 0xAA, 0x00, 0xBD, 0xCE, 0x0B) | |
DEFINE_GUID (CLSID_HTADocument, 0x3050F5C8, 0x98B5, 0x11CF, 0xBB, 0x82, 0x00, 0xAA, 0x00, 0xBD, 0xCE, 0x0B) | |
DEFINE_GUID (CLSID_HTMLPluginDocument, 0x25336921, 0x03F9, 0x11CF, 0x8F, 0xD0, 0x00, 0xAA, 0x00, 0x68, 0x6F, 0x13) | |
DEFINE_GUID (CLSID_HTMLPopup, 0x3050F667, 0x98B5, 0x11CF, 0xBB, 0x82, 0x00, 0xAA, 0x00, 0xBD, 0xCE, 0x0B) | |
DEFINE_GUID (CLSID_HTMLPopupDoc, 0x3050F67D, 0x98B5, 0x11CF, 0xBB, 0x82, 0x00, 0xAA, 0x00, 0xBD, 0xCE, 0x0B) | |
DEFINE_GUID (CLSID_HTMLServerDoc, 0x3050F4E7, 0x98B5, 0x11CF, 0xBB, 0x82, 0x00, 0xAA, 0x00, 0xBD, 0xCE, 0x0B) | |
DEFINE_GUID (CLSID_IImageDecodeFilter, 0x607FD4E8, 0x0A03, 0x11D1, 0xAB, 0x1D, 0x00, 0xC0, 0x4F, 0xC9, 0xB3, 0x04) | |
DEFINE_GUID (CLSID_IImgCtx, 0x3050F3D6, 0x98B5, 0x11CF, 0xBB, 0x82, 0x00, 0xAA, 0x00, 0xBD, 0xCE, 0x0B) | |
DEFINE_GUID (CLSID_IntDitherer, 0x05F6FE1A, 0xECEF, 0x11D0, 0xAA, 0xE7, 0x00, 0xC0, 0x4F, 0xC9, 0xB3, 0x04) | |
DEFINE_GUID (CLSID_MHTMLDocument, 0x3050F3D9, 0x98B5, 0x11CF, 0xBB, 0x82, 0x00, 0xAA, 0x00, 0xBD, 0xCE, 0x0B) | |
DEFINE_GUID (CLSID_TridentAPI, 0x429AF92C, 0xA51F, 0x11D2, 0x86, 0x1E, 0x00, 0xC0, 0x4F, 0xA3, 0x5C, 0x89) | |
static HRESULT | register_server (BOOL do_register) |
HRESULT WINAPI | DllRegisterServer (void) |
HRESULT WINAPI | DllUnregisterServer (void) |
const char * | debugstr_mshtml_guid (const GUID *iid) |
Variables | |
HINSTANCE | hInst |
DWORD | mshtml_tls = TLS_OUT_OF_INDEXES |
const CCObjCallback nsISupports nsISupports ExternalCycleCollectionParticipant | nsrefcnt |
const char nsCycleCollectionTraversalCallback const char nsCycleCollectionTraversalCallback *static HINSTANCE | shdoclc = NULL |
static HDC | display_dc |
static WCHAR * | status_strings [IDS_STATUS_LAST-IDS_STATUS_FIRST+1] |
static IMultiLanguage2 * | mlang |
static const IClassFactoryVtbl | HTMLClassFactoryVtbl |
|
static |
Definition at line 233 of file main.c.
|
static |
Definition at line 278 of file main.c.
Referenced by DllGetClassObject().
|
static |
Definition at line 255 of file main.c.
|
static |
|
static |
|
static |
Definition at line 45 of file main.c.
Referenced by get_document_charset(), and nsIOService_NewURI().
Definition at line 542 of file main.c.
Referenced by ClassFactory_QueryInterface(), ConnectionPoint_QueryInterface(), ConnectionPointContainer_FindConnectionPoint(), CustomDoc_QueryInterface(), DllGetClassObject(), editsvcs_QueryInterface(), EnumConnections_QueryInterface(), Function_QueryInterface(), get_typeinfo(), HTMLAttributeCollection_QueryInterface(), HTMLCurrentStyle_QueryInterface(), HTMLDocument_Create(), HTMLDocumentNode_QI(), HTMLDOMAttribute_QueryInterface(), HTMLDOMChildrenCollection_QueryInterface(), HTMLDOMChildrenCollectionEnum_QueryInterface(), HTMLDOMImplementation_QueryInterface(), HTMLDOMNode_QI(), HTMLDOMTextNode_QI(), HTMLElementCollection_QueryInterface(), HTMLElementCollectionEnum_QueryInterface(), HTMLEmbedElement_QI(), HTMLEventObj_QueryInterface(), HTMLFiltersCollection_QueryInterface(), HTMLHeadElement_QI(), HTMLImageElementFactory_QueryInterface(), HTMLLoadOptions_Create(), HtmlLoadOptions_QueryInterface(), HTMLLocation_QueryInterface(), HTMLMimeTypesCollection_QueryInterface(), HTMLObjectElement_QI(), HTMLOptionElementFactory_QueryInterface(), HTMLPluginsCollection_QueryInterface(), HTMLRect_QueryInterface(), HTMLScreen_QueryInterface(), HTMLSelectionObject_QueryInterface(), HTMLStorage_QueryInterface(), HTMLStyle_QueryInterface(), HTMLStyleSheet_QueryInterface(), HTMLStyleSheetRulesCollection_QueryInterface(), HTMLStyleSheetsCollection_QueryInterface(), HTMLTitleElement_QI(), HTMLTxtRange_QueryInterface(), HTMLWindow2_QueryInterface(), HTMLWindowSP_QueryService(), HTMLXMLHttpRequest_QueryInterface(), HTMLXMLHttpRequestFactory_QueryInterface(), InPlaceFrame_QueryInterface(), InPlaceUIWindow_QueryInterface(), OmHistory_QueryInterface(), OmNavigator_QueryInterface(), SupportErrorInfo_InterfaceSupportsErrorInfo(), typeinfo_invoke(), and wrapper_QueryInterface().
DEFINE_GUID | ( | CLSID_CBackgroundPropertyPage | , |
0x3050F232 | , | ||
0x98B5 | , | ||
0x11CF | , | ||
0xBB | , | ||
0x82 | , | ||
0x00 | , | ||
0xAA | , | ||
0x00 | , | ||
0xBD | , | ||
0xCE | , | ||
0x0B | |||
) |
DEFINE_GUID | ( | CLSID_CCDAnchorPropertyPage | , |
0x3050F1FC | , | ||
0x98B5 | , | ||
0x11CF | , | ||
0xBB | , | ||
0x82 | , | ||
0x00 | , | ||
0xAA | , | ||
0x00 | , | ||
0xBD | , | ||
0xCE | , | ||
0x0B | |||
) |
DEFINE_GUID | ( | CLSID_CCDGenericPropertyPage | , |
0x3050F17F | , | ||
0x98B5 | , | ||
0x11CF | , | ||
0xBB | , | ||
0x82 | , | ||
0x00 | , | ||
0xAA | , | ||
0x00 | , | ||
0xBD | , | ||
0xCE | , | ||
0x0B | |||
) |
DEFINE_GUID | ( | CLSID_CDwnBindInfo | , |
0x3050F3C2 | , | ||
0x98B5 | , | ||
0x11CF | , | ||
0xBB | , | ||
0x82 | , | ||
0x00 | , | ||
0xAA | , | ||
0x00 | , | ||
0xBD | , | ||
0xCE | , | ||
0x0B | |||
) |
DEFINE_GUID | ( | CLSID_CHiFiUses | , |
0x5AAF51B3 | , | ||
0xB1F0 | , | ||
0x11D1 | , | ||
0xB6 | , | ||
0xAB | , | ||
0x00 | , | ||
0xA0 | , | ||
0xC9 | , | ||
0x08 | , | ||
0x33 | , | ||
0xE9 | |||
) |
DEFINE_GUID | ( | CLSID_CHtmlComponentConstructor | , |
0x3050F4F8 | , | ||
0x98B5 | , | ||
0x11CF | , | ||
0xBB | , | ||
0x82 | , | ||
0x00 | , | ||
0xAA | , | ||
0x00 | , | ||
0xBD | , | ||
0xCE | , | ||
0x0B | |||
) |
DEFINE_GUID | ( | CLSID_CInlineStylePropertyPage | , |
0x3050F296 | , | ||
0x98B5 | , | ||
0x11CF | , | ||
0xBB | , | ||
0x82 | , | ||
0x00 | , | ||
0xAA | , | ||
0x00 | , | ||
0xBD | , | ||
0xCE | , | ||
0x0B | |||
) |
DEFINE_GUID | ( | CLSID_CPeerHandler | , |
0x5AAF51B2 | , | ||
0xB1F0 | , | ||
0x11D1 | , | ||
0xB6 | , | ||
0xAB | , | ||
0x00 | , | ||
0xA0 | , | ||
0xC9 | , | ||
0x08 | , | ||
0x33 | , | ||
0xE9 | |||
) |
DEFINE_GUID | ( | CLSID_CRecalcEngine | , |
0x3050F499 | , | ||
0x98B5 | , | ||
0x11CF | , | ||
0xBB | , | ||
0x82 | , | ||
0x00 | , | ||
0xAA | , | ||
0x00 | , | ||
0xBD | , | ||
0xCE | , | ||
0x0B | |||
) |
DEFINE_GUID | ( | CLSID_CrSource | , |
0x65014010 | , | ||
0x9F62 | , | ||
0x11D1 | , | ||
0xA6 | , | ||
0x51 | , | ||
0x00 | , | ||
0x60 | , | ||
0x08 | , | ||
0x11 | , | ||
0xD5 | , | ||
0xCE | |||
) |
DEFINE_GUID | ( | CLSID_CSvrOMUses | , |
0x3050F4F0 | , | ||
0x98B5 | , | ||
0x11CF | , | ||
0xBB | , | ||
0x82 | , | ||
0x00 | , | ||
0xAA | , | ||
0x00 | , | ||
0xBD | , | ||
0xCE | , | ||
0x0B | |||
) |
DEFINE_GUID | ( | CLSID_ExternalFrameworkSite | , |
0x3050F163 | , | ||
0x98B5 | , | ||
0x11CF | , | ||
0xBB | , | ||
0x82 | , | ||
0x00 | , | ||
0xAA | , | ||
0x00 | , | ||
0xBD | , | ||
0xCE | , | ||
0x0B | |||
) |
DEFINE_GUID | ( | CLSID_HTADocument | , |
0x3050F5C8 | , | ||
0x98B5 | , | ||
0x11CF | , | ||
0xBB | , | ||
0x82 | , | ||
0x00 | , | ||
0xAA | , | ||
0x00 | , | ||
0xBD | , | ||
0xCE | , | ||
0x0B | |||
) |
DEFINE_GUID | ( | CLSID_HTMLPluginDocument | , |
0x25336921 | , | ||
0x03F9 | , | ||
0x11CF | , | ||
0x8F | , | ||
0xD0 | , | ||
0x00 | , | ||
0xAA | , | ||
0x00 | , | ||
0x68 | , | ||
0x6F | , | ||
0x13 | |||
) |
DEFINE_GUID | ( | CLSID_HTMLPopup | , |
0x3050F667 | , | ||
0x98B5 | , | ||
0x11CF | , | ||
0xBB | , | ||
0x82 | , | ||
0x00 | , | ||
0xAA | , | ||
0x00 | , | ||
0xBD | , | ||
0xCE | , | ||
0x0B | |||
) |
DEFINE_GUID | ( | CLSID_HTMLPopupDoc | , |
0x3050F67D | , | ||
0x98B5 | , | ||
0x11CF | , | ||
0xBB | , | ||
0x82 | , | ||
0x00 | , | ||
0xAA | , | ||
0x00 | , | ||
0xBD | , | ||
0xCE | , | ||
0x0B | |||
) |
DEFINE_GUID | ( | CLSID_HTMLServerDoc | , |
0x3050F4E7 | , | ||
0x98B5 | , | ||
0x11CF | , | ||
0xBB | , | ||
0x82 | , | ||
0x00 | , | ||
0xAA | , | ||
0x00 | , | ||
0xBD | , | ||
0xCE | , | ||
0x0B | |||
) |
DEFINE_GUID | ( | CLSID_IImageDecodeFilter | , |
0x607FD4E8 | , | ||
0x0A03 | , | ||
0x11D1 | , | ||
0xAB | , | ||
0x1D | , | ||
0x00 | , | ||
0xC0 | , | ||
0x4F | , | ||
0xC9 | , | ||
0xB3 | , | ||
0x04 | |||
) |
DEFINE_GUID | ( | CLSID_IImgCtx | , |
0x3050F3D6 | , | ||
0x98B5 | , | ||
0x11CF | , | ||
0xBB | , | ||
0x82 | , | ||
0x00 | , | ||
0xAA | , | ||
0x00 | , | ||
0xBD | , | ||
0xCE | , | ||
0x0B | |||
) |
DEFINE_GUID | ( | CLSID_IntDitherer | , |
0x05F6FE1A | , | ||
0xECEF | , | ||
0x11D0 | , | ||
0xAA | , | ||
0xE7 | , | ||
0x00 | , | ||
0xC0 | , | ||
0x4F | , | ||
0xC9 | , | ||
0xB3 | , | ||
0x04 | |||
) |
DEFINE_GUID | ( | CLSID_MHTMLDocument | , |
0x3050F3D9 | , | ||
0x98B5 | , | ||
0x11CF | , | ||
0xBB | , | ||
0x82 | , | ||
0x00 | , | ||
0xAA | , | ||
0x00 | , | ||
0xBD | , | ||
0xCE | , | ||
0x0B | |||
) |
DEFINE_GUID | ( | CLSID_TridentAPI | , |
0x429AF92C | , | ||
0xA51F | , | ||
0x11D2 | , | ||
0x86 | , | ||
0x1E | , | ||
0x00 | , | ||
0xC0 | , | ||
0x4F | , | ||
0xA3 | , | ||
0x5C | , | ||
0x89 | |||
) |
Definition at line 298 of file main.c.
Definition at line 188 of file main.c.
Definition at line 519 of file main.c.
Definition at line 535 of file main.c.
Definition at line 148 of file main.c.
Referenced by hlink_frame_navigate(), HTMLWindow2_open(), navigate_new_window(), OleObject_SetClientSite(), and ServiceProvider_QueryService().
Definition at line 87 of file main.c.
Referenced by process_detach().
Definition at line 173 of file main.c.
Referenced by HTMLScreen_get_colorDepth(), HTMLScreen_get_height(), and HTMLScreen_get_width().
Definition at line 162 of file main.c.
Referenced by HTMLWindow2_alert(), HTMLWindow2_confirm(), prompt_dlgproc(), set_default_templates(), and show_context_menu().
|
inlinestatic |
const CCObjCallback * nsrefcnt | ( | __cdecl * | ccref_incr | ) |
Definition at line 94 of file main.c.
Referenced by DllMain().
Definition at line 419 of file main.c.
Referenced by DllRegisterServer(), and DllUnregisterServer().
HRESULT WINAPI RunHTMLApplication | ( | HINSTANCE | hinst, |
HINSTANCE | hPrevInst, | ||
LPSTR | szCmdLine, | ||
INT | nCmdShow | ||
) |
void set_statustext | ( | HTMLDocumentObj * | doc, |
INT | id, | ||
LPCWSTR | arg | ||
) |
Definition at line 111 of file main.c.
Referenced by handle_load(), and set_downloading_proc().
HRESULT WINAPI ShowHTMLDialog | ( | HWND | hwndParent, |
IMoniker * | pMk, | ||
VARIANT * | pvarArgIn, | ||
WCHAR * | pchOptions, | ||
VARIANT * | pvarArgOut | ||
) |
Definition at line 73 of file main.c.
Referenced by DllMain().
|
static |
Definition at line 41 of file main.c.
Referenced by get_display_dc(), getwinmetafilebits(), and process_detach().
|
static |
Definition at line 270 of file main.c.
Referenced by ClassFactory_Create().
|
static |
Definition at line 43 of file main.c.
Referenced by cp_from_charset_string(), EnumCodePage_create(), EnumScript_create(), MultiLanguage_create(), and process_detach().
DWORD mshtml_tls = TLS_OUT_OF_INDEXES |
Definition at line 31 of file main.c.
Referenced by get_thread_data(), and process_detach().
|
static |
Definition at line 40 of file main.c.
Referenced by get_shdoclc(), and process_detach().
|
static |
Definition at line 42 of file main.c.
Referenced by free_strings(), and set_statustext().