IEIsXMLNSRegistered function
Determines if the specified XML namespace is registered.
Syntax
HRESULT STDAPICALLTYPE IEIsXMLNSRegistered( _In_ LPCWSTR lpszURI, _Out_ GUID *pCLSID );
Parameters
- lpszURI [in]
-
A pointer to the XML namespace schema URI.
- pCLSID [out]
-
A pointer to the registered CLSID for the XML namespace, if successful.
Return value
This function can return one of these values.
| Return code | Description |
|---|---|
|
There is no registered CLSID for the URI. |
|
The pCLSID is NULL. |
|
The operation failed. |
Remarks
The IEIsXMLNSRegistered function can be used to determine whether a handler has been registered for specialized XML formats, such as Scalable Vector Graphics (SVG), or MathML.
On Windows Server 2003 (x64) Datacenter Edition, this method returns CO_E_CLASSSTRING. You cannot check if an XML namespace is registered on that platform.
Requirements
|
Minimum supported client |
Windows XP with SP2, Windows Vista |
|---|---|
|
Minimum supported server |
Windows Server 2008 |
|
Header |
|
|
DLL |
|
See also
- Creating an HTML Resource