IERegisterXMLNS function

Registers the XML namespace.

Syntax

HRESULT STDAPICALLTYPE IERegisterXMLNS(
  _In_ LPCWSTR lpszURI,
  _In_ GUID    clsid,
  _In_ BOOL    fMachine
);

Parameters

  • lpszURI [in]
    A pointer to the XML namespace Schema URI.

  • clsid [in]
    The GUID of the behavior to be instantiated for handling the XML namespace.

  • fMachine [in]
    A BOOL used to indicate the registration of the XML namespace behavior. TRUE for all users, FALSE for the logged-in user only.

Return value

This function can return one of these values.

Return code Description
E_ACCESSDENIED

Internet Explorer does not have the permissions to create the setting.

 

Requirements

Minimum supported client

Windows XP with SP2, Windows Vista

Minimum supported server

Windows Server 2008

Header

Mshtmhst.h

DLL

Mshtml.dll; Mshtml.dll

See also

Creating an HTML Resource