PPP_ECHO_CALLBACK Function

C

typedef void (*PPP_ECHO_CALLBACK)(const struct _tag_PPPP_ECHO_REQUEST* pEchoReq, PPP_REQUEST_HANDLE pppHandle, PPP_ECHO_RESULT result, const void* param);

Description

This callback function will be called when the PPP echo operation is completed

Remarks

None

Parameters

  • pEchoReq - pointer to a PPP_ECHO_REQUEST data structure describing the request

    see the PPP_ECHO_REQUEST data structure description

  • pppHandle - the handle returned by PPP_EchoRequest

  • result - the echo request result,

    when result == PPP_ECHO_REQUEST_RES_OK, the pEchoReq->pData points to the received data

  • param - user defined parameter to be called in the callback