<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE>EXPORT_SPEC int UpnpSendAdvertisement</TITLE> <META NAME="GENERATOR" CONTENT="DOC++ 3.4.10"> </HEAD> <BODY BGCOLOR="#ffffff"> <H2>EXPORT_SPEC int <A HREF="#DOC.DOCU">UpnpSendAdvertisement</A></H2><H2>( IN <!1><A HREF="UpnpDevice_Handle.html">UpnpDevice_Handle</A> Hnd,<BR> IN int Exp )</H2><BLOCKQUOTE><B>UpnpSendAdvertisement</B> sends out the discovery announcements for all devices and services for a device.</BLOCKQUOTE> <A NAME="DOC.DOCU"></A> <HR> <H2>Documentation</H2> <BLOCKQUOTE><B>UpnpSendAdvertisement</B> sends out the discovery announcements for all devices and services for a device. Each announcement is made with the same expiration time. <P><B>UpnpSendAdvertisement</B> is a synchronous call. <P></BLOCKQUOTE> <DL><DT><DT><B>Parameters:</B><DD><B>Hnd</B> - The device handle for which to send out the announcements. <BR><B>Exp</B> - The expiration age, in seconds, of the announcements. <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 device handle. <LI> <TT>UPNP_E_OUTOF_MEMORY</TT>: There are insufficient resources to send future advertisements. </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>