Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 8e412c6ae4e9dc4ce4e111b93c4a8d4a > files > 267

libupnp-devel-1.6.6-2mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML>
<HEAD>
   <TITLE>EXPORT_SPEC int UpnpUnSubscribe</TITLE>
   <META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
</HEAD>
<BODY BGCOLOR="#ffffff">

<H2>EXPORT_SPEC int <A HREF="#DOC.DOCU">UpnpUnSubscribe</A></H2><H2>( IN <!1><A HREF="UpnpClient_Handle.html">UpnpClient_Handle</A> Hnd,<BR>&nbsp;  IN Upnp_SID SubsId )</H2><BLOCKQUOTE><B>UpnpUnSubscribe</B> removes the subscription of  a control point from a  service previously subscribed to using <B>UpnpSubscribe</B> or  <B>UpnpSubscribeAsync</B>.</BLOCKQUOTE>

<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE><B>UpnpUnSubscribe</B> removes the subscription of  a control point from a 
service previously subscribed to using <B>UpnpSubscribe</B> or 
<B>UpnpSubscribeAsync</B>.  This is a synchronous call.

<P></BLOCKQUOTE>
<DL><DT><DT><B>Parameters:</B><DD><B>Hnd</B> -   The handle of the subscribed control 
point. 
<BR><B>SubsId</B> -   The ID returned when the control point 
subscribed to the service. <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_HANDLE</TT>: The handle is not a valid control 
point handle.
<LI> <TT>UPNP_E_INVALID_SID</TT>: The <B>SubsId</B> is not a valid 
subscription ID.
<LI> <TT>UPNP_E_NETWORK_ERROR</TT>: A network error occured. 
<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 to 
<B>PublisherUrl</B>.
<LI> <TT>UPNP_E_OUTOF_SOCKET</TT>: An error ocurred creating a socket.
<LI> <TT>UPNP_E_BAD_RESPONSE</TT>: An error occurred in response from 
the publisher.
<LI> <TT>UPNP_E_UNSUBSCRIBE_UNACCEPTED</TT>: The publisher refused 
the unsubscribe request (the client is still unsubscribed and 
no longer receives events).
<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>