Jump to main content

##

# PPP_EventHandlerDeregister Function

## C

    bool PPP_EventHandlerDeregister(DRV_HANDLE hMac, PPP_EVENT_HANDLE hPPP);

## Returns

- true - if the call succeeds

- false - if no such handler is registered

## Description

This function deregisters the PPP event handler.

## Remarks

This API exists only when the build symbol PPP_NOTIFICATIONS_ENABLE != 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_EventHandlerRegister.