DWC_SetConnectionClosedCallback

C Specification

#include <dwc.h>

BOOL DWC_SetConnectionClosedCallback(
                  DWCConnectionClosedCallback callback,
                  void* param);

Description

Sets the callback function to call each time a connection disconnects.

Arguments

callback Pointer to the callback function to call each time a connection disconnects.
param Callback parameter

Return Values

TRUE The callback function configuration was successful.
FALSE The configuration failed, because the FriendsMatch Library was not running.

See Also

DWCConnectionClosedCallback

Revision History

01/18/2006 Added support for the change of the return value to a BOOL
11/02/2005 Initial version