DWC_SetUserPingCallback

C Specification

#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 The callback function configuration was successful.
FALSE The configuration failed, because the FriendsMatch Library was not running.

See Also

DWC_Ping, DWCUserPingCallback

Revision History

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