#include <dwc.h>
BOOL DWC_SetUserPingCallback(DWCUserPingCallback callback,
void *param);callback |
Pointer to the ping callback function. |
param |
Parameter for the ping callback. |
TRUE |
Configuration of the callback function was successful. |
FALSE |
The configuration failed because the FriendsMatch library was not running. |
Configures the ping callback to measure the round-trip communication time (latency) with a connected host. The round-trip communication time with a connected host is measured by the DWC_Ping function, and the ping callback function is notified of the measurement result.
For the changelog prior to 5.1 PR2, click here.
CONFIDENTIAL