CreateIUriBuilder function

Creates a new IUriBuilder instance, and initializes it from an optional IUri.

Syntax

STDAPI CreateIUriBuilder(
  _In_opt_   IUri        *pIUri,
  _In_       DWORD       dwFlags,
  _Reserved_ DWORD_PTR   dwReserved,
  _Out_      IUriBuilder **ppIUriBuilder
);

Parameters

  • pIUri [in, optional]
    Pointer to an existing IUri with which to initialize the object, or NULL to create an uninitialized object.

  • dwFlags [in]
    Currently unused. Set to 0.

  • dwReserved [in]
    Reserved. Must be set to 0.

  • ppIUriBuilder [out]
    Address of a pointer variable of type IUriBuilder that receives the new object.

Return value

Returns S_OK if successful, or an error value otherwise.

Requirements

Minimum supported client

Windows XP with SP2

Minimum supported server

Windows Server 2003 with SP1

Product

Internet Explorer 7

Header

Urlmon.h

Library

Urlmon.lib

DLL

Urlmon.dll

See also

Reference

CreateUri

IUriBuilderFactory