Sophie

Sophie

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

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 UpnpRegisterClient</TITLE>
   <META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
</HEAD>
<BODY BGCOLOR="#ffffff">

<H2>EXPORT_SPEC int <A HREF="#DOC.DOCU">UpnpRegisterClient</A></H2><H2>( IN Upnp_FunPtr Callback,<BR>&nbsp;  IN const void* Cookie,<BR>&nbsp;  OUT <!1><A HREF="UpnpClient_Handle.html">UpnpClient_Handle</A>* Hnd )</H2><BLOCKQUOTE><B>UpnpRegisterClient</B> registers a control point application with the SDK.</BLOCKQUOTE>

<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE><B>UpnpRegisterClient</B> registers a control point application with the
SDK.  A control point application cannot make any other API calls
until it registers using this function.

<P><B>UpnpRegisterClient</B> is a synchronous call and generates no callbacks.
Callbacks can occur as soon as this function returns.

<P></BLOCKQUOTE>
<DL><DT><DT><B>Parameters:</B><DD><B>Callback</B> -   Pointer to a function for receiving 
asynchronous events. 
<BR><B>Cookie</B> -   Pointer to user data returned with the 
callback function when invoked. 
<BR><B>Hnd</B> -   Pointer to a variable to store the 
new control point handle. <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_FINISH</TT>: The SDK is already terminated or 
is not initialized. 
<LI> <TT>UPNP_E_INVALID_PARAM</TT>: Either <B>Callback</B> or <B>Hnd</B> 
is not a valid pointer.
<LI> <TT>UPNP_E_OUTOF_MEMORY</TT>: Insufficient resources exist to 
register this control point.
</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>