ebac5fe596
git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@45 119443c7-1b9e-41f8-b6fc-b9c35fce742c
43 lines
1.8 KiB
HTML
43 lines
1.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>typedef int (*Upnp_FunPtr)</TITLE>
|
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
|
|
<H2>typedef int <A HREF="#DOC.DOCU">(*Upnp_FunPtr)</A></H2><H2>( IN Upnp_EventType EventType,<BR> IN void* Event, IN void* Cookie )</H2><BLOCKQUOTE>All callback functions share the same prototype, documented below.</BLOCKQUOTE>
|
|
|
|
<A NAME="DOC.DOCU"></A>
|
|
<HR>
|
|
<H2>Documentation</H2>
|
|
<BLOCKQUOTE>All callback functions share the same prototype, documented below.
|
|
Note that any memory passed to the callback function
|
|
is valid only during the callback and should be copied if it
|
|
needs to persist. This callback function needs to be thread
|
|
safe. The context of the callback is always on a valid thread
|
|
context and standard synchronization methods can be used. Note,
|
|
however, because of this the callback cannot call SDK functions
|
|
unless explicitly noted.
|
|
|
|
<P><PRE>
|
|
int CallbackFxn( Upnp_EventType EventType, void* Event, void* Cookie );
|
|
</PRE>
|
|
|
|
<P>where <B>EventType</B> is the event that triggered the callback,
|
|
<B>Event</B> is a structure that denotes event-specific information for that
|
|
event, and <B>Cookie</B> is the user data passed when the callback was
|
|
registered.
|
|
|
|
<P>See <B>Upnp_EventType</B> for more information on the callback values and
|
|
the associated <B>Event</B> parameter.
|
|
|
|
<P>The return value of the callback is currently ignored. It may be used
|
|
in the future to communicate results back to the SDK.</BLOCKQUOTE>
|
|
<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>
|