Export (0) Print
Expand All

IUriBuilderFactory interface

Exposes methods to instantiate and initialize an IUriBuilder object.

Members

The IUriBuilderFactory interface inherits from the IUnknown interface but does not have additional members.

Remarks

The following example demonstrates how to retrieve an IUriBuilderFactory interface from the base IUri pointer, and use it to instantiate an IUriBuilder object.



IUriBuilder pIUriBuilder = NULL;

IUriBuilderFactory *pubfTemp = NULL;
HRESULT hr = pIUri->QueryInterface(
                        IID_IUriBuilderFactory,
                        (void **)&pubfTemp);
if (SUCCEEDED(hr))
{
    hr = pubfTemp->CreateInitializedIUriBuilder(
                        0L, 0L,
                        &pIUriBuilder);
    pubfTemp->Release();
}

if (SUCCEEDED(hr))
{
    // use it
}

if (pIUriBuilder)
    pIUriBuilder->Release();	


Requirements

Minimum supported client

Windows XP with SP2

Minimum supported server

Windows Server 2003

Product

Internet Explorer 7

Header

Urlmon.h

IDL

Urlmon.idl

DLL

Urlmon.dll

 

 

Show:
© 2015 Microsoft