libupnp/docs/dist/html/upnp/UpnpAddVirtualDir.html
2006-07-06 12:37:29 +00:00

33 lines
1.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>EXPORT_SPEC int UpnpAddVirtualDir</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>EXPORT_SPEC int <A HREF="#DOC.DOCU">UpnpAddVirtualDir</A></H2><H2>( IN const char* dirName )</H2><BLOCKQUOTE><B>UpnpAddVirtualDir</B> adds a virtual directory mapping.</BLOCKQUOTE>
<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE><B>UpnpAddVirtualDir</B> adds a virtual directory mapping.
<P>All webserver requests containing the given directory are read using
functions contained in a <B>UpnpVirtualDirCallbacks</B> structure registered
via <B>UpnpSetVirtualDirCallbacks</B>.
<P></BLOCKQUOTE>
<DL><DT><DT><B>Parameters:</B><DD><B>dirName</B> - The name of the new directory mapping to add.
<BR><DT><B>Returns:</B><DD> [int] An integer representing one of the following:
<UL>
<LI> <TT>UPPN_E_SUCCESS</TT>: The operation completed successfully.
<LI> <TT>UPNP_E_INVALID_ARGUMENT</TT>: <B>dirName</B> is not valid.
</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>