 ebac5fe596
			
		
	
	ebac5fe596
	
	
	
		
			
			git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@45 119443c7-1b9e-41f8-b6fc-b9c35fce742c
		
			
				
	
	
		
			52 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			52 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!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>   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>
 |