<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE>struct Upnp_Event_Subscribe</TITLE> <META NAME="GENERATOR" CONTENT="DOC++ 3.4.10"> </HEAD> <BODY BGCOLOR="#ffffff"> <H2>struct <A HREF="#DOC.DOCU">Upnp_Event_Subscribe</A></H2></H2><BLOCKQUOTE>Returned along with a <B>UPNP_EVENT_SUBSCRIBE_COMPLETE</B> or <B>UPNP_EVENT_UNSUBSCRIBE_COMPLETE</B> callback.</BLOCKQUOTE> <HR> <P><DL> <DT> <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.1.4.2.12.2">ErrCode</A></B> <DD><I>The result of the operation.</I> <DT> <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>char <B><A HREF="#DOC.1.4.2.12.3">PublisherUrl</A></B>[NAME_SIZE] <DD><I>The event URL being subscribed to or removed from.</I> <DT> <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>Upnp_SID <B><A HREF="#DOC.1.4.2.12.1">Sid</A></B> <DD><I>The SID for this subscription.</I> <DT> <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.1.4.2.12.4">TimeOut</A></B> <DD><I>The actual subscription time (for subscriptions only).</I> </DL></P> <A NAME="DOC.DOCU"></A> <HR> <H2>Documentation</H2> <BLOCKQUOTE>Returned along with a <B>UPNP_EVENT_SUBSCRIBE_COMPLETE</B> or <B> UPNP_EVENT_UNSUBSCRIBE_COMPLETE</B> callback. </BLOCKQUOTE> <DL> <A NAME="Sid"></A> <A NAME="DOC.1.4.2.12.1"></A> <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>Upnp_SID Sid</B></TT> <DD>The SID for this subscription. For subscriptions, this only contains a valid SID if the <B>Upnp_EventSubscribe.result</B> field contains a <TT>UPNP_E_SUCCESS</TT> result code. For unsubscriptions, this contains the SID from which the subscription is being unsubscribed. <DL><DT><DD></DL><P> <A NAME="ErrCode"></A> <A NAME="DOC.1.4.2.12.2"></A> <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int ErrCode</B></TT> <DD>The result of the operation. <DL><DT><DD></DL><P> <A NAME="PublisherUrl"></A> <A NAME="DOC.1.4.2.12.3"></A> <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>char PublisherUrl[NAME_SIZE]</B></TT> <DD>The event URL being subscribed to or removed from. <DL><DT><DD></DL><P> <A NAME="TimeOut"></A> <A NAME="DOC.1.4.2.12.4"></A> <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int TimeOut</B></TT> <DD>The actual subscription time (for subscriptions only). <DL><DT><DD></DL><P></DL> <DL><DT><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>