Jump to main content

##

# PPP_StatHandlerDeregister Function

## C

    bool PPP_StatHandlerDeregister(DRV_HANDLE hMac, PPP_STAT_HANDLE hPPP);

## Returns

- true - if the call succeeds

- false - if no such handler is registered

## Description

This function deregisters the PPP statistics handler.

## Remarks

This API exists only when the build symbol PPP_ENABLE_STATISTICS != 0

## Preconditions

The PPP module must be initialized.

## Parameters

hMac - driver handle (obtained by calling TCPIP_MAC_Open/DRV_PPP_MAC_Open)

hPPP - A handle returned by a previous call to PPP_StatHandlerRegister.