ebac5fe596
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@45 119443c7-1b9e-41f8-b6fc-b9c35fce742c
49 lines
2.0 KiB
HTML
49 lines
2.0 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>EXPORT_SPEC int UpnpDownloadXmlDoc</TITLE>
|
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
|
|
<H2>EXPORT_SPEC int <A HREF="#DOC.DOCU">UpnpDownloadXmlDoc</A></H2><H2>( IN const char* url,<BR> OUT IXML_Document** xmlDoc )</H2><BLOCKQUOTE><B>UpnpDownloadXmlDoc</B> downloads an XML document specified in a URL.</BLOCKQUOTE>
|
|
|
|
<A NAME="DOC.DOCU"></A>
|
|
<HR>
|
|
<H2>Documentation</H2>
|
|
<BLOCKQUOTE><B>UpnpDownloadXmlDoc</B> downloads an XML document specified in a URL.
|
|
The SDK parses the document and returns it in the form of a
|
|
DOM document. The application is responsible for freeing the DOM document.
|
|
|
|
<P></BLOCKQUOTE>
|
|
<DL><DT><DT><B>Parameters:</B><DD><B>url</B> - URL of the XML document.
|
|
<BR><B>xmlDoc</B> - A pointer in which to store the
|
|
XML document. <BR><DT><B>Returns:</B><DD> [int] An integer representing one of the following:
|
|
<UL>
|
|
<LI> <TT>UPNP_E_SUCCESS</TT>: The operation completed successfully.
|
|
<LI> <TT>UPNP_E_INVALID_PARAM</TT>: Either <B>url</B> or <B>xmlDoc</B>
|
|
is not a valid pointer.
|
|
<LI> <TT>UPNP_E_INVALID_DESC</TT>: The XML document was not
|
|
found or it does not contain a valid XML description.
|
|
<LI> <TT>UPNP_E_INVALID_URL</TT>: The <B>url</B> is not a valid
|
|
URL.
|
|
<LI> <TT>UPNP_E_OUTOF_MEMORY</TT>: There are insufficient resources to
|
|
download the XML document.
|
|
<LI> <TT>UPNP_E_NETWORK_ERROR</TT>: A network error occurred.
|
|
<LI> <TT>UPNP_E_SOCKET_WRITE</TT>: An error or timeout occurred writing
|
|
to a socket.
|
|
<LI> <TT>UPNP_E_SOCKET_READ</TT>: An error or timeout occurred reading
|
|
from a socket.
|
|
<LI> <TT>UPNP_E_SOCKET_BIND</TT>: An error occurred binding a socket.
|
|
<LI> <TT>UPNP_E_SOCKET_CONNECT</TT>: An error occurred connecting the
|
|
socket.
|
|
<LI> <TT>UPNP_E_OUTOF_SOCKET</TT>: Too many sockets are currently
|
|
allocated.
|
|
</UL>
|
|
<BR><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I></P><HR>
|
|
<BR>
|
|
This page was generated with the help of <A HREF="http://docpp.sourceforge.net">DOC++</A>.
|
|
</BODY>
|
|
</HTML>
|