DWC_SetUserPingCallback

Syntax

#include <dwc.h>

BOOL DWC_SetUserPingCallback( DWCUserPingCallback callback );

Description

This function sets the ping callback to measure the roundtrip communication time (in milliseconds) with a connected host. This function starts measuring the roundtrip communication time with a connected host using the DWC_Ping function and notifies the ping callback function of the measurement result.

Arguments

callback Pointer to the ping callback function.

Return Values

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

See Also

DWC_Ping
DWCUserPingCallback

Revision History

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


CONFIDENTIAL