29#define LCIDToLocaleName LCIDToLocaleName_
64 *
ppv = &
This->IHTMLDOMImplementation_iface;
106 return IDispatchEx_GetTypeInfoCount(&
This->dispex.IDispatchEx_iface, pctinfo);
114 return IDispatchEx_GetTypeInfo(&
This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
122 return IDispatchEx_GetIDsOfNames(&
This->dispex.IDispatchEx_iface,
riid, rgszNames,
123 cNames, lcid, rgDispId);
128 EXCEPINFO *pExcepInfo,
UINT *puArgErr)
132 return IDispatchEx_Invoke(&
This->dispex.IDispatchEx_iface, dispIdMember,
riid,
133 lcid,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
143 *pfHasFeature = VARIANT_FALSE;
159 IHTMLDOMImplementation_tid,
164 IHTMLDOMImplementation_tid,
173 dom_implementation = heap_alloc_zero(
sizeof(*dom_implementation));
174 if(!dom_implementation)
178 dom_implementation->
ref = 1;
199 *
ppv = &
This->IOmHistory_iface;
201 *
ppv = &
This->IOmHistory_iface;
251 return IDispatchEx_GetTypeInfo(&
This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
259 return IDispatchEx_GetIDsOfNames(&
This->dispex.IDispatchEx_iface,
riid, rgszNames, cNames,
268 return IDispatchEx_Invoke(&
This->dispex.IDispatchEx_iface, dispIdMember,
riid, lcid,
wFlags,
269 pDispParams, pVarResult, pExcepInfo, puArgErr);
278 if(!
This->window || !
This->window->base.outer_window->doc_obj
279 || !
This->window->base.outer_window->doc_obj->travel_log) {
282 *
p = ITravelLog_CountEntries(
This->window->base.outer_window->doc_obj->travel_log,
283 This->window->base.outer_window->doc_obj->browser_service);
339 history = heap_alloc_zero(
sizeof(*history));
374 *
ppv = &
This->IHTMLPluginsCollection_iface;
376 *
ppv = &
This->IHTMLPluginsCollection_iface;
419 return IDispatchEx_GetTypeInfoCount(&
This->dispex.IDispatchEx_iface, pctinfo);
426 return IDispatchEx_GetTypeInfo(&
This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
433 return IDispatchEx_GetIDsOfNames(&
This->dispex.IDispatchEx_iface,
riid, rgszNames, cNames,
439 EXCEPINFO *pExcepInfo,
UINT *puArgErr)
442 return IDispatchEx_Invoke(&
This->dispex.IDispatchEx_iface, dispIdMember,
riid, lcid,
443 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
480 IHTMLPluginsCollection_tid,
494 col = heap_alloc_zero(
sizeof(*col));
530 *
ppv = &
This->IHTMLMimeTypesCollection_iface;
532 *
ppv = &
This->IHTMLMimeTypesCollection_iface;
575 return IDispatchEx_GetTypeInfoCount(&
This->dispex.IDispatchEx_iface, pctinfo);
582 return IDispatchEx_GetTypeInfo(&
This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
589 return IDispatchEx_GetIDsOfNames(&
This->dispex.IDispatchEx_iface,
riid, rgszNames, cNames,
595 EXCEPINFO *pExcepInfo,
UINT *puArgErr)
598 return IDispatchEx_Invoke(&
This->dispex.IDispatchEx_iface, dispIdMember,
riid, lcid,
599 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
625 IHTMLMimeTypesCollection_tid,
630 IHTMLMimeTypesCollection_tid,
639 col = heap_alloc_zero(
sizeof(*col));
666 *
ppv = &
This->IOmNavigator_iface;
668 *
ppv = &
This->IOmNavigator_iface;
722 return IDispatchEx_GetTypeInfo(&
This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
731 return IDispatchEx_GetIDsOfNames(&
This->dispex.IDispatchEx_iface,
riid, rgszNames, cNames,
737 VARIANT *pVarResult, EXCEPINFO *pExcepInfo,
UINT *puArgErr)
741 return IDispatchEx_Invoke(&
This->dispex.IDispatchEx_iface, dispIdMember,
riid, lcid,
wFlags,
742 pDispParams, pVarResult, pExcepInfo, puArgErr);
749 static const WCHAR mozillaW[] = {
'M',
'o',
'z',
'i',
'l',
'l',
'a',0};
761 static const WCHAR app_nameW[] =
762 {
'M',
'i',
'c',
'r',
'o',
's',
'o',
'f',
't',
' ',
763 'I',
'n',
't',
'e',
'r',
'n',
'e',
't',
' ',
764 'E',
'x',
'p',
'l',
'o',
'r',
'e',
'r',0};
791 FIXME(
"Unsupported user agent\n");
850 if(!
This->mime_types) {
857 IHTMLMimeTypesCollection_AddRef(&
This->mime_types->IHTMLMimeTypesCollection_iface);
860 *
p = &
This->mime_types->IHTMLMimeTypesCollection_iface;
877 IHTMLPluginsCollection_AddRef(&
This->plugins->IHTMLPluginsCollection_iface);
880 *
p = &
This->plugins->IHTMLPluginsCollection_iface;
905 static const WCHAR objectW[] = {
'[',
'o',
'b',
'j',
'e',
'c',
't',
']',0};
920 static const WCHAR cpu_classW[] =
991 static const WCHAR platformW[] = {
'W',
'i',
'n',
'6',
'4',0};
993 static const WCHAR platformW[] = {
'W',
'i',
'n',
'3',
'2',0};
1006 static const WCHAR zeroW[] = {
'0',0};
1026 WARN(
"(%p)->(%p) semi-stub, returning true\n",
This,
p);
1075 DispHTMLNavigator_tid,
1084 ret = heap_alloc_zero(
sizeof(*
ret));
1093 return &
ret->IOmNavigator_iface;
int strncmp(const char *String1, const char *String2, ACPI_SIZE Count)
static BOOL heap_free(void *mem)
#define InterlockedIncrement
#define InterlockedDecrement
#define MultiByteToWideChar
static const WCHAR version[]
LANGID WINAPI GetUserDefaultUILanguage(void)
INT WINAPI GetLocaleInfoW(LCID lcid, LCTYPE lctype, LPWSTR buffer, INT len)
const char * debugstr_mshtml_guid(const GUID *iid)
HRESULT WINAPI ObtainUserAgentString(DWORD dwOption, LPSTR pcszUAOut, DWORD *cbSize)
static const WCHAR objectW[]
GLuint GLuint GLsizei count
GLenum GLenum GLsizei const GLuint GLboolean enabled
HRESULT init_dispex(jsdisp_t *dispex, script_ctx_t *ctx, const builtin_info_t *builtin_info, jsdisp_t *prototype)
static const char * debugstr_variant(const VARIANT *var)
static IHTMLWindow2 * window
static VARIANTARG static DISPID
INTERNETFEATURELIST feature
void release_dispex(DispatchEx *This)
BOOL dispex_query_interface(DispatchEx *This, REFIID riid, void **ppv)
#define LOCALE_USER_DEFAULT
#define LOCALE_SYSTEM_DEFAULT
BSTR WINAPI SysAllocString(LPCOLESTR str)
void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
BSTR WINAPI SysAllocStringLen(const OLECHAR *str, unsigned int len)
HRESULT create_dom_implementation(IHTMLDOMImplementation **ret)
static const tid_t OmNavigator_iface_tids[]
static HRESULT WINAPI HTMLDOMImplementation_Invoke(IHTMLDOMImplementation *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI HTMLPluginsCollection_QueryInterface(IHTMLPluginsCollection *iface, REFIID riid, void **ppv)
static HRESULT WINAPI OmNavigator_get_opsProfile(IOmNavigator *iface, IHTMLOpsProfile **p)
static HRESULT WINAPI HTMLPluginsCollection_refresh(IHTMLPluginsCollection *iface, VARIANT_BOOL reload)
static HRESULT WINAPI OmHistory_get_length(IOmHistory *iface, short *p)
static HRESULT WINAPI OmHistory_GetTypeInfo(IOmHistory *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static OmHistory * impl_from_IOmHistory(IOmHistory *iface)
static HRESULT WINAPI OmHistory_back(IOmHistory *iface, VARIANT *pvargdistance)
static HRESULT WINAPI OmNavigator_get_cookieEnabled(IOmNavigator *iface, VARIANT_BOOL *p)
static dispex_static_data_t HTMLPluginsCollection_dispex
static HRESULT WINAPI OmHistory_GetTypeInfoCount(IOmHistory *iface, UINT *pctinfo)
static HTMLMimeTypesCollection * impl_from_IHTMLMimeTypesCollection(IHTMLMimeTypesCollection *iface)
static const IOmNavigatorVtbl OmNavigatorVtbl
static ULONG WINAPI HTMLDOMImplementation_AddRef(IHTMLDOMImplementation *iface)
static HRESULT WINAPI HTMLDOMImplementation_QueryInterface(IHTMLDOMImplementation *iface, REFIID riid, void **ppv)
static ULONG WINAPI HTMLPluginsCollection_AddRef(IHTMLPluginsCollection *iface)
static dispex_static_data_t HTMLDOMImplementation_dispex
static HRESULT WINAPI OmNavigator_get_userAgent(IOmNavigator *iface, BSTR *p)
static const tid_t HTMLDOMImplementation_iface_tids[]
static ULONG WINAPI OmHistory_AddRef(IOmHistory *iface)
static HRESULT WINAPI HTMLMimeTypesCollection_GetTypeInfo(IHTMLMimeTypesCollection *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI OmHistory_Invoke(IOmHistory *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static ULONG WINAPI HTMLPluginsCollection_Release(IHTMLPluginsCollection *iface)
static HRESULT WINAPI OmNavigator_taintEnabled(IOmNavigator *iface, VARIANT_BOOL *enabled)
static HRESULT WINAPI OmNavigator_get_appName(IOmNavigator *iface, BSTR *p)
static dispex_static_data_t HTMLMimeTypesCollection_dispex
static HRESULT WINAPI HTMLDOMImplementation_hasFeature(IHTMLDOMImplementation *iface, BSTR feature, VARIANT version, VARIANT_BOOL *pfHasFeature)
static HRESULT WINAPI HTMLDOMImplementation_GetTypeInfo(IHTMLDOMImplementation *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HTMLPluginsCollection * impl_from_IHTMLPluginsCollection(IHTMLPluginsCollection *iface)
static HRESULT WINAPI OmNavigator_javaEnabled(IOmNavigator *iface, VARIANT_BOOL *enabled)
static ULONG WINAPI HTMLMimeTypesCollection_Release(IHTMLMimeTypesCollection *iface)
static ULONG WINAPI OmNavigator_Release(IOmNavigator *iface)
static const tid_t HTMLPluginsCollection_iface_tids[]
static HRESULT WINAPI HTMLPluginsCollection_GetTypeInfoCount(IHTMLPluginsCollection *iface, UINT *pctinfo)
static ULONG WINAPI HTMLDOMImplementation_Release(IHTMLDOMImplementation *iface)
static HRESULT WINAPI HTMLPluginsCollection_GetIDsOfNames(IHTMLPluginsCollection *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI OmNavigator_get_appVersion(IOmNavigator *iface, BSTR *p)
static HRESULT WINAPI HTMLMimeTypesCollection_get_length(IHTMLMimeTypesCollection *iface, LONG *p)
static HRESULT WINAPI OmNavigator_Invoke(IOmNavigator *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static dispex_static_data_t OmHistory_dispex
static HRESULT WINAPI OmNavigator_get_onLine(IOmNavigator *iface, VARIANT_BOOL *p)
static HRESULT WINAPI OmHistory_forward(IOmHistory *iface, VARIANT *pvargdistance)
static HRESULT WINAPI OmNavigator_get_cpuClass(IOmNavigator *iface, BSTR *p)
static HRESULT WINAPI OmNavigator_GetTypeInfo(IOmNavigator *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI HTMLPluginsCollection_get_length(IHTMLPluginsCollection *iface, LONG *p)
static HRESULT WINAPI OmNavigator_get_browserLanguage(IOmNavigator *iface, BSTR *p)
static HTMLDOMImplementation * impl_from_IHTMLDOMImplementation(IHTMLDOMImplementation *iface)
static HRESULT WINAPI OmNavigator_get_connectionSpeed(IOmNavigator *iface, LONG *p)
static ULONG WINAPI OmNavigator_AddRef(IOmNavigator *iface)
static HRESULT WINAPI OmNavigator_get_appMinorVersion(IOmNavigator *iface, BSTR *p)
static HRESULT WINAPI OmNavigator_QueryInterface(IOmNavigator *iface, REFIID riid, void **ppv)
HRESULT create_history(HTMLInnerWindow *window, OmHistory **ret)
static HRESULT WINAPI OmNavigator_GetTypeInfoCount(IOmNavigator *iface, UINT *pctinfo)
static const tid_t OmHistory_iface_tids[]
static HRESULT WINAPI HTMLPluginsCollection_Invoke(IHTMLPluginsCollection *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI OmNavigator_get_appCodeName(IOmNavigator *iface, BSTR *p)
static dispex_static_data_t OmNavigator_dispex
static HRESULT WINAPI OmNavigator_get_platform(IOmNavigator *iface, BSTR *p)
static HRESULT create_plugins_collection(OmNavigator *navigator, HTMLPluginsCollection **ret)
static const IHTMLPluginsCollectionVtbl HTMLPluginsCollectionVtbl
static ULONG WINAPI HTMLMimeTypesCollection_AddRef(IHTMLMimeTypesCollection *iface)
static HRESULT WINAPI OmHistory_QueryInterface(IOmHistory *iface, REFIID riid, void **ppv)
static OmNavigator * impl_from_IOmNavigator(IOmNavigator *iface)
static HRESULT WINAPI OmNavigator_get_systemLanguage(IOmNavigator *iface, BSTR *p)
static const IHTMLMimeTypesCollectionVtbl HTMLMimeTypesCollectionVtbl
static const IOmHistoryVtbl OmHistoryVtbl
static HRESULT WINAPI HTMLDOMImplementation_GetIDsOfNames(IHTMLDOMImplementation *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
IOmNavigator * OmNavigator_Create(void)
static HRESULT WINAPI HTMLMimeTypesCollection_GetTypeInfoCount(IHTMLMimeTypesCollection *iface, UINT *pctinfo)
static HRESULT WINAPI OmNavigator_toString(IOmNavigator *iface, BSTR *String)
static HRESULT WINAPI OmNavigator_get_mimeTypes(IOmNavigator *iface, IHTMLMimeTypesCollection **p)
static HRESULT WINAPI HTMLMimeTypesCollection_QueryInterface(IHTMLMimeTypesCollection *iface, REFIID riid, void **ppv)
static const tid_t HTMLMimeTypesCollection_iface_tids[]
static HRESULT WINAPI HTMLPluginsCollection_GetTypeInfo(IHTMLPluginsCollection *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static const IHTMLDOMImplementationVtbl HTMLDOMImplementationVtbl
static HRESULT WINAPI OmNavigator_GetIDsOfNames(IOmNavigator *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI HTMLDOMImplementation_GetTypeInfoCount(IHTMLDOMImplementation *iface, UINT *pctinfo)
static HRESULT WINAPI OmHistory_GetIDsOfNames(IOmHistory *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI OmNavigator_get_userProfile(IOmNavigator *iface, IHTMLOpsProfile **p)
static HRESULT WINAPI HTMLMimeTypesCollection_Invoke(IHTMLMimeTypesCollection *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI OmNavigator_get_plugins(IOmNavigator *iface, IHTMLPluginsCollection **p)
static HRESULT WINAPI HTMLMimeTypesCollection_GetIDsOfNames(IHTMLMimeTypesCollection *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI OmNavigator_get_userLanguage(IOmNavigator *iface, BSTR *p)
static HRESULT create_mime_types_collection(OmNavigator *navigator, HTMLMimeTypesCollection **ret)
static ULONG WINAPI OmHistory_Release(IOmHistory *iface)
static HRESULT WINAPI OmHistory_go(IOmHistory *iface, VARIANT *pvargdistance)
static HRESULT get_language_string(LCID lcid, BSTR *p)
#define IsEqualGUID(rguid1, rguid2)
IHTMLDOMImplementation IHTMLDOMImplementation_iface
IHTMLMimeTypesCollection IHTMLMimeTypesCollection_iface
IHTMLPluginsCollection IHTMLPluginsCollection_iface
IOmHistory IOmHistory_iface
IOmNavigator IOmNavigator_iface
HTMLPluginsCollection * plugins
HTMLMimeTypesCollection * mime_types
#define CONTAINING_RECORD(address, type, field)
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
DWORD WINAPI GetLastError(void)
_In_ DWORD _Out_ _In_ WORD wFlags
WINBASEAPI int WINAPI LCIDToLocaleName(_In_ LCID Locale, _Out_writes_opt_(cchName) LPWSTR lpName, _In_ int cchName, _In_ DWORD dwFlags)
#define LOCALE_NOUSEROVERRIDE