DWC_SetConnectionClosedCallback

Syntax

#include <dwc.h>
BOOL DWC_SetConnectionClosedCallback(DWCConnectionClosedCallback callback,
                                     void *param);

Arguments

callback Pointer to the callback function set to call every time a connection breaks.
param Callback parameter.

Return Values

TRUE 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 every time a connection breaks.

Revision History

For the changelog prior to 5.1 PR2, click here.


CONFIDENTIAL