|
| DEFINE_EXPECT (CreateInstance) |
|
| DEFINE_EXPECT (ProcessUrlAction) |
|
| DEFINE_EXPECT (QueryCustomPolicy) |
|
| DEFINE_EXPECT (reportSuccess) |
|
| DEFINE_EXPECT (Host_QS_SecMgr) |
|
| DEFINE_EXPECT (Caller_QS_SecMgr) |
|
| DEFINE_EXPECT (QI_IObjectWithSite) |
|
| DEFINE_EXPECT (SetSite) |
|
static BSTR | a2bstr (const char *str) |
|
static int | strcmp_wa (LPCWSTR strw, const char *stra) |
|
static HRESULT WINAPI | ObjectWithSite_QueryInterface (IObjectWithSite *iface, REFIID riid, void **ppv) |
|
static ULONG WINAPI | ObjectWithSite_AddRef (IObjectWithSite *iface) |
|
static ULONG WINAPI | ObjectWithSite_Release (IObjectWithSite *iface) |
|
static HRESULT WINAPI | ObjectWithSite_SetSite (IObjectWithSite *iface, IUnknown *pUnkSite) |
|
static HRESULT WINAPI | ObjectWithSite_GetSite (IObjectWithSite *iface, REFIID riid, void **ppvSite) |
|
static HRESULT WINAPI | DispatchEx_QueryInterface (IDispatchEx *iface, REFIID riid, void **ppv) |
|
static ULONG WINAPI | DispatchEx_AddRef (IDispatchEx *iface) |
|
static ULONG WINAPI | DispatchEx_Release (IDispatchEx *iface) |
|
static HRESULT WINAPI | DispatchEx_GetTypeInfoCount (IDispatchEx *iface, UINT *pctinfo) |
|
static HRESULT WINAPI | DispatchEx_GetTypeInfo (IDispatchEx *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo) |
|
static HRESULT WINAPI | DispatchEx_GetIDsOfNames (IDispatchEx *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId) |
|
static HRESULT WINAPI | DispatchEx_Invoke (IDispatchEx *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr) |
|
static HRESULT WINAPI | DispatchEx_DeleteMemberByName (IDispatchEx *iface, BSTR bstrName, DWORD grfdex) |
|
static HRESULT WINAPI | DispatchEx_DeleteMemberByDispID (IDispatchEx *iface, DISPID id) |
|
static HRESULT WINAPI | DispatchEx_GetMemberProperties (IDispatchEx *iface, DISPID id, DWORD grfdexFetch, DWORD *pgrfdex) |
|
static HRESULT WINAPI | DispatchEx_GetMemberName (IDispatchEx *iface, DISPID id, BSTR *pbstrName) |
|
static HRESULT WINAPI | DispatchEx_GetNextDispID (IDispatchEx *iface, DWORD grfdex, DISPID id, DISPID *pid) |
|
static HRESULT WINAPI | DispatchEx_GetNameSpaceParent (IDispatchEx *iface, IUnknown **ppunk) |
|
static HRESULT WINAPI | Test_GetDispID (IDispatchEx *iface, BSTR bstrName, DWORD grfdex, DISPID *pid) |
|
static HRESULT WINAPI | Test_InvokeEx (IDispatchEx *iface, DISPID id, LCID lcid, WORD wFlags, DISPPARAMS *pdp, VARIANT *pvarRes, EXCEPINFO *pei, IServiceProvider *pspCaller) |
|
static HRESULT WINAPI | Global_GetDispID (IDispatchEx *iface, BSTR bstrName, DWORD grfdex, DISPID *pid) |
|
static HRESULT WINAPI | Global_InvokeEx (IDispatchEx *iface, DISPID id, LCID lcid, WORD wFlags, DISPPARAMS *pdp, VARIANT *pvarRes, EXCEPINFO *pei, IServiceProvider *pspCaller) |
|
static HRESULT WINAPI | ClassFactory_QueryInterface (IClassFactory *iface, REFIID riid, void **ppv) |
|
static ULONG WINAPI | ClassFactory_AddRef (IClassFactory *iface) |
|
static ULONG WINAPI | ClassFactory_Release (IClassFactory *iface) |
|
static HRESULT WINAPI | ClassFactory_CreateInstance (IClassFactory *iface, IUnknown *outer, REFIID riid, void **ppv) |
|
static HRESULT WINAPI | ClassFactory_LockServer (IClassFactory *iface, BOOL dolock) |
|
static HRESULT WINAPI | InternetHostSecurityManager_QueryInterface (IInternetHostSecurityManager *iface, REFIID riid, void **ppv) |
|
static ULONG WINAPI | InternetHostSecurityManager_AddRef (IInternetHostSecurityManager *iface) |
|
static ULONG WINAPI | InternetHostSecurityManager_Release (IInternetHostSecurityManager *iface) |
|
static HRESULT WINAPI | InternetHostSecurityManager_GetSecurityId (IInternetHostSecurityManager *iface, BYTE *pbSecurityId, DWORD *pcbSecurityId, DWORD_PTR dwReserved) |
|
static HRESULT WINAPI | InternetHostSecurityManager_ProcessUrlAction (IInternetHostSecurityManager *iface, DWORD dwAction, BYTE *pPolicy, DWORD cbPolicy, BYTE *pContext, DWORD cbContext, DWORD dwFlags, DWORD dwReserved) |
|
static HRESULT WINAPI | InternetHostSecurityManager_QueryCustomPolicy (IInternetHostSecurityManager *iface, REFGUID guidKey, BYTE **ppPolicy, DWORD *pcbPolicy, BYTE *pContext, DWORD cbContext, DWORD dwReserved) |
|
static HRESULT WINAPI | ServiceProvider_QueryInterface (IServiceProvider *iface, REFIID riid, void **ppv) |
|
static ULONG WINAPI | ServiceProvider_AddRef (IServiceProvider *iface) |
|
static ULONG WINAPI | ServiceProvider_Release (IServiceProvider *iface) |
|
static HRESULT WINAPI | ServiceProvider_QueryService (IServiceProvider *iface, REFGUID guidService, REFIID riid, void **ppv) |
|
static HRESULT WINAPI | ActiveScriptSite_QueryInterface (IActiveScriptSite *iface, REFIID riid, void **ppv) |
|
static ULONG WINAPI | ActiveScriptSite_AddRef (IActiveScriptSite *iface) |
|
static ULONG WINAPI | ActiveScriptSite_Release (IActiveScriptSite *iface) |
|
static HRESULT WINAPI | ActiveScriptSite_GetLCID (IActiveScriptSite *iface, LCID *plcid) |
|
static HRESULT WINAPI | ActiveScriptSite_GetItemInfo (IActiveScriptSite *iface, LPCOLESTR pstrName, DWORD dwReturnMask, IUnknown **ppiunkItem, ITypeInfo **ppti) |
|
static HRESULT WINAPI | ActiveScriptSite_GetDocVersionString (IActiveScriptSite *iface, BSTR *pbstrVersion) |
|
static HRESULT WINAPI | ActiveScriptSite_OnScriptTerminate (IActiveScriptSite *iface, const VARIANT *pvarResult, const EXCEPINFO *pexcepinfo) |
|
static HRESULT WINAPI | ActiveScriptSite_OnStateChange (IActiveScriptSite *iface, SCRIPTSTATE ssScriptState) |
|
static HRESULT WINAPI | ActiveScriptSite_OnScriptError (IActiveScriptSite *iface, IActiveScriptError *pscripterror) |
|
static HRESULT WINAPI | ActiveScriptSite_OnEnterScript (IActiveScriptSite *iface) |
|
static HRESULT WINAPI | ActiveScriptSite_OnLeaveScript (IActiveScriptSite *iface) |
|
static void | set_safety_options (IUnknown *unk, BOOL use_sec_mgr) |
|
static void | _parse_script_a (unsigned line, IActiveScriptParse *parser, const char *script) |
|
static IActiveScriptParse * | create_script (BOOL skip_tests, BOOL use_sec_mgr) |
|
static IDispatchEx * | parse_procedure_a (IActiveScriptParse *parser, const char *src) |
|
static void | _call_procedure (unsigned line, IDispatchEx *proc, IServiceProvider *caller) |
|
static void | test_ActiveXObject (void) |
|
static BOOL | init_key (const char *key_name, const char *def_value, BOOL init) |
|
static BOOL | init_registry (BOOL init) |
|
static BOOL | register_activex (void) |
|
static BOOL | check_jscript (void) |
|
| START_TEST (activex) |
|