276{
282 IHTMLDocument2 *doc;
283 IHTMLDocument6 *doc6;
285
289 return;
290
295 IBindCtx_Release(
bc);
296 return;
297 }
298
300 CLSCTX_INPROC_SERVER | CLSCTX_INPROC_HANDLER, &IID_IHTMLDocument2,
301 (void**)&doc);
304 IMoniker_Release(url_mon);
305 IBindCtx_Release(
bc);
306 return;
307 }
308
309 hres = IHTMLDocument2_QueryInterface(doc, &IID_IHTMLDocument6, (
void**)&doc6);
311 IHTMLDocument6_Release(doc6);
312 }else{
313 win_skip(
"%s: Could not get IHTMLDocument6, probably too old IE. Requires IE 8+\n",
test->
name);
314 IMoniker_Release(url_mon);
315 IBindCtx_Release(
bc);
316 return;
317 }
318
319 hres = IHTMLDocument2_QueryInterface(doc, &IID_IPersistMoniker,
320 (void**)&persist_mon);
323 IHTMLDocument2_Release(doc);
324 IMoniker_Release(url_mon);
325 IBindCtx_Release(
bc);
326 return;
327 }
328
329 hres = IPersistMoniker_Load(persist_mon,
FALSE, url_mon,
bc,
333 IPersistMoniker_Release(persist_mon);
334 IHTMLDocument2_Release(doc);
335 IMoniker_Release(url_mon);
336 IBindCtx_Release(
bc);
337 return;
338 }
339
343 IPersistMoniker_Release(persist_mon);
344 IHTMLDocument2_Release(doc);
345 IMoniker_Release(url_mon);
346 IBindCtx_Release(
bc);
347 return;
348 }
349
358
360 IPersistMoniker_Release(persist_mon);
361 IHTMLDocument2_Release(doc);
362 IMoniker_Release(url_mon);
363 IBindCtx_Release(
bc);
364}
#define MultiByteToWideChar
HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID iid, LPVOID *ppv)
#define INTERNET_MAX_URL_LENGTH
#define location(file, line)
static enum @1672 test_protocol
static void test_hostname(IHTMLLocation *loc, IHTMLDocument2 *doc, const struct location_test *test)
static void test_pathname(IHTMLLocation *loc, const struct location_test *test)
static void test_host(IHTMLLocation *loc, const struct location_test *test)
static void test_port(IHTMLLocation *loc, const struct location_test *test)
static void test_hash(IHTMLLocation *loc, const struct location_test *test)
static void test_search(IHTMLLocation *loc, const struct location_test *test)
static void test_href(IHTMLLocation *loc, const struct location_test *test)
#define STGM_SHARE_EXCLUSIVE
HRESULT WINAPI CreateBindCtx(DWORD reserved, LPBC *ppbc)
HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk)