IERegisterXMLNS Function
Registers the XML namespace.
Syntax
typedef HRESULT STDAPICALLTYPE IEREGISTERXMLNSFN ( LPCWSTR lpszURI, GUID clsid, BOOL fMachine );
Parameters
- lpszURI
- [in] A pointer to the XML namespace Schema Uniform Resource Identifier (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
Returns one of the following values.
S_OK The operation completed successfully. E_ACCESSDENIED Windows Internet Explorer does not have the permissions to create the setting.
Function Information
Stock Implementation mshtml.dll Custom Implementation No Header mshtmhst.h Import library mshtml.dll Minimum availability Internet Explorer 8 Minimum operating systems Windows XP SP2, Windows Vista
See Also
Creating an HTML Resource