DWC_SetConnectionClosedCallback

Syntax

#include <dwc.h>

BOOL DWC_SetConnectionClosedCallback(DWCConnectionClosedCallback callback,
                                     void *param);

Arguments

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

Return Values

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

Description

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

Revision History


CONFIDENTIAL