
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@45 119443c7-1b9e-41f8-b6fc-b9c35fce742c
38 lines
1.6 KiB
HTML
38 lines
1.6 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>EXPORT_SPEC int UpnpResolveURL</TITLE>
|
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
|
|
<H2>EXPORT_SPEC int <A HREF="#DOC.DOCU">UpnpResolveURL</A></H2><H2>( IN const char* BaseURL,<BR> IN const char* RelURL,<BR> OUT char* AbsURL )</H2><BLOCKQUOTE><B>UpnpResolveURL</B> combines a base URL and a relative URL into a single absolute URL.</BLOCKQUOTE>
|
|
|
|
<A NAME="DOC.DOCU"></A>
|
|
<HR>
|
|
<H2>Documentation</H2>
|
|
<BLOCKQUOTE><B>UpnpResolveURL</B> combines a base URL and a relative URL into
|
|
a single absolute URL. The memory for <B>AbsURL</B> needs to be
|
|
allocated by the caller and must be large enough to hold the
|
|
<B>BaseURL</B> and <B>RelURL</B> combined.
|
|
|
|
<P></BLOCKQUOTE>
|
|
<DL><DT><DT><B>Parameters:</B><DD><B>BaseURL</B> - The base URL to combine.
|
|
<BR><B>RelURL</B> - The relative URL to <B>BaseURL</B>.
|
|
<BR><B>AbsURL</B> - A pointer to a buffer to store the
|
|
absolute URL. <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>: <B>RelURL</B> is <TT>NULL</TT>.
|
|
<LI> <TT>UPNP_E_INVALID_URL</TT>: The <B>BaseURL</B> / <B>RelURL</B>
|
|
combination does not form a valid URL.
|
|
<LI> <TT>UPNP_E_OUTOF_MEMORY</TT>: Insufficient resources exist to
|
|
complete this operation.
|
|
</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>
|